Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<ApolloWSConnectionInitEvent> |
__TYPE_ARG |
__typeArg_0
Constructor and Description |
---|
ApolloWSConnectionInitEvent(ApolloWSConnectionInitEvent delegate) |
ApolloWSConnectionInitEvent(Object delegate) |
Modifier and Type | Method and Description |
---|---|
void |
complete(Object result)
Set the result.
|
boolean |
equals(Object o) |
Future<Object> |
future() |
ApolloWSConnectionInitEvent |
getDelegate() |
int |
hashCode() |
ApolloWSMessage |
message()
Provides message content.
|
static ApolloWSConnectionInitEvent |
newInstance(ApolloWSConnectionInitEvent arg) |
String |
toString() |
boolean |
tryComplete(Object result)
Like
Promise.complete(T) but returns false when the promise is already completed instead of throwing
an IllegalStateException , it returns true otherwise. |
complete, fail, fail, newInstance, newInstance, promise, tryComplete, tryFail, tryFail
public static final io.vertx.lang.rx.TypeArg<ApolloWSConnectionInitEvent> __TYPE_ARG
public ApolloWSConnectionInitEvent(ApolloWSConnectionInitEvent delegate)
public ApolloWSConnectionInitEvent(Object delegate)
public ApolloWSConnectionInitEvent getDelegate()
getDelegate
in class Promise<Object>
public void complete(Object result)
public boolean tryComplete(Object 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<Object>
result
- the resultfalse
when the future is already completedpublic ApolloWSMessage message()
public static ApolloWSConnectionInitEvent newInstance(ApolloWSConnectionInitEvent arg)
Copyright © 2022 Eclipse. All rights reserved.