|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.core.messenger.AcceptorEventNotifier
A helper class for managing AcceptorEventListener
instances
and notifying them of any events
ConnectionAcceptor
Constructor Summary | |
AcceptorEventNotifier()
|
Method Summary | |
void |
addAcceptorEventListener(AcceptorEventListener listener)
Add a listener for connection acceptor events |
void |
closed(ManagedConnectionAcceptor acceptor)
Invoked when a connection acceptor is closed |
void |
error(ManagedConnectionAcceptor acceptor,
java.lang.Exception exception)
Invoked when a fatal connection acceptor error occurs, just before an Exception is thrown to the application |
void |
removeAcceptorEventListener(AcceptorEventListener listener)
Remove a listener of connection acceptor events |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AcceptorEventNotifier()
Method Detail |
public void addAcceptorEventListener(AcceptorEventListener listener)
listener
- the listener to addpublic void removeAcceptorEventListener(AcceptorEventListener listener)
listener
- the listener to removepublic void closed(ManagedConnectionAcceptor acceptor)
acceptor
- the closed connection acceptorpublic void error(ManagedConnectionAcceptor acceptor, java.lang.Exception exception)
acceptor
- the connection the error occurred onexception
- the error
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |