com.accendia.iris.admin.interfaces
Interface IClientConnectionsBrowser


public interface IClientConnectionsBrowser

This interface is implemented by the client connections browser dynamic command. The active client connections are returned in the order they were established.


Method Summary
 IClientConnection[] getFirst(int count)
          Returns an array of the oldest active client connections.
 IClientConnection[] getLast(int count)
          Returns an array of the newest active client connections.
 IClientConnection[] getNext(int count)
          Returns an array of active client connections newer than the last active connection retrieved by the last connection browser request.
 IClientConnection[] getPrevious(int count)
          Returns an array of active client connections older than the first active connection retrieved by the last connection browser request.
 boolean remove(int index)
          Close the active client connection returned by the last connection browser request at position index.
 

Method Detail

getFirst

IClientConnection[] getFirst(int count)
                             throws java.io.IOException
Returns an array of the oldest active client connections.

Parameters:
count - The maximum number of client connections to return
Returns:
An array of active client connections
Throws:
java.io.IOException

getPrevious

IClientConnection[] getPrevious(int count)
                                throws java.io.IOException
Returns an array of active client connections older than the first active connection retrieved by the last connection browser request.

Parameters:
count - The maximum number of client connections to return
Returns:
An array of active client connections
Throws:
java.io.IOException

getNext

IClientConnection[] getNext(int count)
                            throws java.io.IOException
Returns an array of active client connections newer than the last active connection retrieved by the last connection browser request.

Parameters:
count - The maximum number of client connections to return
Returns:
An array of active client connections
Throws:
java.io.IOException

getLast

IClientConnection[] getLast(int count)
                            throws java.io.IOException
Returns an array of the newest active client connections.

Parameters:
count - The maximum number of client connections to return
Returns:
An array of active client connections
Throws:
java.io.IOException

remove

boolean remove(int index)
               throws java.io.IOException
Close the active client connection returned by the last connection browser request at position index.

Parameters:
index - The index of the connection to be closed.
Returns:
Returns true if the connection was closed or false otherwise.
Throws:
java.io.IOException