Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<ConnectionInitEvent> |
__TYPE_ARG |
__typeArg_0
Constructor and Description |
---|
ConnectionInitEvent(ConnectionInitEvent delegate) |
ConnectionInitEvent(Object delegate) |
Modifier and Type | Method and Description |
---|---|
void |
complete(Object result)
Set the result.
|
boolean |
equals(Object o) |
Future<Object> |
future() |
ConnectionInitEvent |
getDelegate() |
int |
hashCode() |
Message |
message()
Provides message content.
|
static ConnectionInitEvent |
newInstance(ConnectionInitEvent 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<ConnectionInitEvent> __TYPE_ARG
public ConnectionInitEvent(ConnectionInitEvent delegate)
public ConnectionInitEvent(Object delegate)
public ConnectionInitEvent getDelegate()
getDelegate
in class Promise<Object>
public void complete(Object result)
Any handler set on the associated promise will be called.
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 Message message()
public static ConnectionInitEvent newInstance(ConnectionInitEvent arg)
Copyright © 2023 Eclipse. All rights reserved.