Package org.apache.sshd.client.simple
Interface SimpleClientConfigurator
-
- All Known Subinterfaces:
SimpleClient
,SimpleSessionClient
- All Known Implementing Classes:
AbstractSimpleClient
,AbstractSimpleClientSessionCreator
public interface SimpleClientConfigurator
- Author:
- Apache MINA SSHD Project
-
-
Field Summary
Fields Modifier and Type Field Description static long
DEFAULT_AUTHENTICATION_TIMEOUT
Default authentication timeout (msec.) unlesssetAuthenticationTimeout(long)
is usedstatic long
DEFAULT_CONNECT_TIMEOUT
Default connect timeout (msec.) unlesssetConnectTimeout(long)
is usedstatic int
DEFAULT_PORT
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getAuthenticationTimeout()
long
getConnectTimeout()
void
setAuthenticationTimeout(long timeout)
void
setConnectTimeout(long timeout)
-
-
-
Field Detail
-
DEFAULT_CONNECT_TIMEOUT
static final long DEFAULT_CONNECT_TIMEOUT
Default connect timeout (msec.) unlesssetConnectTimeout(long)
is used- See Also:
- Constant Field Values
-
DEFAULT_AUTHENTICATION_TIMEOUT
static final long DEFAULT_AUTHENTICATION_TIMEOUT
Default authentication timeout (msec.) unlesssetAuthenticationTimeout(long)
is used- See Also:
- Constant Field Values
-
DEFAULT_PORT
static final int DEFAULT_PORT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getConnectTimeout
long getConnectTimeout()
- Returns:
- Current connect timeout (msec.) - always positive
-
setConnectTimeout
void setConnectTimeout(long timeout)
- Parameters:
timeout
- Requested connect timeout (msec.) - always positive
-
getAuthenticationTimeout
long getAuthenticationTimeout()
- Returns:
- Current authentication timeout (msec.) - always positive
-
setAuthenticationTimeout
void setAuthenticationTimeout(long timeout)
- Parameters:
timeout
- Requested authentication timeout (msec.) - always positive
-
-