Class ConnectionInitEvent
java.lang.Object
io.vertx.rxjava3.core.Promise<Object>
io.vertx.rxjava3.ext.web.handler.graphql.ws.ConnectionInitEvent
- All Implemented Interfaces:
io.vertx.lang.rx.RxDelegate
-
Field Summary
FieldsFields inherited from class Promise
__typeArg_0 -
Constructor Summary
ConstructorsConstructorDescriptionConnectionInitEvent(ConnectionInitEvent delegate) ConnectionInitEvent(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionvoidSet the result.voidbooleanfuture()voidhandle(AsyncResult<Object> asyncResult) Succeed or fail this promise with the event.inthashCode()message()Provides message content.static ConnectionInitEventrxFuture()voidtoString()booleantryComplete(Object result) LikePromise.complete(T, Throwable)but returnsfalsewhen the promise is already completed instead of throwing anIllegalStateException, it returnstrueotherwise.Methods inherited from class Promise
complete, fail, fail, newInstance, newInstance, promise, succeed, tryComplete, tryFail, tryFail
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
ConnectionInitEvent
-
ConnectionInitEvent
-
-
Method Details
-
toString
-
equals
-
hashCode
-
getDelegate
- Specified by:
getDelegatein interfaceio.vertx.lang.rx.RxDelegate- Overrides:
getDelegatein classPromise<Object>
-
complete
-
complete
-
succeed
-
tryComplete
LikePromise.complete(T, Throwable)but returnsfalsewhen the promise is already completed instead of throwing anIllegalStateException, it returnstrueotherwise.- Overrides:
tryCompletein classPromise<Object>- Parameters:
result- the result- Returns:
falsewhen the future is already completed
-
future
-
rxFuture
-
message
-
handle
Succeed or fail this promise with the event. -
newInstance
-