public interface ClientListenerConnectionContext
| Modifier and Type | Method and Description |
|---|---|
byte |
clientType() |
long |
connectionId() |
ClientListenerProtocolVersion |
defaultVersion() |
ClientListenerRequestHandler |
handler()
Handler getter.
|
void |
initializeFromHandshake(GridNioSession ses,
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() |
byte clientType()
long connectionId()
boolean isVersionSupported(ClientListenerProtocolVersion ver)
ver - Version to check.true if version is supported.ClientListenerProtocolVersion defaultVersion()
void initializeFromHandshake(GridNioSession ses, ClientListenerProtocolVersion ver, BinaryReaderExImpl reader) throws IgniteCheckedException
ses - NIO session.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 SecurityContext securityContext()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.1 Release Date : December 20 2021