org.fusesource.stompjms.client.transport
Interface TransportListener


public interface TransportListener

An asynchronous listener of commands


Method Summary
 void onRefill()
          transport can now accept more commands for transmission.
 void onTransportCommand(java.lang.Object command)
          called to process a command
 void onTransportConnected()
          The transport has been connected.
 void onTransportDisconnected()
          The transport has suffered a disconnection from which it hopes to recover
 void onTransportFailure(java.io.IOException error)
          An unrecoverable exception has occured on the transport
 

Method Detail

onTransportCommand

void onTransportCommand(java.lang.Object command)
called to process a command

Parameters:
command -

onRefill

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


onTransportFailure

void onTransportFailure(java.io.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 suffered a disconnection from which it hopes to recover



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