public class DefaultTransportListener extends java.lang.Object implements TransportListener
| Constructor and Description |
|---|
DefaultTransportListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
onCommand(java.lang.Object command)
called to process a command
|
void |
onException(java.io.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
|
public DefaultTransportListener()
public void onCommand(java.lang.Object command)
onCommand in interface TransportListenercommand - public void onException(java.io.IOException error)
onException in interface TransportListenererror - public void transportInterupted()
transportInterupted in interface TransportListenerpublic void transportResumed()
transportResumed in interface TransportListenerCopyright © 2005-2012. All Rights Reserved.