Package com.rabbitmq.client.impl
Class AMQChannel.BlockingRpcContinuation<T>
java.lang.Object
com.rabbitmq.client.impl.AMQChannel.BlockingRpcContinuation<T>
- All Implemented Interfaces:
AMQChannel.RpcContinuation
- Direct Known Subclasses:
AMQChannel.SimpleBlockingRpcContinuation
- Enclosing class:
AMQChannel
public abstract static class AMQChannel.BlockingRpcContinuation<T>
extends Object
implements AMQChannel.RpcContinuation
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canHandleReply
(AMQCommand command) getReply()
getReply
(int timeout) void
handleCommand
(AMQCommand command) void
static boolean
isResponseCompatibleWithRequest
(Method request, Method response) abstract T
transformReply
(AMQCommand command)
-
Field Details
-
_blocker
-
request
-
-
Constructor Details
-
BlockingRpcContinuation
public BlockingRpcContinuation() -
BlockingRpcContinuation
-
-
Method Details
-
handleCommand
- Specified by:
handleCommand
in interfaceAMQChannel.RpcContinuation
-
handleShutdownSignal
- Specified by:
handleShutdownSignal
in interfaceAMQChannel.RpcContinuation
-
getReply
- Throws:
ShutdownSignalException
-
getReply
-
canHandleReply
- Specified by:
canHandleReply
in interfaceAMQChannel.RpcContinuation
- Returns:
- true if the reply command can be handled for this request
-
transformReply
-
isResponseCompatibleWithRequest
-