com.rabbitmq.client.impl
public abstract static class AMQChannel.BlockingRpcContinuation<T> extends java.lang.Object implements AMQChannel.RpcContinuation
Modifier and Type | Field and Description |
---|---|
BlockingValueOrException<T,ShutdownSignalException> |
_blocker |
Constructor and Description |
---|
AMQChannel.BlockingRpcContinuation() |
Modifier and Type | Method and Description |
---|---|
T |
getReply() |
T |
getReply(int timeout) |
void |
handleCommand(AMQCommand command) |
void |
handleShutdownSignal(ShutdownSignalException signal) |
abstract T |
transformReply(AMQCommand command) |
public final BlockingValueOrException<T,ShutdownSignalException> _blocker
public void handleCommand(AMQCommand command)
handleCommand
in interface AMQChannel.RpcContinuation
public void handleShutdownSignal(ShutdownSignalException signal)
handleShutdownSignal
in interface AMQChannel.RpcContinuation
public T getReply() throws ShutdownSignalException
ShutdownSignalException
public T getReply(int timeout) throws ShutdownSignalException, java.util.concurrent.TimeoutException
ShutdownSignalException
java.util.concurrent.TimeoutException
public abstract T transformReply(AMQCommand command)