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).

!7

p {
  /*DialogIO io = findBot("#1007236 Concepts");
  printIO(io);
  rpc(io, "xshutdown");*/
  RemoteDB db = new RemoteDB(#1007236);
  printIO(db.db);
  db.xshutdown();
}

svoid printIO(DialogIO io) {
  if (io == null) print("no db");
  if (io instanceof talkToSubBot_IO) {
    S subBot = getString(io, "subBot");
    print("Sub bot: " + subBot);
    printIO((DialogIO) get(io, "io"));
  } else if (io instanceof talkTo_IO) {
    print("IP/Port: " + getString(io, "ip") + "/" + get(io, "port");
  }
}

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: 534 / 615
Version history: 4 change(s)
Referenced in: [show references]