|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.activemq.transport.DefaultTransportListener
public class DefaultTransportListener
An asynchronous listener of commands
Constructor Summary | |
---|---|
DefaultTransportListener()
|
Method Summary | |
---|---|
void |
onCommand(Object command)
called to process a command |
void |
onException(IOException error)
An unrecoverable exception has occured on the transport |
void |
transportInterupted()
The transport has suffered an interuption from which it hopes to recover |
void |
transportResumed()
The transport has resumed after an interuption |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultTransportListener()
Method Detail |
---|
public void onCommand(Object command)
onCommand
in interface TransportListener
command
- public void onException(IOException error)
onException
in interface TransportListener
error
- public void transportInterupted()
transportInterupted
in interface TransportListener
public void transportResumed()
transportResumed
in interface TransportListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |