com.accendia.iris.admin.interfaces
Interface IClientConnection


public interface IClientConnection

Represent and active client connection and is returned by a IClientConnectionsBrowser instance.


Method Summary
 java.lang.String getAddress()
          Returns the Internet address of the connected client client.
 long getID()
          Returns the unique identifier of the active client connection.
 java.lang.String getUser()
          The name of the user logged in.
 

Method Detail

getUser

java.lang.String getUser()
The name of the user logged in.

Returns:
The connected user name

getAddress

java.lang.String getAddress()
Returns the Internet address of the connected client client.

Returns:
The client address.

getID

long getID()
Returns the unique identifier of the active client connection. The identifier is calculated based on the time the connection was established and a server generated value:

        System.currentTimeMillis() * 1024 + lower_id
 
where lower_id is less than 1024.

Returns:
The unique client connection identifier.