DeliveryContext

Encapsulates a message being delivered by Vert.x as well as providing control over the message delivery.

Used with event bus interceptors.

package

Default

Methods

__construct

__construct() 

body

body() : mixed

Response

mixed

the value delivered by the message (before or after being processed by the codec)

message

message() : \io\vertx\jphp\core\eventbus\Message<T>

Response

\io\vertx\jphp\core\eventbus\Message

The message being delivered

Call the next interceptor

next() : void

send

send() : boolean

Response

boolean

true if the message is being sent (point to point) or False if the message is being published