public class BaseBridgeEvent extends Promise<Boolean>
Please consult the documentation for a full explanation.
NOTE: This class has been automatically generated from theoriginal non RX-ified interface using Vert.x codegen.| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<BaseBridgeEvent> |
__TYPE_ARG |
__typeArg_0| Constructor and Description |
|---|
BaseBridgeEvent(BaseBridgeEvent delegate) |
BaseBridgeEvent(Object delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
complete(Boolean result)
Set the result.
|
boolean |
equals(Object o) |
Future<Boolean> |
future() |
BaseBridgeEvent |
getDelegate() |
JsonObject |
getRawMessage()
Get the raw JSON message for the event.
|
int |
hashCode() |
static BaseBridgeEvent |
newInstance(BaseBridgeEvent arg) |
BaseBridgeEvent |
setRawMessage(JsonObject message)
Override the raw JSON message for the event.
|
String |
toString() |
boolean |
tryComplete(Boolean result)
Like
Promise.complete(T) but returns false when the promise is already completed instead of throwing
an IllegalStateException, it returns true otherwise. |
BridgeEventType |
type() |
complete, fail, fail, newInstance, newInstance, promise, tryComplete, tryFail, tryFailpublic static final io.vertx.lang.rx.TypeArg<BaseBridgeEvent> __TYPE_ARG
public BaseBridgeEvent(BaseBridgeEvent delegate)
public BaseBridgeEvent(Object delegate)
public BaseBridgeEvent getDelegate()
getDelegate in class Promise<Boolean>public void complete(Boolean result)
public boolean tryComplete(Boolean result)
Promise.complete(T) but returns false when the promise is already completed instead of throwing
an IllegalStateException, it returns true otherwise.tryComplete in class Promise<Boolean>result - the resultfalse when the future is already completedpublic BridgeEventType type()
public JsonObject getRawMessage()
setRawMessage(io.vertx.core.json.JsonObject) should be called with the
new message.public BaseBridgeEvent setRawMessage(JsonObject message)
message - the raw messagepublic static BaseBridgeEvent newInstance(BaseBridgeEvent arg)
Copyright © 2022 Eclipse. All rights reserved.