Package com.gigaspaces.lrmi.nio
Class NIOTransportConnection
java.lang.Object
com.gigaspaces.lrmi.nio.NIOTransportConnection
- All Implemented Interfaces:
ITransportConnection,Serializable
This class provides full information about physical connection to the remote object.
- Since:
- 6.0
- Version:
- 1.0
- Author:
- Igor Goldenberg
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionNIOTransportConnection(long remoteObjID, long connectionID, long connectTime, String clientIPAddress, int clientPort, String serverIPAddress, int serverPort) Constructor. -
Method Summary
-
Constructor Details
-
Method Details
-
getRemoteObjID
public long getRemoteObjID()- Specified by:
getRemoteObjIDin interfaceITransportConnection- Returns:
- the remoteObjectID of this transport connection.
- See Also:
-
getConnectTime
- Specified by:
getConnectTimein interfaceITransportConnection- Returns:
- the client connection time to the remoteObject.
- See Also:
-
getServerIPAddress
- Specified by:
getServerIPAddressin interfaceITransportConnection- Returns:
- the server IP address the client connect to.
- See Also:
-
getClientIPAddress
- Specified by:
getClientIPAddressin interfaceITransportConnection- Returns:
- the client IP address which is connected to the
ITransportConnection.getRemoteObjID() - See Also:
-
getClientPort
public int getClientPort()- Specified by:
getClientPortin interfaceITransportConnection- Returns:
- the client port.
- See Also:
-
getServerPort
public int getServerPort()- Specified by:
getServerPortin interfaceITransportConnection- Returns:
- the server port.
- See Also:
-
getConnectionID
public long getConnectionID()- Specified by:
getConnectionIDin interfaceITransportConnection- Returns:
- the unique connection ID identifier
- See Also:
-
toString
-