|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ManagedConnectionListener
A listener for ManagedConnection
events.
Method Summary | |
---|---|
void |
closed(ManagedConnection source)
Notifies closure of a connection. |
void |
error(ManagedConnection source,
java.lang.Throwable throwable)
Notifies a connection related error. |
void |
pinged(ManagedConnection source)
Notifies of a successful ping. |
Method Detail |
---|
void closed(ManagedConnection source)
ManagedConnection
instance invokes this to notify its registered listeners when
the peer closes the connection.
source
- the managed connection that is the source of the eventvoid error(ManagedConnection source, java.lang.Throwable throwable)
ManagedConnection
instance invokes this to notify its registered listeners of the
occurrence of a physical connection-related error.
source
- the managed connection that is the source of the eventthrowable
- the errorvoid pinged(ManagedConnection source)
source
- the managed connection that is the source of the event
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |