Modifier and Type | Method and Description |
---|---|
Client |
get(String clientId)
Returns the client with the specified client id.
|
Channel |
getChannel()
The channel associated with the clients.
|
Client |
getHost()
Returns the host for the channel associated with these clients.
|
boolean |
isMe(Client client)
Checks if the specified client is your client.
|
List<Client> |
list()
Returns a list of the connected clients.
|
Client |
me()
Returns your connected client for the associated channel.
|
int |
size()
Returns the number of clients connected to the associated channel.
|
String |
toString() |
public Client get(String clientId)
clientId
- the id for the clientpublic Client getHost()
public Client me()
public boolean isMe(Client client)
client
- the client to comparepublic int size()
public List<Client> list()
public Channel getChannel()