Uses of Interface
com.rabbitmq.client.Method
Packages that use Method
Package
Description
The client API proper: classes and interfaces representing the AMQP
connections, channels, and wire-protocol framing descriptors.
Implementations of interfaces specified in the client API, and their supporting classes.
Implementation of connection and topology recovery.
-
Uses of Method in com.rabbitmq.client
Subinterfaces of Method in com.rabbitmq.clientModifier and TypeInterfaceDescriptionstatic interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
Fields in com.rabbitmq.client declared as MethodModifier and TypeFieldDescriptionprivate final Method
UnexpectedMethodError._method
private final Method
ShutdownSignalException._reason
Possible explanationprivate final Method
ChannelContinuationTimeoutException.method
The request method that timed out.Methods in com.rabbitmq.client that return MethodModifier and TypeMethodDescriptionChannelContinuationTimeoutException.getMethod()
Command.getMethod()
Retrieves theMethod
held within this Command.UnexpectedMethodError.getMethod()
Return the wrapped method.ShutdownSignalException.getReason()
Methods in com.rabbitmq.client with parameters of type MethodModifier and TypeMethodDescriptionChannel.asyncCompletableRpc
(Method method) Asynchronously send a method over this channel.void
Asynchronously send a method over this channel.private static String
ShutdownSignalException.composeMessage
(boolean hardError, boolean initiatedByApplication, Method reason, String messagePrefix, Throwable cause) Synchronously send a method over this channel.Constructors in com.rabbitmq.client with parameters of type MethodModifierConstructorDescriptionChannelContinuationTimeoutException
(TimeoutException cause, Object channel, int channelNumber, Method method) ShutdownSignalException
(boolean hardError, boolean initiatedByApplication, Method reason, Object ref) Construct a ShutdownSignalException from the arguments.ShutdownSignalException
(boolean hardError, boolean initiatedByApplication, Method reason, Object ref, String messagePrefix, Throwable cause) Construct a ShutdownSignalException from the arguments.UnexpectedMethodError
(Method method) Construct an UnexpectedMethodError with the given method parameter -
Uses of Method in com.rabbitmq.client.impl
Classes in com.rabbitmq.client.impl that implement MethodModifier and TypeClassDescriptionstatic class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
class
Base class for AMQP method objects, specialized by autogenerated code in AMQP.java.(package private) static class
Fields in com.rabbitmq.client.impl declared as MethodModifier and TypeFieldDescriptionprotected final Method
AMQChannel.BlockingRpcContinuation.request
private final Method
CompletableFutureRpcWrapper.request
Methods in com.rabbitmq.client.impl with parameters of type MethodModifier and TypeMethodDescriptionChannelN.asyncCompletableRpc
(Method method) void
AMQChannel.asyncRpc
(Method m, CompletableFuture<Command> future) void
void
AMQChannel.enqueueAsyncRpc
(Method method, CompletableFuture<Command> future) AMQChannel.exnWrappingAsyncRpc
(Method m) AMQChannel.exnWrappingRpc
(Method m) Placeholder until we address bug 15786 (implementing a proper exception hierarchy).static boolean
AMQChannel.BlockingRpcContinuation.isResponseCompatibleWithRequest
(Method request, Method response) private CompletableFuture
<Command> AMQChannel.privateAsyncRpc
(Method m) private AMQCommand
AMQChannel.privateRpc
(Method m) private AMQCommand
AMQChannel.privateRpc
(Method m, int timeout) void
AMQChannel.quiescingAsyncRpc
(Method m, CompletableFuture<Command> future) void
AMQChannel.quiescingRpc
(Method m, AMQChannel.RpcContinuation k) void
AMQChannel.quiescingTransmit
(Method m) Protected API - sends aMethod
to the broker and waits for the next in-bound Command from the broker: only for use from non-connection-MainLoop threads!void
AMQChannel.rpc
(Method m, AMQChannel.RpcContinuation k) AMQConnection.shutdown
(Method reason, boolean initiatedByApplication, Throwable cause, boolean notifyRpc) Protected API - causes all attached channels to terminate (shutdown) with a ShutdownSignal built from the argument, and stops this connection from accepting further work from the application.private ShutdownSignalException
AMQConnection.startShutdown
(Method reason, boolean initiatedByApplication, Throwable cause, boolean notifyRpc) void
protected ChannelContinuationTimeoutException
AMQChannel.wrapTimeoutException
(Method m, TimeoutException e) Cleans RPC channel state after a timeout and wraps the TimeoutException in a ChannelContinuationTimeoutExceptionConstructors in com.rabbitmq.client.impl with parameters of type MethodModifierConstructorDescriptionAMQCommand
(Method method) Construct a command with just a method, and without header or body.AMQCommand
(Method method, AMQContentHeader contentHeader, byte[] body) Construct a command with a specified method, header and body.AMQCommand
(Method method, AMQContentHeader contentHeader, byte[] body, int maxBodyLength) Construct a command with a specified method, header and body.BlockingRpcContinuation
(Method request) CompletableFutureRpcWrapper
(Method method, CompletableFuture<Command> completableFuture) SimpleBlockingRpcContinuation
(Method method) -
Uses of Method in com.rabbitmq.client.impl.recovery
Methods in com.rabbitmq.client.impl.recovery with parameters of type MethodModifier and TypeMethodDescriptionAutorecoveringChannel.asyncCompletableRpc
(Method method) void
private void
AutorecoveringChannel.recordOnRpcRequest
(Method method) private void
AutorecoveringChannel.recordOnRpcResponse
(Method response, Method request)