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.RpcContinuation
public void handleShutdownSignal(ShutdownSignalException signal)
handleShutdownSignal
in interface AMQChannel.RpcContinuation
public T getReply() throws ShutdownSignalException
ShutdownSignalException
public T getReply(int timeout) throws ShutdownSignalException, TimeoutException
public boolean canHandleReply(AMQCommand command)
canHandleReply
in interface AMQChannel.RpcContinuation
public abstract T transformReply(AMQCommand command)
Copyright © 2022 VMware, Inc. or its affiliates.. All rights reserved.