Modifier and Type | Method and Description |
---|---|
Session |
Channel.getSession()
Retrieves the session to which this channel belongs.
|
Session |
JSch.getSession(String host)
Instantiates the
Session object with
host . |
Session |
JSch.getSession(String username,
String host)
Instantiates the
Session object with
username and host . |
Session |
JSch.getSession(String username,
String host,
int port)
Instantiates the
Session object with given
username , host and port . |
Modifier and Type | Method and Description |
---|---|
protected void |
JSch.addSession(Session session)
Adds a session to our session pool.
|
protected boolean |
JSch.removeSession(Session session)
Removes a session from our session pool.
|
This is a simplified version of the inofficial Javadoc created by PaĆlo Ebermann. Have a look at the official homepage.