Logo Search packages:      
Sourcecode: jenkins-trilead-ssh2 version File versions  Download package

synchronized void com::trilead::ssh2::Connection::close (  ) [inline]

Close the connection to the SSH-2 server. All assigned sessions will be closed, too. Can be called at any time. Don't forget to call this once you don't need a connection anymore - otherwise the receiver thread may run forever.

Definition at line 517 of file Connection.java.

Referenced by connect().

      {
            Throwable t = new Throwable("Closed due to user request.");
            close(t, false);
      }

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index