org.exolab.core.messenger
Interface ConnectionHandler


public interface ConnectionHandler

A ConnectionHandler is notified of new connections by an ConnectionAcceptor, and is responsible for managing the connection.

The handler should not block when a new connection is received, as it will prevent other connections being accepted.

Version:
$Revision: 1.3 $ $Date: 2002/02/21 09:49:41 $
Author:
Tim Anderson
See Also:
ConnectionAcceptor, ConnectionDispatcher, ManagedConnection.accept(java.lang.String, org.exolab.core.messenger.ConnectionHandler), Messenger.accept(java.lang.String, org.exolab.core.messenger.ConnectionHandler)

Method Summary
 void connected(Connection connection)
          Handle a new connection
 

Method Detail

connected

void connected(Connection connection)
Handle a new connection

Parameters:
connection - the new connection


Copyright © 1999-2012 The Exolab Group. All Rights Reserved.