| Modifier and Type | Field and Description |
|---|---|
| private long | |
| private long |
| Access | Constructor and Description |
|---|---|
| protected | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected ClientSession | |
| protected ClientSession | |
| protected ClientSession | |
| public long | |
| public long | |
| protected ClientSession | |
| protected ClientSession | |
| public ClientSession | sessionLogin(SocketAddress
The target target, String SocketAddressUsername username, String Password password)Implements org. Creates a session and logs in using the provided credentials |
| public ClientSession | sessionLogin(SocketAddress
The target target, String SocketAddressUsername username, KeyPair The identity)KeyPair identityImplements org. Creates a session and logs in using the provided credentials |
| public ClientSession | sessionLogin(String
The target uri uri, String Password password)Implements org. Creates a session and logs in using the provided credentials |
| public ClientSession | sessionLogin(String
The target uri uri, KeyPair The identity)KeyPair identityImplements org. Creates a session and logs in using the provided credentials |
| public void | setAuthenticationTimeout(long
Requested authentication timeout (msec.) - always positive timeout)Implements org.
|
| public void | setConnectTimeout(long
Requested connect timeout (msec.) - always positive timeout)Implements org.
|
| public static SimpleClient | Returns: TheSimpleClient wrapperNote closing the wrapper also closes the underlying sessions creator. The creator, Channel channel)ClientSessionCreator - never nullWraps an existing |
| authenticateTimeout | back to summary |
|---|---|
| private long authenticateTimeout | |
| connectTimeout | back to summary |
|---|---|
| private long connectTimeout | |
| AbstractSimpleClientSessionCreator | back to summary |
|---|---|
| protected AbstractSimpleClientSessionCreator() | |
| AbstractSimpleClientSessionCreator | back to summary |
|---|---|
| protected AbstractSimpleClientSessionCreator(long connTimeout, long authTimeout) | |
| authSession | back to summary |
|---|---|
| protected ClientSession authSession(ConnectFuture future, String password) throws IOException | |
| authSession | back to summary |
|---|---|
| protected ClientSession authSession(ConnectFuture future, KeyPair identity) throws IOException | |
| authSession | back to summary |
|---|---|
| protected ClientSession authSession(ClientSession clientSession) throws IOException | |
| getAuthenticationTimeout | back to summary |
|---|---|
| public long getAuthenticationTimeout() Implements org.
| |
| getConnectTimeout | back to summary |
|---|---|
| public long getConnectTimeout() Implements org.
| |
| loginSession | back to summary |
|---|---|
| protected ClientSession loginSession(ConnectFuture future, String password) throws IOException | |
| loginSession | back to summary |
|---|---|
| protected ClientSession loginSession(ConnectFuture future, KeyPair identity) throws IOException | |
| sessionLogin | back to summary |
|---|---|
| public ClientSession sessionLogin(SocketAddress target, String username, String password) throws IOException Implements org. Doc from org. Creates a session and logs in using the provided credentials
| |
| sessionLogin | back to summary |
|---|---|
| public ClientSession sessionLogin(SocketAddress target, String username, KeyPair identity) throws IOException Implements org. Doc from org. Creates a session and logs in using the provided credentials
| |
| sessionLogin | back to summary |
|---|---|
| public ClientSession sessionLogin(String uri, String password) throws IOException Implements org. Doc from org. Creates a session and logs in using the provided credentials
| |
| sessionLogin | back to summary |
|---|---|
| public ClientSession sessionLogin(String uri, KeyPair identity) throws IOException Implements org. Doc from org. Creates a session and logs in using the provided credentials
| |
| setAuthenticationTimeout | back to summary |
|---|---|
| public void setAuthenticationTimeout(long timeout) Implements org.
| |
| setConnectTimeout | back to summary |
|---|---|
| public void setConnectTimeout(long timeout) Implements org.
| |
| wrap | back to summary |
|---|---|
| public static SimpleClient wrap(ClientSessionCreator creator, Channel channel) Wraps an existing
| |