package io.netty.channel; import java.net.SocketAddress; public interface ChannelOutboundHandler extends ChannelHandler { ChannelBufferHolder newOutboundBuffer(ChannelOutboundHandlerContext ctx) throws Exception; void bind(ChannelOutboundHandlerContext ctx, SocketAddress localAddress, ChannelFuture future) throws Exception; void connect(ChannelOutboundHandlerContext ctx, SocketAddress remoteAddress, SocketAddress localAddress, ChannelFuture future) throws Exception; void disconnect(ChannelOutboundHandlerContext ctx, ChannelFuture future) throws Exception; void close(ChannelOutboundHandlerContext ctx, ChannelFuture future) throws Exception; void deregister(ChannelOutboundHandlerContext ctx, ChannelFuture future) throws Exception; void flush(ChannelOutboundHandlerContext ctx, ChannelFuture future) throws Exception; }