Class ConnectionInitEvent
- java.lang.Object
-
- io.vertx.reactivex.core.Promise<Object>
-
- io.vertx.reactivex.ext.web.handler.graphql.ws.ConnectionInitEvent
-
-
Field Summary
Fields Modifier and Type Field Description static io.vertx.lang.rx.TypeArg<ConnectionInitEvent>__TYPE_ARG-
Fields inherited from class io.vertx.reactivex.core.Promise
__typeArg_0
-
-
Constructor Summary
Constructors Constructor Description ConnectionInitEventβ(ConnectionInitEvent delegate)ConnectionInitEventβ(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcompleteβ(Object result)Set the result.voidcompleteβ(Object result, Throwable failure)booleanequalsβ(Object o)Future<Object>future()ConnectionInitEventgetDelegate()voidhandleβ(AsyncResult<Object> asyncResult)Succeed or fail this promise with the event.inthashCode()Messagemessage()Provides message content.static ConnectionInitEventnewInstanceβ(ConnectionInitEvent arg)Single<Object>rxFuture()voidsucceedβ(Object result)StringtoString()booleantryCompleteβ(Object result)LikePromise.complete(T, java.lang.Throwable)but returnsfalsewhen the promise is already completed instead of throwing anIllegalStateException, it returnstrueotherwise.-
Methods inherited from class io.vertx.reactivex.core.Promise
complete, fail, fail, newInstance, newInstance, promise, succeed, tryComplete, tryFail, tryFail
-
-
-
-
Field Detail
-
__TYPE_ARG
public static final io.vertx.lang.rx.TypeArg<ConnectionInitEvent> __TYPE_ARG
-
-
Constructor Detail
-
ConnectionInitEvent
public ConnectionInitEventβ(ConnectionInitEvent delegate)
-
ConnectionInitEvent
public ConnectionInitEventβ(Object delegate)
-
-
Method Detail
-
getDelegate
public ConnectionInitEvent getDelegate()
- Specified by:
getDelegatein interfaceio.vertx.lang.rx.RxDelegate- Overrides:
getDelegatein classPromise<Object>
-
complete
public void completeβ(Object result)
Set the result. Any handler will be called, if there is one, and the promise will be marked as completed.Any handler set on the associated promise will be called.
-
tryComplete
public boolean tryCompleteβ(Object result)
LikePromise.complete(T, java.lang.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
-
message
public Message message()
Provides message content.- Returns:
- message
-
handle
public void handleβ(AsyncResult<Object> asyncResult)
Succeed or fail this promise with the event.
-
newInstance
public static ConnectionInitEvent newInstanceβ(ConnectionInitEvent arg)
-
-