1 | static DialogIO talkToLocalAddress(S addr) { |
2 | L<S> l = splitAtSlash(addr); |
3 | DialogIO io = talkTo(parseInt(first(l))); |
4 | if (l(l) == 1) ret io; |
5 | if (l(l) == 2) ret talkToSubBot(second(l), io); |
6 | fail("huh? " + addr); |
7 | } |
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: | 481 / 499 |
Version history: | 2 change(s) |
Referenced in: | [show references] |