org.apache.geronimo.network.protocol
Interface ProtocolFactory.AcceptedCallBack

Enclosing interface:
ProtocolFactory

public static interface ProtocolFactory.AcceptedCallBack

When the AcceptableProtocol template is cloned and just before to be set-up with the SocketChannel being accepted, the following call-back is performed.
A client may use this call-back to monitor the creation of a new protocol stack bound to a client/connection and set-up a specific handler for the highest protocol of the stack.


Method Summary
 void accepted(AcceptableProtocol aProtocol)
           
 

Method Detail

accepted

public void accepted(AcceptableProtocol aProtocol)
              throws ProtocolException
Throws:
ProtocolException


Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.