public class io.vertx.core.eventbus.impl.OutboundDeliveryContext<T> implements io.vertx.core.eventbus.DeliveryContext<T>, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.core.eventbus.impl.OutboundDeliveryContext
super_class: java.lang.Object
{
public final io.vertx.core.impl.ContextInternal ctx;
descriptor: Lio/vertx/core/impl/ContextInternal;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final io.vertx.core.eventbus.impl.MessageImpl message;
descriptor: Lio/vertx/core/eventbus/impl/MessageImpl;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final io.vertx.core.eventbus.DeliveryOptions options;
descriptor: Lio/vertx/core/eventbus/DeliveryOptions;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final io.vertx.core.eventbus.impl.ReplyHandler<T> replyHandler;
descriptor: Lio/vertx/core/eventbus/impl/ReplyHandler;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Signature: Lio/vertx/core/eventbus/impl/ReplyHandler<TT;>;
private final io.vertx.core.Promise<java.lang.Void> writePromise;
descriptor: Lio/vertx/core/Promise;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lio/vertx/core/Promise<Ljava/lang/Void;>;
private boolean src;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
java.util.Iterator<io.vertx.core.Handler<io.vertx.core.eventbus.DeliveryContext>> iter;
descriptor: Ljava/util/Iterator;
flags: (0x0000)
Signature: Ljava/util/Iterator<Lio/vertx/core/Handler<Lio/vertx/core/eventbus/DeliveryContext;>;>;
io.vertx.core.eventbus.impl.EventBusImpl bus;
descriptor: Lio/vertx/core/eventbus/impl/EventBusImpl;
flags: (0x0000)
io.vertx.core.spi.metrics.EventBusMetrics metrics;
descriptor: Lio/vertx/core/spi/metrics/EventBusMetrics;
flags: (0x0000)
void <init>(io.vertx.core.impl.ContextInternal, io.vertx.core.eventbus.impl.MessageImpl, io.vertx.core.eventbus.DeliveryOptions, io.vertx.core.eventbus.impl.ReplyHandler<T>, io.vertx.core.Promise<java.lang.Void>);
descriptor: (Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/eventbus/impl/MessageImpl;Lio/vertx/core/eventbus/DeliveryOptions;Lio/vertx/core/eventbus/impl/ReplyHandler;Lio/vertx/core/Promise;)V
flags: (0x0000)
Code:
stack=2, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield io.vertx.core.eventbus.impl.OutboundDeliveryContext.ctx:Lio/vertx/core/impl/ContextInternal;
2: aload 0
aload 2
putfield io.vertx.core.eventbus.impl.OutboundDeliveryContext.message:Lio/vertx/core/eventbus/impl/MessageImpl;
3: aload 0
aload 3
putfield io.vertx.core.eventbus.impl.OutboundDeliveryContext.options:Lio/vertx/core/eventbus/DeliveryOptions;
4: aload 0
aload 4
putfield io.vertx.core.eventbus.impl.OutboundDeliveryContext.replyHandler:Lio/vertx/core/eventbus/impl/ReplyHandler;
5: aload 0
aload 5
putfield io.vertx.core.eventbus.impl.OutboundDeliveryContext.writePromise:Lio/vertx/core/Promise;
6: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/core/eventbus/impl/OutboundDeliveryContext<TT;>;
0 7 1 ctx Lio/vertx/core/impl/ContextInternal;
0 7 2 message Lio/vertx/core/eventbus/impl/MessageImpl;
0 7 3 options Lio/vertx/core/eventbus/DeliveryOptions;
0 7 4 replyHandler Lio/vertx/core/eventbus/impl/ReplyHandler<TT;>;
0 7 5 writePromise Lio/vertx/core/Promise<Ljava/lang/Void;>;
Signature: (Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/eventbus/impl/MessageImpl;Lio/vertx/core/eventbus/DeliveryOptions;Lio/vertx/core/eventbus/impl/ReplyHandler<TT;>;Lio/vertx/core/Promise<Ljava/lang/Void;>;)V
MethodParameters:
Name Flags
ctx
message
options
replyHandler
writePromise
public void handle(io.vertx.core.AsyncResult<java.lang.Void>);
descriptor: (Lio/vertx/core/AsyncResult;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokevirtual io.vertx.core.eventbus.impl.OutboundDeliveryContext.written:(Ljava/lang/Throwable;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/eventbus/impl/OutboundDeliveryContext<TT;>;
0 2 1 event Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;
Signature: (Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;)V
MethodParameters:
Name Flags
event
public void written(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.eventbus.impl.OutboundDeliveryContext.metrics:Lio/vertx/core/spi/metrics/EventBusMetrics;
ifnull 9
1: aload 0
getfield io.vertx.core.eventbus.impl.OutboundDeliveryContext.message:Lio/vertx/core/eventbus/impl/MessageImpl;
instanceof io.vertx.core.eventbus.impl.clustered.ClusteredMessage
ifeq 2
aload 0
getfield io.vertx.core.eventbus.impl.OutboundDeliveryContext.message:Lio/vertx/core/eventbus/impl/MessageImpl;
checkcast io.vertx.core.eventbus.impl.clustered.ClusteredMessage
invokevirtual io.vertx.core.eventbus.impl.clustered.ClusteredMessage.isToWire:()Z
ifeq 2
iconst_1
goto 3
StackMap locals:
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: istore 2
start local 2 4: aload 0
getfield io.vertx.core.eventbus.impl.OutboundDeliveryContext.metrics:Lio/vertx/core/spi/metrics/EventBusMetrics;
aload 0
getfield io.vertx.core.eventbus.impl.OutboundDeliveryContext.message:Lio/vertx/core/eventbus/impl/MessageImpl;
invokevirtual io.vertx.core.eventbus.impl.MessageImpl.address:()Ljava/lang/String;
aload 0
getfield io.vertx.core.eventbus.impl.OutboundDeliveryContext.message:Lio/vertx/core/eventbus/impl/MessageImpl;
getfield io.vertx.core.eventbus.impl.MessageImpl.send:Z
ifeq 5
iconst_0
goto 6
StackMap locals: io.vertx.core.eventbus.impl.OutboundDeliveryContext java.lang.Throwable int
StackMap stack: io.vertx.core.spi.metrics.EventBusMetrics java.lang.String
5: iconst_1
StackMap locals: io.vertx.core.eventbus.impl.OutboundDeliveryContext java.lang.Throwable int
StackMap stack: io.vertx.core.spi.metrics.EventBusMetrics java.lang.String int
6: iload 2
ifeq 7
iconst_0
goto 8
StackMap locals: io.vertx.core.eventbus.impl.OutboundDeliveryContext java.lang.Throwable int
StackMap stack: io.vertx.core.spi.metrics.EventBusMetrics java.lang.String int
7: iconst_1
StackMap locals: io.vertx.core.eventbus.impl.OutboundDeliveryContext java.lang.Throwable int
StackMap stack: io.vertx.core.spi.metrics.EventBusMetrics java.lang.String int int
8: iload 2
invokeinterface io.vertx.core.spi.metrics.EventBusMetrics.messageSent:(Ljava/lang/String;ZZZ)V
end local 2 9: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.eventbus.impl.OutboundDeliveryContext.ctx:Lio/vertx/core/impl/ContextInternal;
invokeinterface io.vertx.core.impl.ContextInternal.tracer:()Lio/vertx/core/spi/tracing/VertxTracer;
astore 2
start local 2 10: aload 2
ifnull 18
11: aload 0
getfield io.vertx.core.eventbus.impl.OutboundDeliveryContext.message:Lio/vertx/core/eventbus/impl/MessageImpl;
getfield io.vertx.core.eventbus.impl.MessageImpl.trace:Ljava/lang/Object;
astore 3
start local 3 12: aload 3
ifnull 18
13: aload 0
getfield io.vertx.core.eventbus.impl.OutboundDeliveryContext.src:Z
ifeq 18
14: aload 0
getfield io.vertx.core.eventbus.impl.OutboundDeliveryContext.replyHandler:Lio/vertx/core/eventbus/impl/ReplyHandler;
ifnull 17
15: aload 0
getfield io.vertx.core.eventbus.impl.OutboundDeliveryContext.replyHandler:Lio/vertx/core/eventbus/impl/ReplyHandler;
aload 0
getfield io.vertx.core.eventbus.impl.OutboundDeliveryContext.message:Lio/vertx/core/eventbus/impl/MessageImpl;
getfield io.vertx.core.eventbus.impl.MessageImpl.trace:Ljava/lang/Object;
putfield io.vertx.core.eventbus.impl.ReplyHandler.trace:Ljava/lang/Object;
16: goto 18
17: StackMap locals: io.vertx.core.spi.tracing.VertxTracer java.lang.Object
StackMap stack:
aload 2
aload 0
getfield io.vertx.core.eventbus.impl.OutboundDeliveryContext.ctx:Lio/vertx/core/impl/ContextInternal;
aconst_null
aload 3
aload 1
invokestatic io.vertx.core.spi.tracing.TagExtractor.empty:()Lio/vertx/core/spi/tracing/TagExtractor;
invokeinterface io.vertx.core.spi.tracing.VertxTracer.receiveResponse:(Lio/vertx/core/Context;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Throwable;Lio/vertx/core/spi/tracing/TagExtractor;)V
end local 3 18: StackMap locals:
StackMap stack:
aload 1
instanceof io.vertx.core.eventbus.ReplyException
ifeq 21
19: aload 0
getfield io.vertx.core.eventbus.impl.OutboundDeliveryContext.replyHandler:Lio/vertx/core/eventbus/impl/ReplyHandler;
ifnull 21
20: aload 0
getfield io.vertx.core.eventbus.impl.OutboundDeliveryContext.replyHandler:Lio/vertx/core/eventbus/impl/ReplyHandler;
aload 1
checkcast io.vertx.core.eventbus.ReplyException
invokevirtual io.vertx.core.eventbus.impl.ReplyHandler.fail:(Lio/vertx/core/eventbus/ReplyException;)V
21: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.eventbus.impl.OutboundDeliveryContext.writePromise:Lio/vertx/core/Promise;
ifnull 26
22: aload 1
ifnonnull 25
23: aload 0
getfield io.vertx.core.eventbus.impl.OutboundDeliveryContext.writePromise:Lio/vertx/core/Promise;
invokeinterface io.vertx.core.Promise.complete:()V
24: goto 26
25: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.eventbus.impl.OutboundDeliveryContext.writePromise:Lio/vertx/core/Promise;
aload 1
invokeinterface io.vertx.core.Promise.fail:(Ljava/lang/Throwable;)V
26: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lio/vertx/core/eventbus/impl/OutboundDeliveryContext<TT;>;
0 27 1 failure Ljava/lang/Throwable;
4 9 2 remote Z
10 27 2 tracer Lio/vertx/core/spi/tracing/VertxTracer;
12 18 3 trace Ljava/lang/Object;
MethodParameters:
Name Flags
failure
public io.vertx.core.eventbus.Message<T> message();
descriptor: ()Lio/vertx/core/eventbus/Message;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.eventbus.impl.OutboundDeliveryContext.message:Lio/vertx/core/eventbus/impl/MessageImpl;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/eventbus/impl/OutboundDeliveryContext<TT;>;
Signature: ()Lio/vertx/core/eventbus/Message<TT;>;
public void next();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=3, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.eventbus.impl.OutboundDeliveryContext.iter:Ljava/util/Iterator;
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 10
1: aload 0
getfield io.vertx.core.eventbus.impl.OutboundDeliveryContext.iter:Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.vertx.core.Handler
astore 1
start local 1 2: aload 1
ifnull 5
3: aload 1
aload 0
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
4: goto 21
5: StackMap locals: io.vertx.core.Handler
StackMap stack:
aload 0
invokevirtual io.vertx.core.eventbus.impl.OutboundDeliveryContext.next:()V
6: goto 21
StackMap locals:
StackMap stack: java.lang.Throwable
7: astore 2
start local 2 8: getstatic io.vertx.core.eventbus.impl.EventBusImpl.log:Lio/vertx/core/impl/logging/Logger;
ldc "Failure in interceptor"
aload 2
invokeinterface io.vertx.core.impl.logging.Logger.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 2 end local 1 9: goto 21
10: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.eventbus.impl.OutboundDeliveryContext.ctx:Lio/vertx/core/impl/ContextInternal;
invokeinterface io.vertx.core.impl.ContextInternal.tracer:()Lio/vertx/core/spi/tracing/VertxTracer;
astore 1
start local 1 11: aload 1
ifnull 20
12: aload 0
getfield io.vertx.core.eventbus.impl.OutboundDeliveryContext.message:Lio/vertx/core/eventbus/impl/MessageImpl;
getfield io.vertx.core.eventbus.impl.MessageImpl.trace:Ljava/lang/Object;
ifnonnull 19
13: aload 0
iconst_1
putfield io.vertx.core.eventbus.impl.OutboundDeliveryContext.src:Z
14: aload 0
invokedynamic accept(Lio/vertx/core/eventbus/impl/OutboundDeliveryContext;)Ljava/util/function/BiConsumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;Ljava/lang/Object;)V
io/vertx/core/eventbus/impl/OutboundDeliveryContext.lambda$0(Ljava/lang/String;Ljava/lang/String;)V (7)
(Ljava/lang/String;Ljava/lang/String;)V
astore 2
start local 2 15: aload 0
getfield io.vertx.core.eventbus.impl.OutboundDeliveryContext.message:Lio/vertx/core/eventbus/impl/MessageImpl;
aload 1
aload 0
getfield io.vertx.core.eventbus.impl.OutboundDeliveryContext.ctx:Lio/vertx/core/impl/ContextInternal;
getstatic io.vertx.core.spi.tracing.SpanKind.RPC:Lio/vertx/core/spi/tracing/SpanKind;
getstatic io.vertx.core.tracing.TracingPolicy.PROPAGATE:Lio/vertx/core/tracing/TracingPolicy;
aload 0
getfield io.vertx.core.eventbus.impl.OutboundDeliveryContext.message:Lio/vertx/core/eventbus/impl/MessageImpl;
aload 0
getfield io.vertx.core.eventbus.impl.OutboundDeliveryContext.message:Lio/vertx/core/eventbus/impl/MessageImpl;
getfield io.vertx.core.eventbus.impl.MessageImpl.send:Z
ifeq 16
ldc "send"
goto 17
StackMap locals: io.vertx.core.eventbus.impl.OutboundDeliveryContext io.vertx.core.spi.tracing.VertxTracer java.util.function.BiConsumer
StackMap stack: io.vertx.core.eventbus.impl.MessageImpl io.vertx.core.spi.tracing.VertxTracer io.vertx.core.impl.ContextInternal io.vertx.core.spi.tracing.SpanKind io.vertx.core.tracing.TracingPolicy io.vertx.core.eventbus.impl.MessageImpl
16: ldc "publish"
StackMap locals: io.vertx.core.eventbus.impl.OutboundDeliveryContext io.vertx.core.spi.tracing.VertxTracer java.util.function.BiConsumer
StackMap stack: io.vertx.core.eventbus.impl.MessageImpl io.vertx.core.spi.tracing.VertxTracer io.vertx.core.impl.ContextInternal io.vertx.core.spi.tracing.SpanKind io.vertx.core.tracing.TracingPolicy io.vertx.core.eventbus.impl.MessageImpl java.lang.String
17: aload 2
getstatic io.vertx.core.eventbus.impl.MessageTagExtractor.INSTANCE:Lio/vertx/core/eventbus/impl/MessageTagExtractor;
invokeinterface io.vertx.core.spi.tracing.VertxTracer.sendRequest:(Lio/vertx/core/Context;Lio/vertx/core/spi/tracing/SpanKind;Lio/vertx/core/tracing/TracingPolicy;Ljava/lang/Object;Ljava/lang/String;Ljava/util/function/BiConsumer;Lio/vertx/core/spi/tracing/TagExtractor;)Ljava/lang/Object;
putfield io.vertx.core.eventbus.impl.MessageImpl.trace:Ljava/lang/Object;
end local 2 18: goto 20
19: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield io.vertx.core.eventbus.impl.OutboundDeliveryContext.ctx:Lio/vertx/core/impl/ContextInternal;
aconst_null
aload 0
getfield io.vertx.core.eventbus.impl.OutboundDeliveryContext.message:Lio/vertx/core/eventbus/impl/MessageImpl;
getfield io.vertx.core.eventbus.impl.MessageImpl.trace:Ljava/lang/Object;
aconst_null
invokestatic io.vertx.core.spi.tracing.TagExtractor.empty:()Lio/vertx/core/spi/tracing/TagExtractor;
invokeinterface io.vertx.core.spi.tracing.VertxTracer.sendResponse:(Lio/vertx/core/Context;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Throwable;Lio/vertx/core/spi/tracing/TagExtractor;)V
20: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.eventbus.impl.OutboundDeliveryContext.bus:Lio/vertx/core/eventbus/impl/EventBusImpl;
aload 0
invokevirtual io.vertx.core.eventbus.impl.EventBusImpl.sendOrPub:(Lio/vertx/core/eventbus/impl/OutboundDeliveryContext;)V
end local 1 21: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lio/vertx/core/eventbus/impl/OutboundDeliveryContext<TT;>;
2 9 1 handler Lio/vertx/core/Handler<Lio/vertx/core/eventbus/DeliveryContext;>;
8 9 2 t Ljava/lang/Throwable;
11 21 1 tracer Lio/vertx/core/spi/tracing/VertxTracer;
15 18 2 biConsumer Ljava/util/function/BiConsumer<Ljava/lang/String;Ljava/lang/String;>;
Exception table:
from to target type
2 6 7 Class java.lang.Throwable
public boolean send();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.eventbus.impl.OutboundDeliveryContext.message:Lio/vertx/core/eventbus/impl/MessageImpl;
invokevirtual io.vertx.core.eventbus.impl.MessageImpl.isSend:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/eventbus/impl/OutboundDeliveryContext<TT;>;
public java.lang.Object body();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.eventbus.impl.OutboundDeliveryContext.message:Lio/vertx/core/eventbus/impl/MessageImpl;
getfield io.vertx.core.eventbus.impl.MessageImpl.sentBody:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/eventbus/impl/OutboundDeliveryContext<TT;>;
public void handle(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast io.vertx.core.AsyncResult
invokevirtual io.vertx.core.eventbus.impl.OutboundDeliveryContext.handle:(Lio/vertx/core/AsyncResult;)V
return
LocalVariableTable:
Start End Slot Name Signature
private void lambda$0(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.vertx.core.eventbus.impl.OutboundDeliveryContext.message:Lio/vertx/core/eventbus/impl/MessageImpl;
invokevirtual io.vertx.core.eventbus.impl.MessageImpl.headers:()Lio/vertx/core/MultiMap;
aload 1
aload 2
invokeinterface io.vertx.core.MultiMap.set:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/MultiMap;
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/eventbus/impl/OutboundDeliveryContext<TT;>;
0 1 1 key Ljava/lang/String;
0 1 2 val Ljava/lang/String;
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;Lio/vertx/core/eventbus/DeliveryContext<TT;>;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
SourceFile: "OutboundDeliveryContext.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles