Class TcpDiscoveryIoSession
- java.lang.Object
-
- org.apache.ignite.spi.discovery.tcp.TcpDiscoveryIoSession
-
public class TcpDiscoveryIoSession extends Object
Handles I/O operations between discovery nodes in the cluster. This class encapsulates the socket connection used by theTcpDiscoverySpito exchange discovery protocol messages between nodes.Currently, there are two modes for message serialization:
- Using
MessageSerializerfor messages implementing theMessageinterface. - Deprecated: Using
JdkMarshallerfor messages that have not yet been refactored.
- Using
-
-
Method Detail
-
socket
public Socket socket()
- Returns:
- Socket.
-
-