public class VertxNetHandler extends VertxHandler<NetSocketImpl>
| Constructor and Description |
|---|
VertxNetHandler(Map<io.netty.channel.Channel,NetSocketImpl> connectionMap) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
channelRead(NetSocketImpl sock,
ContextImpl context,
io.netty.channel.ChannelHandlerContext chctx,
Object msg) |
protected NetSocketImpl |
getConnection(io.netty.channel.Channel channel) |
protected NetSocketImpl |
removeConnection(io.netty.channel.Channel channel) |
protected Object |
safeObject(Object msg,
io.netty.buffer.ByteBufAllocator allocator) |
channelInactive, channelRead, channelReadComplete, channelWritabilityChanged, exceptionCaught, getContext, safeBuffer, userEventTriggeredbind, close, connect, deregister, disconnect, flush, read, writechannelActive, channelRegistered, channelUnregisteredhandlerAdded, handlerRemoved, isSharablepublic VertxNetHandler(Map<io.netty.channel.Channel,NetSocketImpl> connectionMap)
protected NetSocketImpl getConnection(io.netty.channel.Channel channel)
getConnection in class VertxHandler<NetSocketImpl>protected NetSocketImpl removeConnection(io.netty.channel.Channel channel)
removeConnection in class VertxHandler<NetSocketImpl>protected void channelRead(NetSocketImpl sock, ContextImpl context, io.netty.channel.ChannelHandlerContext chctx, Object msg) throws Exception
channelRead in class VertxHandler<NetSocketImpl>Exceptionprotected Object safeObject(Object msg, io.netty.buffer.ByteBufAllocator allocator) throws Exception
safeObject in class VertxHandler<NetSocketImpl>ExceptionCopyright © 2015. All Rights Reserved.