Package com.zeroc.Ice

Class IPConnectionInfo

java.lang.Object
com.zeroc.Ice.ConnectionInfo
com.zeroc.Ice.IPConnectionInfo
Direct Known Subclasses:
TCPConnectionInfo, UDPConnectionInfo

public class IPConnectionInfo extends ConnectionInfo
Provides access to the connection details of an IP connection
  • Field Details

    • localAddress

      public final String localAddress
      The local address.
    • localPort

      public final int localPort
      The local port.
    • remoteAddress

      public final String remoteAddress
      The remote address.
    • remotePort

      public final int remotePort
      The remote port.
  • Constructor Details

    • IPConnectionInfo

      protected IPConnectionInfo(boolean incoming, String adapterName, String connectionId, String localAddress, int localPort, String remoteAddress, int remotePort)
      Constructs an IPConnectionInfo with the specified connection parameters.
      Parameters:
      incoming - whether this connection is incoming
      adapterName - the name of the adapter associated with this connection
      connectionId - the ID of this connection
      localAddress - the local IP address of this connection
      localPort - the local port number of this connection
      remoteAddress - the remote IP address of this connection
      remotePort - the remote port number of this connection