Class TcpDiscoveryIoSession


  • public class TcpDiscoveryIoSession
    extends Object
    Handles I/O operations between discovery nodes in the cluster. This class encapsulates the socket connection used by the TcpDiscoverySpi to exchange discovery protocol messages between nodes.

    Currently, there are two modes for message serialization:

    A leading byte is used to distinguish between the modes. The byte will be removed in future.
    • Method Detail

      • socket

        public Socket socket()
        Returns:
        Socket.