mirror of
https://github.com/hierynomus/sshj.git
synced 2025-12-07 15:50:57 +03:00
javadoc
This commit is contained in:
@@ -636,7 +636,7 @@ public class SSHClient
|
|||||||
rekey();
|
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
|
@Override
|
||||||
protected void onConnect()
|
protected void onConnect()
|
||||||
throws IOException {
|
throws IOException {
|
||||||
|
|||||||
@@ -94,8 +94,10 @@ public interface Transport
|
|||||||
*/
|
*/
|
||||||
void setTimeout(int timeout);
|
void setTimeout(int timeout);
|
||||||
|
|
||||||
|
/** @return the interval in seconds at which a heartbeat message is sent to the server */
|
||||||
int getHeartbeatInterval();
|
int getHeartbeatInterval();
|
||||||
|
|
||||||
|
/** @param interval the interval in seconds, {@code 0} means no hearbeat */
|
||||||
void setHeartbeatInterval(int interval);
|
void setHeartbeatInterval(int interval);
|
||||||
|
|
||||||
/** @return the hostname to which this transport is connected. */
|
/** @return the hostname to which this transport is connected. */
|
||||||
|
|||||||
Reference in New Issue
Block a user