Interface ITransportConnection

All Superinterfaces:
Serializable
All Known Implementing Classes:
NIOTransportConnection

public interface ITransportConnection extends Serializable
This is a super class of transport protocol provider with all related information to implemented protocol.
Since:
6.0
Author:
Igor Goldenberg
  • Method Details

    • getRemoteObjID

      long getRemoteObjID()
      Returns:
      the remoteObjectID of this transport connection.
    • getConnectTime

      Date getConnectTime()
      Returns:
      the client connection time to the remoteObject.
    • getClientIPAddress

      String getClientIPAddress()
      Returns:
      the client IP address which is connected to the getRemoteObjID()
    • getClientPort

      int getClientPort()
      Returns:
      the client port.
    • getServerIPAddress

      String getServerIPAddress()
      Returns:
      the server IP address the client connect to.
    • getServerPort

      int getServerPort()
      Returns:
      the server port.
    • getConnectionID

      long getConnectionID()
      Returns:
      the unique connection ID identifier