Class OtpPeer

All Implemented Interfaces:
OtpTransportFactory

public class OtpPeer extends AbstractNode
Represents a remote OTP node. It acts only as a container for the nodename and other node-specific information that is needed by the OtpConnection class.
  • Constructor Details

    • OtpPeer

      public OtpPeer(String node)
      Create a peer node.
      Parameters:
      node - the name of the node.
    • OtpPeer

      public OtpPeer(String node, OtpTransportFactory transportFactory)
      Create a peer node with custom transport factory.
      Parameters:
      node - the name of the node.
      transportFactory - custom transport factory
  • Method Details