public interface ClientListenerConnectionContext
| Modifier and Type | Method and Description |
|---|---|
@Nullable AuthorizationContext |
authorizationContext()
Return connection authorization context.
|
long |
connectionId() |
ClientListenerProtocolVersion |
defaultVersion() |
ClientListenerRequestHandler |
handler()
Handler getter.
|
void |
initializeFromHandshake(ClientListenerProtocolVersion ver,
BinaryReaderExImpl reader)
Initialize from handshake message.
|
boolean |
isVersionSupported(ClientListenerProtocolVersion ver) |
void |
onDisconnected()
Called whenever client is disconnected due to correct connection close
or due to
IOException during network operations. |
ClientListenerMessageParser |
parser()
Parser getter
|
@Nullable SecurityContext |
securityContext() |
long connectionId()
boolean isVersionSupported(ClientListenerProtocolVersion ver)
ver - Version to check.true if version is supported.ClientListenerProtocolVersion defaultVersion()
void initializeFromHandshake(ClientListenerProtocolVersion ver, BinaryReaderExImpl reader) throws IgniteCheckedException
ver - Protocol version.reader - Reader set to the configuration part of the handshake message.IgniteCheckedException - On error.ClientListenerRequestHandler handler()
ClientListenerMessageParser parser()
void onDisconnected()
IOException during network operations.@Nullable @Nullable AuthorizationContext authorizationContext()
@Nullable @Nullable SecurityContext securityContext()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.8.1 Release Date : May 21 2020