@ChannelHandler.Sharable
public class CountConnectionOutboundHandler
extends io.netty.channel.ChannelOutboundHandlerAdapter
| Constructor and Description |
|---|
CountConnectionOutboundHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
close(io.netty.channel.ChannelHandlerContext ctx,
io.netty.channel.ChannelPromise promise) |
void |
connect(io.netty.channel.ChannelHandlerContext ctx,
SocketAddress remoteAddress,
SocketAddress localAddress,
io.netty.channel.ChannelPromise promise) |
int |
current() |
void |
reset() |
int |
total() |
bind, deregister, disconnect, flush, read, writeexceptionCaught, handlerAdded, handlerRemoved, isSharablepublic void connect(io.netty.channel.ChannelHandlerContext ctx,
SocketAddress remoteAddress,
SocketAddress localAddress,
io.netty.channel.ChannelPromise promise)
throws Exception
connect in interface io.netty.channel.ChannelOutboundHandlerconnect in class io.netty.channel.ChannelOutboundHandlerAdapterExceptionpublic void close(io.netty.channel.ChannelHandlerContext ctx,
io.netty.channel.ChannelPromise promise)
throws Exception
close in interface io.netty.channel.ChannelOutboundHandlerclose in class io.netty.channel.ChannelOutboundHandlerAdapterExceptionpublic int current()
public int total()
public void reset()
Copyright © 2014. All rights reserved.