|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgecco.communication.server.ClientConnectionHandler
A class that keep track of all the parts needed for a connection to a client
Constructor Summary | |
ClientConnectionHandler(ClientConnection connection,
Server server,
RoleConnection roleconnection)
Constructor for the ClientConnectionHandler object |
Method Summary | |
void |
connectionLost(String role,
int id)
Description of the Method |
ClientConnection |
getClientConnection()
Gets the ClientConnection attribute of the ClientConnectionHandler object |
void |
sendMessage(Message m)
called by RoleConnection, to send a message to the client represented by this ClientConnectionHandler |
void |
startThreads()
Description of the Method |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ClientConnectionHandler(ClientConnection connection, Server server, RoleConnection roleconnection)
connection
- Description of Parameterserver
- Description of Parameterroleconnection
- Description of ParameterMethod Detail |
public ClientConnection getClientConnection()
public void startThreads()
public void sendMessage(Message m)
m
- Description of Parameterpublic void connectionLost(String role, int id)
role
- Description of Parameterid
- Description of Parameter
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |