public class BridgeEvent extends BaseBridgeEvent
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<BridgeEvent> |
__TYPE_ARG |
__typeArg_0| Constructor and Description |
|---|
BridgeEvent(BridgeEvent delegate) |
BridgeEvent(Object delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
complete(Boolean result)
Set the result.
|
boolean |
equals(Object o) |
Future<Boolean> |
future() |
BridgeEvent |
getDelegate() |
int |
hashCode() |
static BridgeEvent |
newInstance(BridgeEvent arg) |
BridgeEvent |
setRawMessage(JsonObject message)
Get the raw JSON message for the event.
|
NetSocket |
socket()
Get the SockJSSocket instance corresponding to 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. |
getRawMessage, newInstance, typecomplete, fail, fail, newInstance, newInstance, promise, tryComplete, tryFail, tryFailpublic static final io.vertx.lang.rx.TypeArg<BridgeEvent> __TYPE_ARG
public BridgeEvent(BridgeEvent delegate)
public BridgeEvent(Object delegate)
public String toString()
toString in class BaseBridgeEventpublic boolean equals(Object o)
equals in class BaseBridgeEventpublic int hashCode()
hashCode in class BaseBridgeEventpublic BridgeEvent getDelegate()
getDelegate in class BaseBridgeEventpublic void complete(Boolean result)
complete in class BaseBridgeEventresult - the resultpublic 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 BaseBridgeEventresult - the resultfalse when the future is already completedpublic Future<Boolean> future()
future in class BaseBridgeEventpublic BridgeEvent setRawMessage(JsonObject message)
setRawMessage in class BaseBridgeEventmessage - the raw messagepublic NetSocket socket()
public static BridgeEvent newInstance(BridgeEvent arg)
Copyright © 2021 Eclipse. All rights reserved.