|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ConnectionLifeCycleListener

A ConnectionLifeCycleListener is called by the remoting implementation to notify of connection events.
| Method Summary | |
|---|---|
void |
connectionCreated(Connection connection,
ProtocolType protocol)
called when a connection is created. |
void |
connectionDestroyed(Object connectionID)
called when a connection is destroyed. |
void |
connectionException(Object connectionID,
HornetQException me)
called when an error occurs on the connection. |
void |
connectionReadyForWrites(Object connectionID,
boolean ready)
|
| Method Detail |
|---|
void connectionCreated(Connection connection,
ProtocolType protocol)
connection - the connection that has been createdvoid connectionDestroyed(Object connectionID)
connectionID - the connection being destroyed.
void connectionException(Object connectionID,
HornetQException me)
connectionID - the id of the connection.me - the exception.
void connectionReadyForWrites(Object connectionID,
boolean ready)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||