static DialogIO talkToLocalAddress(S addr) { L<S> l = splitAtSlash(addr); DialogIO io = talkTo(parseInt(first(l))); if (l(l) == 1) ret io; if (l(l) == 2) ret talkToSubBot(second(l), io); fail("huh? " + addr); }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1007061 |
Snippet name: | talkToLocalAddress - e.g. "5001/Some bot's name" (vm port + sub bot name) |
Eternal ID of this version: | #1007061/3 |
Text MD5: | 724c58300355a862e59acd17a5f086f9 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-07-13 16:49:02 |
Source code size: | 226 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 476 / 492 |
Version history: | 2 change(s) |
Referenced in: | [show references] |