Package io.vertx.mutiny.ext.bridge
Class BaseBridgeEvent
- java.lang.Object
-
- io.vertx.mutiny.core.Promise<Boolean>
-
- io.vertx.mutiny.ext.bridge.BaseBridgeEvent
-
-
Field Summary
Fields Modifier and Type Field Description static io.smallrye.mutiny.vertx.TypeArg<BaseBridgeEvent>__TYPE_ARG-
Fields inherited from class io.vertx.mutiny.core.Promise
__typeArg_0
-
-
Constructor Summary
Constructors Constructor Description BaseBridgeEvent(io.vertx.ext.bridge.BaseBridgeEvent delegate)BaseBridgeEvent(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcomplete(Boolean result)booleanequals(Object o)io.smallrye.mutiny.Uni<Boolean>future()BooleanfutureAndAwait()voidfutureAndForget()io.vertx.ext.bridge.BaseBridgeEventgetDelegate()io.vertx.core.json.JsonObjectgetRawMessage()inthashCode()static BaseBridgeEventnewInstance(io.vertx.ext.bridge.BaseBridgeEvent arg)BaseBridgeEventsetRawMessage(io.vertx.core.json.JsonObject message)StringtoString()booleantryComplete(Boolean arg0)io.vertx.ext.bridge.BridgeEventTypetype()-
Methods inherited from class io.vertx.mutiny.core.Promise
complete, fail, fail, newInstance, newInstance, promise, tryComplete, tryFail, tryFail
-
-
-
-
Field Detail
-
__TYPE_ARG
public static final io.smallrye.mutiny.vertx.TypeArg<BaseBridgeEvent> __TYPE_ARG
-
-
Constructor Detail
-
BaseBridgeEvent
public BaseBridgeEvent(io.vertx.ext.bridge.BaseBridgeEvent delegate)
-
BaseBridgeEvent
public BaseBridgeEvent(Object delegate)
-
-
Method Detail
-
getDelegate
public io.vertx.ext.bridge.BaseBridgeEvent getDelegate()
- Overrides:
getDelegatein classPromise<Boolean>
-
tryComplete
public boolean tryComplete(Boolean arg0)
- Overrides:
tryCompletein classPromise<Boolean>
-
future
@CheckReturnValue public io.smallrye.mutiny.Uni<Boolean> future()
-
futureAndAwait
public Boolean futureAndAwait()
- Overrides:
futureAndAwaitin classPromise<Boolean>
-
futureAndForget
public void futureAndForget()
- Overrides:
futureAndForgetin classPromise<Boolean>
-
type
public io.vertx.ext.bridge.BridgeEventType type()
- Returns:
- the type of the event
-
getRawMessage
public io.vertx.core.json.JsonObject getRawMessage()
- Returns:
- the raw JSON message for the event
-
setRawMessage
public BaseBridgeEvent setRawMessage(io.vertx.core.json.JsonObject message)
- Parameters:
message- the raw message- Returns:
- this reference, so it can be used fluently
-
newInstance
public static BaseBridgeEvent newInstance(io.vertx.ext.bridge.BaseBridgeEvent arg)
-
-