public class MutexTransport extends TransportFilter
next, transportListener
Constructor and Description |
---|
MutexTransport(Transport next) |
Modifier and Type | Method and Description |
---|---|
FutureResponse |
asyncRequest(java.lang.Object command,
ResponseCallback responseCallback)
An asynchronous request response where the Receipt will be returned in
the future.
|
void |
oneway(java.lang.Object command)
A one way asynchronous send
|
java.lang.Object |
request(java.lang.Object command)
A synchronous request response
|
java.lang.Object |
request(java.lang.Object command,
int timeout)
A synchronous request response
|
java.lang.String |
toString() |
getNext, getReceiveCounter, getRemoteAddress, getTransportListener, isConnected, isDisposed, isFaultTolerant, isReconnectSupported, isUpdateURIsSupported, narrow, onCommand, onException, reconnect, setTransportListener, start, stop, transportInterupted, transportResumed, updateURIs
public MutexTransport(Transport next)
public FutureResponse asyncRequest(java.lang.Object command, ResponseCallback responseCallback) throws java.io.IOException
Transport
asyncRequest
in interface Transport
asyncRequest
in class TransportFilter
responseCallback
- TODOjava.io.IOException
public void oneway(java.lang.Object command) throws java.io.IOException
Transport
oneway
in interface Transport
oneway
in class TransportFilter
java.io.IOException
public java.lang.Object request(java.lang.Object command) throws java.io.IOException
Transport
request
in interface Transport
request
in class TransportFilter
java.io.IOException
public java.lang.Object request(java.lang.Object command, int timeout) throws java.io.IOException
Transport
request
in interface Transport
request
in class TransportFilter
java.io.IOException
public java.lang.String toString()
toString
in class TransportFilter
Copyright © 2005-2012. All Rights Reserved.