java.lang.Object
com.zeroc.Ice.ConnectionInfo
- Direct Known Subclasses:
ConnectionInfo,ConnectionInfo,IPConnectionInfo,WSConnectionInfo
Base class for all connection info classes.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal StringThe name of the adapter associated with the connection.final StringThe connection ID.final booleantrueif this an incoming connection,falseotherwise.final ConnectionInfoThe information of the underlying transport ornullif there's no underlying transport. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConnectionInfo(boolean incoming, String adapterName, String connectionId) Constructs a ConnectionInfo with the specified connection parameters.protectedConnectionInfo(ConnectionInfo underlying) Constructs a ConnectionInfo that wraps the provided underlying ConnectionInfo. -
Method Summary
-
Field Details
-
underlying
The information of the underlying transport ornullif there's no underlying transport. -
incoming
public final boolean incomingtrueif this an incoming connection,falseotherwise. -
adapterName
The name of the adapter associated with the connection. -
connectionId
The connection ID.
-
-
Constructor Details
-
ConnectionInfo
Constructs a ConnectionInfo that wraps the provided underlying ConnectionInfo.- Parameters:
underlying- the underlying ConnectionInfo to wrap
-
ConnectionInfo
Constructs a ConnectionInfo with the specified connection parameters.- Parameters:
incoming- whether this connection is incomingadapterName- the name of the adapter associated with this connectionconnectionId- the ID of this connection
-