org.fusesource.hawtdispatch.transport
Class DefaultTransportListener

java.lang.Object
  extended by org.fusesource.hawtdispatch.transport.DefaultTransportListener
All Implemented Interfaces:
TransportListener

public class DefaultTransportListener
extends Object
implements TransportListener

Author:
Hiram Chirino

Constructor Summary
DefaultTransportListener()
           
 
Method Summary
 void onRefill()
          transport can now accept more commands for transmission.
 void onTransportCommand(Object command)
          called to process a command
 void onTransportConnected()
          The transport has been connected.
 void onTransportDisconnected()
          The transport has been disconnected.
 void onTransportFailure(IOException error)
          An unrecoverable exception has occured on the transport
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultTransportListener

public DefaultTransportListener()
Method Detail

onRefill

public void onRefill()
Description copied from interface: TransportListener
transport can now accept more commands for transmission.

Specified by:
onRefill in interface TransportListener

onTransportCommand

public void onTransportCommand(Object command)
Description copied from interface: TransportListener
called to process a command

Specified by:
onTransportCommand in interface TransportListener

onTransportConnected

public void onTransportConnected()
Description copied from interface: TransportListener
The transport has been connected.

Specified by:
onTransportConnected in interface TransportListener

onTransportDisconnected

public void onTransportDisconnected()
Description copied from interface: TransportListener
The transport has been disconnected.

Specified by:
onTransportDisconnected in interface TransportListener

onTransportFailure

public void onTransportFailure(IOException error)
Description copied from interface: TransportListener
An unrecoverable exception has occured on the transport

Specified by:
onTransportFailure in interface TransportListener


Copyright © 2010-2014 FuseSource, Corp.. All Rights Reserved.