|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectfr.ove.clientserver.RepeatConnectionHandler
A ConnectionHandler implementation.
This connection handler is used with a server which connects to an another one.
The objects sent from a connected client are sent to the server the server whose
instance deals the conections is connected.
| Constructor Summary | |
RepeatConnectionHandler(java.lang.String hostName,
int portNumber)
The constructor. |
|
| Method Summary | |
void |
handleConnection(Connection connection)
Handles the specified connection. |
void |
run()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RepeatConnectionHandler(java.lang.String hostName,
int portNumber)
hostName - the name of the host the instance connects to.portNumber - the port number through the instance is connected.| Method Detail |
public void handleConnection(Connection connection)
handleConnection in interface ConnectionHandlerconnection - the connection to handle.public void run()
run in interface java.lang.Runnable
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||