Package com.zeroc.Ice

Class ConnectionInfo

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

public class ConnectionInfo extends Object
Base class providing access to the connection details.
  • Field Details

    • underlying

      public final ConnectionInfo underlying
      The information of the underlying transport or null if there's no underlying transport.
    • incoming

      public final boolean incoming
      Whether or not the connection is an incoming or outgoing connection.
    • adapterName

      public final String adapterName
      The name of the adapter associated with the connection.
    • connectionId

      public final String connectionId
      The connection id.
  • Constructor Details

    • ConnectionInfo

      protected ConnectionInfo(ConnectionInfo underlying)
      Constructs a ConnectionInfo that wraps the specified underlying connection info.
      Parameters:
      underlying - the underlying connection info to wrap
    • ConnectionInfo

      protected ConnectionInfo(boolean incoming, String adapterName, String connectionId)
      Constructs a ConnectionInfo 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