public class TcpHandshakeExecutor extends Object
| Constructor and Description |
|---|
TcpHandshakeExecutor(IgniteLogger log,
ClusterStateProvider stateProvider,
boolean directBuffer) |
| Modifier and Type | Method and Description |
|---|---|
long |
tcpHandshake(SocketChannel ch,
UUID rmtNodeId,
GridSslMeta sslMeta,
HandshakeMessage msg)
Establish the first connection to the node and receive connection recovery information.
|
public TcpHandshakeExecutor(IgniteLogger log, ClusterStateProvider stateProvider, boolean directBuffer)
log - Logger.stateProvider - State provider.directBuffer - true if direct buffer for ssl handler is required.public long tcpHandshake(SocketChannel ch, UUID rmtNodeId, GridSslMeta sslMeta, HandshakeMessage msg) throws IgniteCheckedException, IOException
ch - Socket channel which using for handshake.rmtNodeId - Expected remote node.sslMeta - Required data for ssl.msg - Handshake message which should be send during handshake.RecoveryLastReceivedMessage.IgniteCheckedException - If not related to IO exception happened.IOException - If reading or writing to socket is failed.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023