public class DefaultTransportListener extends Object implements TransportListener
Constructor and Description |
---|
DefaultTransportListener() |
Modifier and Type | Method and Description |
---|---|
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
|
public DefaultTransportListener()
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
Copyright © 2005–2016 FuseSource, Corp.. All rights reserved.