public class ClientList
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
ClientList() |
Modifier and Type | Method and Description |
---|---|
int |
countClientbyUserHost(java.lang.String hostname,
java.lang.String username)
Returns the total number of instances with same username and hostname.
|
FloatingClient |
findClientbyClientId(long clientID)
Search for a client with given client id.
|
FloatingClient |
findClientbyUserHost(java.lang.String hostname,
java.lang.String username)
Search for a client with given host name and/or user name.
|
FloatingClient |
getClientByIndex(int index)
Method to get client with given index.
|
int |
size()
Method to get number of clients.
|
public FloatingClient findClientbyClientId(long clientID)
clientID
- public FloatingClient findClientbyUserHost(java.lang.String hostname, java.lang.String username)
hostname
- username
- public int countClientbyUserHost(java.lang.String hostname, java.lang.String username)
hostname
- username
- public FloatingClient getClientByIndex(int index)
index
- public int size()