org.fusesource.hawtdispatch.transport
Interface TransportListener

All Known Implementing Classes:
DefaultTransportListener

public interface TransportListener

An asynchronous listener of commands


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
 

Method Detail

onTransportCommand

void onTransportCommand(Object command)
called to process a command

Parameters:
command -

onRefill

void onRefill()
transport can now accept more commands for transmission.


onTransportFailure

void onTransportFailure(IOException error)
An unrecoverable exception has occured on the transport

Parameters:
error -

onTransportConnected

void onTransportConnected()
The transport has been connected.


onTransportDisconnected

void onTransportDisconnected()
The transport has been disconnected.



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