Class ConnectionInitEvent
- All Implemented Interfaces:
MutinyDelegate
NOTE: This class has been automatically generated from the
original non Mutiny-ified interface.- See Also:
-
ConnectionInitEvent
-
Field Summary
FieldsFields inherited from class io.vertx.mutiny.core.Promise
__typeArg_0 -
Constructor Summary
ConstructorsConstructorDescriptionConnectionInitEvent(io.vertx.ext.web.handler.graphql.ws.ConnectionInitEvent delegate) Create a new instance ofConnectionInitEventdelegating to the given (non-null) instance ofConnectionInitEvent.ConnectionInitEvent(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionbooleanio.smallrye.mutiny.Uni<Object>future()Unlike the bare Vert.x variant, this method returns aUni.Unlike the bare Vert.x variant, this method returns aObject.Unlike the bare Vert.x variant, this method ignores theObjectresult or any failure.io.vertx.ext.web.handler.graphql.ws.ConnectionInitEventGet the delegate instance.inthashCode()message()ProvidesMessageType#CONNECTION_INITmessage content.static ConnectionInitEventnewInstance(io.vertx.ext.web.handler.graphql.ws.ConnectionInitEvent delegate) Creates a new instance of theConnectionInitEvent.toString()Methods inherited from class io.vertx.mutiny.core.Promise
complete, complete, complete, fail, fail, handle, newInstance, newInstance, promise, succeed, succeed, tryComplete, tryComplete, tryFail, tryFail
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
ConnectionInitEvent
public ConnectionInitEvent(io.vertx.ext.web.handler.graphql.ws.ConnectionInitEvent delegate) Create a new instance ofConnectionInitEventdelegating to the given (non-null) instance ofConnectionInitEvent. -
ConnectionInitEvent
-
-
Method Details
-
getDelegate
public io.vertx.ext.web.handler.graphql.ws.ConnectionInitEvent getDelegate()Get the delegate instance.This method returns the instance on which this shim is delegating the calls. And so, give you access to the bare API.
- Specified by:
getDelegatein interfaceMutinyDelegate- Overrides:
getDelegatein classPromise<Object>- Returns:
- the delegate instance
-
future
Unlike the bare Vert.x variant, this method returns a
Uni. The uni emits the result of the operation as item. If the operation fails, the uni emits the failure.Don't forget to subscribe on it to trigger the operation.
-
futureAndAwait
Unlike the bare Vert.x variant, this method returns a
Object. This method awaits indefinitely for the completion of the underlying asynchronous operation. If the operation completes successfully, the result is returned, otherwise the failure is thrown (potentially wrapped in aRuntimeException).- Overrides:
futureAndAwaitin classPromise<Object>- Returns:
- The operation result
- See Also:
-
Promise.future()
-
futureAndForget
Unlike the bare Vert.x variant, this method ignores the
Objectresult or any failure.- Overrides:
futureAndForgetin classPromise<Object>- Returns:
- The current instance to chain operations if needed.
- See Also:
-
Promise.future()
-
message
ProvidesMessageType#CONNECTION_INITmessage content.- Returns:
- message
-
newInstance
public static ConnectionInitEvent newInstance(io.vertx.ext.web.handler.graphql.ws.ConnectionInitEvent delegate) Creates a new instance of theConnectionInitEvent. -
hashCode
public int hashCode() -
equals
-
toString
-