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 TransportListener
command
- public void onException(java.io.IOException error)
onException
in interface TransportListener
error
- public void transportInterupted()
transportInterupted
in interface TransportListener
public void transportResumed()
transportResumed
in interface TransportListener
Copyright © 2005-2017. All Rights Reserved.