public abstract static class AMQChannel.BlockingRpcContinuation<T> extends Object implements AMQChannel.RpcContinuation
| Modifier and Type | Field and Description |
|---|---|
BlockingValueOrException<T,ShutdownSignalException> |
_blocker |
protected Method |
request |
| Constructor and Description |
|---|
BlockingRpcContinuation() |
BlockingRpcContinuation(Method request) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canHandleReply(AMQCommand command) |
T |
getReply() |
T |
getReply(int timeout) |
void |
handleCommand(AMQCommand command) |
void |
handleShutdownSignal(ShutdownSignalException signal) |
static boolean |
isResponseCompatibleWithRequest(Method request,
Method response) |
abstract T |
transformReply(AMQCommand command) |
public final BlockingValueOrException<T,ShutdownSignalException> _blocker
protected final Method request
public BlockingRpcContinuation()
public BlockingRpcContinuation(Method request)
public void handleCommand(AMQCommand command)
handleCommand in interface AMQChannel.RpcContinuationpublic void handleShutdownSignal(ShutdownSignalException signal)
handleShutdownSignal in interface AMQChannel.RpcContinuationpublic T getReply() throws ShutdownSignalException
ShutdownSignalExceptionpublic T getReply(int timeout) throws ShutdownSignalException, TimeoutException
public boolean canHandleReply(AMQCommand command)
canHandleReply in interface AMQChannel.RpcContinuationpublic abstract T transformReply(AMQCommand command)
Copyright © 2021 VMware, Inc. or its affiliates.. All rights reserved.