fr.ove.clientserver
Class EchoConnectionHandler

java.lang.Object
  extended byfr.ove.clientserver.EchoConnectionHandler
All Implemented Interfaces:
ConnectionHandler

public class EchoConnectionHandler
extends java.lang.Object
implements ConnectionHandler

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
EchoConnectionHandler()
          The constructor.
 
Method Summary
 void handleConnection(Connection connection)
          Handles the specified connection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EchoConnectionHandler

public EchoConnectionHandler()
The constructor.

Method Detail

handleConnection

public void handleConnection(Connection connection)
Handles the specified connection.

Specified by:
handleConnection in interface ConnectionHandler
Parameters:
connection - the connection to handle.


Copyright © 1999-2007 Universit?© de Nice Sophia-Antipolis, I3S, Ove SARL, DFKI and Universit?§t des Saarlandes. All Rights Reserved.