gnu.rfb.server
Class RFBClients

java.lang.Object
  extended by gnu.rfb.server.RFBClients

public class RFBClients
extends java.lang.Object

Represents the clients connected to an RFB host.


Constructor Summary
RFBClients()
          Empty constructor.
 
Method Summary
 void addClient(RFBClient client)
          Add a client to the list of clients.
 void closeAll()
          Removes all clients.
 java.util.Enumeration elements()
           
 java.lang.Object getProperty(RFBClient client, java.lang.String key)
           
 boolean isEmpty()
           
 void removeClient(RFBClient client)
          Remove a client from the list of clients.
 void setProperty(RFBClient client, java.lang.String key, java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RFBClients

public RFBClients()
Empty constructor.

Method Detail

isEmpty

public boolean isEmpty()
Returns:
Whether or not the list of clients is empty.

addClient

public void addClient(RFBClient client)
Add a client to the list of clients.

Parameters:
client - The client to add.

removeClient

public void removeClient(RFBClient client)
Remove a client from the list of clients.

Parameters:
client - The client to remove.

closeAll

public void closeAll()
Removes all clients.


elements

public java.util.Enumeration elements()
Returns:

setProperty

public void setProperty(RFBClient client,
                        java.lang.String key,
                        java.lang.Object value)
Parameters:
client -
key -
value -

getProperty

public java.lang.Object getProperty(RFBClient client,
                                    java.lang.String key)
Parameters:
client -
key -
Returns: