public interface ClientListenerConnectionContext
| Modifier and Type | Method and Description |
|---|---|
AuthorizationContext |
authorizationContext()
Return connection authorization context.
|
long |
connectionId() |
ClientListenerProtocolVersion |
currentVersion() |
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
|
long connectionId()
boolean isVersionSupported(ClientListenerProtocolVersion ver)
ver - Version to check.true if version is supported.ClientListenerProtocolVersion currentVersion()
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 AuthorizationContext authorizationContext()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.5 Release Date : June 4 2019