CompleteChannelFuture which is succeeded already. It is
recommended to use Channel#newSucceededFuture() instead of
calling the constructor of this future.
| Access | Constructor and Description |
|---|---|
| pack-priv | SucceededChannelFuture(Channel
the channel, EventExecutor executor)Channel associated with this futureCreates a new instance. |
| Modifier and Type | Method and Description |
|---|---|
| public Throwable | cause()
Implements io. |
| public boolean | isSuccess()
Implements io. true if and only if the I/O operation was completed
successfully.
|
| SucceededChannelFuture | back to summary |
|---|---|
| pack-priv SucceededChannelFuture(Channel channel, EventExecutor executor) Creates a new instance. | |
| cause | back to summary |
|---|---|
| public Throwable cause() Implements io. Doc from io. Returns the cause of the failed I/O operation if the I/O operation has failed. | |
| isSuccess | back to summary |
|---|---|
| public boolean isSuccess() Implements io. Doc from io. Returns
| |