io.vertx.core.net.NetServer and io.vertx.core.net.NetClient :
| Modifier and Type | Method and Description |
|---|---|
| public ChannelHandlerContext | Returns: the channel handler contextReturns the |
| public NetSocketInternal | Returns: a reference to this, so the API can be used fluentlythe handler to set handler)Set an handler to process pipeline user events. |
| public NetSocketInternal | Returns: a reference to this, so the API can be used fluentlythe handler to set handler)Set a |
| public Future | Returns: a future completed with the resultthe message to write, it should be handled by one of the channel pipeline handlers message)Write a message in the channel pipeline. |
| public NetSocketInternal | writeMessage(Object message, Handler<AsyncResult<Void>> handler)
Like |
| channelHandlerContext | back to summary |
|---|---|
| public ChannelHandlerContext channelHandlerContext() Returns the
Handlers should be inserted in the pipeline using
| |
| eventHandler | back to summary |
|---|---|
| public NetSocketInternal eventHandler(Handler<Object> handler) Set an handler to process pipeline user events.
The handler should take care of releasing event, e.g calling
| |
| messageHandler | back to summary |
|---|---|
| public NetSocketInternal messageHandler(Handler<Object> handler) Set a
The
The handler replaces any
| |
| writeMessage | back to summary |
|---|---|
| public Future Write a message in the channel pipeline. When a read operation is in progress, the flush operation is delayed until the read operation completes. | |
| writeMessage | back to summary |
|---|---|
| public NetSocketInternal writeMessage(Object message, Handler<AsyncResult<Void>> handler) Like | |