org.jscience.net
Interface ConnectionDispatcher

All Known Implementing Classes:
ChatServer, GameServer, JMessenger, NetConnectionServer.DefaultDispatcher

public interface ConnectionDispatcher

used by a NetConnectionServer object to create a Thread that handles incoming connections

See Also:
NetConnectionServer, NetConnectionHandler, NetConnection

Method Summary
 java.lang.Thread createHandlerThread(NetConnection con)
          returns an object which will be started in a new Thread to handle the given NetConnection.
 java.lang.Object getConnectionSignature()
          returns a signature object used to identify the desired connection type handled by this ConnectionDispatcher object
 

Method Detail

createHandlerThread

java.lang.Thread createHandlerThread(NetConnection con)
returns an object which will be started in a new Thread to handle the given NetConnection. Typically, the returned object could be a MessageDelegator.

See Also:
MessageDelegator

getConnectionSignature

java.lang.Object getConnectionSignature()
returns a signature object used to identify the desired connection type handled by this ConnectionDispatcher object

Returns:
DOCUMENT ME!