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)

1  
please include function sshLogin.
2  
3  
static void sshDisconnect(SSHClient client) ctex {
4  
  if (client == null) ret;
5  
  {
6  
    lock sshLogin_lock;
7  
    if (client == sshLogin_client) ret;
8  
  }
9  
  client.disconnect();
10  
}

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: 384 / 417
Version history: 3 change(s)
Referenced in: [show references]