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

10
LINES

< > BotCompany Repo | #1012308 // sshDisconnect - call this instead of SSHClient.disconnect()

JavaX fragment (include)

please include function sshLogin.

static void sshDisconnect(SSHClient client) ctex {
  if (client == null) ret;
  {
    lock sshLogin_lock;
    if (client == sshLogin_client) ret;
  }
  client.disconnect();
}

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: #1012308
Snippet name: sshDisconnect - call this instead of SSHClient.disconnect()
Eternal ID of this version: #1012308/4
Text MD5: 66955d0f4706ee1bfb2d1034d54399e5
Author: stefan
Category: javax / networking
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-11-27 22:33:51
Source code size: 218 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 380 / 414
Version history: 3 change(s)
Referenced in: [show references]