org.activeio
Interface AcceptListener

All Known Implementing Classes:
AsynchToSynchChannelServerAdapter, FilterAsynchChannelServer

public interface AcceptListener

An AcceptListener object is used to receive accepted org.activeio.channel.Channel connections.

Version:
$Revision$

Method Summary
 void onAccept(Channel channel)
          A AsynchChannelServer will call this method to when a new channel connection has been accepted.
 void onAcceptError(java.io.IOException error)
          A AsynchChannelServer will call this method when a async failure occurs when accepting a connection.
 

Method Detail

onAccept

public void onAccept(Channel channel)
A AsynchChannelServer will call this method to when a new channel connection has been accepted.


onAcceptError

public void onAcceptError(java.io.IOException error)
A AsynchChannelServer will call this method when a async failure occurs when accepting a connection.

Parameters:
error - the exception that describes the failure.


Copyright © -2005 The ActiveIO Project. All Rights Reserved.