java.lang.Object
com.zeroc.Ice.ConnectionInfo
- Direct Known Subclasses:
ConnectionInfo
,ConnectionInfo
,IPConnectionInfo
,WSConnectionInfo
Base class providing access to the connection details.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal String
The name of the adapter associated with the connection.final String
The connection id.final boolean
Whether or not the connection is an incoming or outgoing connection.final ConnectionInfo
The information of the underlying transport or null if there's no underlying transport. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ConnectionInfo
(boolean incoming, String adapterName, String connectionId) Constructs a ConnectionInfo with the specified connection parameters.protected
ConnectionInfo
(ConnectionInfo underlying) Constructs a ConnectionInfo that wraps the specified underlying connection info. -
Method Summary
-
Field Details
-
underlying
The information of the underlying transport or null if there's no underlying transport. -
incoming
public final boolean incomingWhether or not the connection is an incoming or outgoing connection. -
adapterName
The name of the adapter associated with the connection. -
connectionId
The connection id.
-
-
Constructor Details
-
ConnectionInfo
Constructs a ConnectionInfo that wraps the specified underlying connection info.- Parameters:
underlying
- the underlying connection info 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
-