|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AcceptListener
An AcceptListener object is used to receive accepted Channel
connections.
Method Summary | |
---|---|
void |
onAccept(Channel channel)
A AsyncChannelServer will call this method to when a new channel connection has been
accepted. |
void |
onAcceptError(IOException error)
A AsyncChannelServer will call this method when a async failure occurs when accepting
a connection. |
Method Detail |
---|
void onAccept(Channel channel)
AsyncChannelServer
will call this method to when a new channel connection has been
accepted.
channel
- void onAcceptError(IOException error)
AsyncChannelServer
will call this method when a async failure occurs when accepting
a connection.
error
- the exception that describes the failure.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |