java.lang.Object
com.zeroc.Ice.ConnectionInfo
com.zeroc.Ice.IPConnectionInfo
- Direct Known Subclasses:
TCPConnectionInfo,UDPConnectionInfo
Provides access to the connection details of an IP connection.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal StringThe local address.final intThe local port.final StringThe remote address.final intThe remote port.Fields inherited from class com.zeroc.Ice.ConnectionInfo
adapterName, connectionId, incoming, underlying -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedIPConnectionInfo(boolean incoming, String adapterName, String connectionId, String localAddress, int localPort, String remoteAddress, int remotePort) Constructs an IPConnectionInfo. -
Method Summary
-
Field Details
-
localAddress
The local address. -
localPort
public final int localPortThe local port. -
remoteAddress
The remote address. -
remotePort
public final int remotePortThe remote port.
-
-
Constructor Details
-
IPConnectionInfo
protected IPConnectionInfo(boolean incoming, String adapterName, String connectionId, String localAddress, int localPort, String remoteAddress, int remotePort) Constructs an IPConnectionInfo.- Parameters:
incoming- whether this connection is incomingadapterName- the name of the adapter associated with this connectionconnectionId- the ID of this connectionlocalAddress- the local IP address of this connectionlocalPort- the local port number of this connectionremoteAddress- the remote IP address of this connectionremotePort- the remote port number of this connection
-