Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

21
LINES

< > BotCompany Repo | #1007486 // findBot bug fixing [DONE]

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (6846L/46K/151K).

1  
!7
2  
3  
p {
4  
  /*DialogIO io = findBot("#1007236 Concepts");
5  
  printIO(io);
6  
  rpc(io, "xshutdown");*/
7  
  RemoteDB db = new RemoteDB(#1007236);
8  
  printIO(db.db);
9  
  db.xshutdown();
10  
}
11  
12  
svoid printIO(DialogIO io) {
13  
  if (io == null) print("no db");
14  
  if (io instanceof talkToSubBot_IO) {
15  
    S subBot = getString(io, "subBot");
16  
    print("Sub bot: " + subBot);
17  
    printIO((DialogIO) get(io, "io"));
18  
  } else if (io instanceof talkTo_IO) {
19  
    print("IP/Port: " + getString(io, "ip") + "/" + get(io, "port");
20  
  }
21  
}

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: #1007486
Snippet name: findBot bug fixing [DONE]
Eternal ID of this version: #1007486/5
Text MD5: 8abf949fedbe20d1b4c4835797128e13
Transpilation MD5: 6b03dbaef8b33d1ad762fd4164e1e5ad
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-03-24 14:55:27
Source code size: 524 bytes / 21 lines
Pitched / IR pitched: No / No
Views / Downloads: 424 / 479
Version history: 4 change(s)
Referenced in: [show references]