mirror of
https://github.com/hierynomus/sshj.git
synced 2025-12-07 07:40:55 +03:00
javadoc
This commit is contained in:
@@ -636,7 +636,7 @@ public class SSHClient
|
||||
rekey();
|
||||
}
|
||||
|
||||
/** On connection establishment, also initialize the SSH transport via {@link Transport#init} and {@link #doKex()}. */
|
||||
/** On connection establishment, also initializes the SSH transport via {@link Transport#init} and {@link #doKex()}. */
|
||||
@Override
|
||||
protected void onConnect()
|
||||
throws IOException {
|
||||
|
||||
@@ -94,8 +94,10 @@ public interface Transport
|
||||
*/
|
||||
void setTimeout(int timeout);
|
||||
|
||||
/** @return the interval in seconds at which a heartbeat message is sent to the server */
|
||||
int getHeartbeatInterval();
|
||||
|
||||
/** @param interval the interval in seconds, {@code 0} means no hearbeat */
|
||||
void setHeartbeatInterval(int interval);
|
||||
|
||||
/** @return the hostname to which this transport is connected. */
|
||||
|
||||
Reference in New Issue
Block a user