| Package | Description |
|---|---|
| org.apache.sshd.common.session | |
| org.apache.sshd.common.session.helpers |
| Modifier and Type | Method and Description |
|---|---|
TimeoutIndicator |
Session.getTimeoutStatus()
Check if timeout has occurred.
|
| Modifier and Type | Method and Description |
|---|---|
default boolean |
SessionDisconnectHandler.handleTimeoutDisconnectReason(Session session,
TimeoutIndicator timeoutStatus)
Invoked when an internal timeout has expired (e.g., authentication, idle).
|
| Modifier and Type | Field and Description |
|---|---|
static TimeoutIndicator |
TimeoutIndicator.NONE |
| Modifier and Type | Method and Description |
|---|---|
protected TimeoutIndicator |
SessionHelper.checkAuthenticationTimeout(Instant now,
Duration authTimeout)
Checks if authentication timeout expired
|
protected TimeoutIndicator |
SessionHelper.checkForTimeouts()
Checks whether the session has timed out (both authentication and idle timeouts are checked).
|
protected TimeoutIndicator |
SessionHelper.checkIdleTimeout(Instant now,
Duration idleTimeout)
Checks if idle timeout expired
|
TimeoutIndicator |
SessionHelper.getTimeoutStatus() |
Copyright © 2008–2024 The Apache Software Foundation. All rights reserved.