Package io.vertx.mutiny.core.eventbus
Class DeliveryContext<T>
java.lang.Object
io.vertx.mutiny.core.eventbus.DeliveryContext<T>
- All Implemented Interfaces:
MutinyDelegate
Encapsulates a message being delivered by Vert.x as well as providing control over the message delivery.
Used with event bus interceptors.
NOTE: This class has been automatically generated from the
original
non Mutiny-ified interface using Vert.x codegen.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDeliveryContext
(io.vertx.core.eventbus.DeliveryContext delegate) DeliveryContext
(io.vertx.core.eventbus.DeliveryContext delegate, TypeArg<T> typeArg_0) DeliveryContext
(Object delegate, TypeArg<T> typeArg_0) -
Method Summary
Modifier and TypeMethodDescriptionbody()
boolean
io.vertx.core.eventbus.DeliveryContext
int
hashCode()
message()
static <T> DeliveryContext<T>
newInstance
(io.vertx.core.eventbus.DeliveryContext arg) static <T> DeliveryContext<T>
newInstance
(io.vertx.core.eventbus.DeliveryContext arg, TypeArg<T> __typeArg_T) void
next()
boolean
send()
toString()
-
Field Details
-
__TYPE_ARG
-
__typeArg_0
-
-
Constructor Details
-
DeliveryContext
public DeliveryContext(io.vertx.core.eventbus.DeliveryContext delegate) -
DeliveryContext
-
DeliveryContext
-
-
Method Details
-
getDelegate
public io.vertx.core.eventbus.DeliveryContext getDelegate()- Specified by:
getDelegate
in interfaceMutinyDelegate
- Returns:
- the delegate used by this Mutiny object of generated type
-
toString
-
equals
-
hashCode
public int hashCode() -
message
- Returns:
- The message being delivered
-
next
public void next() -
send
public boolean send()- Returns:
- true if the message is being sent (point to point) or False if the message is being published
-
body
- Returns:
- the value delivered by the message (before or after being processed by the codec)
-
newInstance
-
newInstance
public static <T> DeliveryContext<T> newInstance(io.vertx.core.eventbus.DeliveryContext arg, TypeArg<T> __typeArg_T)
-