Save This Page
Home » activemq-parent-5.3.1-source-release » org.apache » activemq » transport » mock » [javadoc | source]
org.apache.activemq.transport.mock
public class: MockTransport [javadoc | source]
java.lang.Object
   org.apache.activemq.transport.DefaultTransportListener
      org.apache.activemq.transport.mock.MockTransport

All Implemented Interfaces:
    Transport, TransportListener

Field Summary
protected  Transport next     
protected  TransportListener transportListener     
Constructor:
 public MockTransport(Transport next) 
Method from org.apache.activemq.transport.mock.MockTransport Summary:
asyncRequest,   getNext,   getReceiveCounter,   getRemoteAddress,   getTransportListener,   install,   isConnected,   isDisposed,   isFaultTolerant,   narrow,   onCommand,   onException,   oneway,   reconnect,   request,   request,   setNext,   setTransportListener,   start,   stop,   toString
Methods from org.apache.activemq.transport.DefaultTransportListener:
onCommand,   onException,   transportInterupted,   transportResumed
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.activemq.transport.mock.MockTransport Detail:
 public FutureResponse asyncRequest(Object command,
    ResponseCallback responseCallback) throws IOException 
 public synchronized Transport getNext() 
 public int getReceiveCounter() 
 public String getRemoteAddress() 
 public synchronized TransportListener getTransportListener() 
 public  void install(TransportFilter filter) 
 public boolean isConnected() 
 public boolean isDisposed() 
 public boolean isFaultTolerant() 
 public T narrow(Class<T> target) 
 public  void onCommand(Object command) 
 public  void onException(IOException error) 
 public  void oneway(Object command) throws IOException 
 public  void reconnect(URI uri) throws IOException 
 public Object request(Object command) throws IOException 
 public Object request(Object command,
    int timeout) throws IOException 
 public synchronized  void setNext(Transport next) 
 public synchronized  void setTransportListener(TransportListener channelListener) 
 public  void start() throws Exception 
 public  void stop() throws Exception 
 public String toString()