Skip to content

Instantly share code, notes, and snippets.

@trustin
Created July 3, 2012 08:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trustin/3038512 to your computer and use it in GitHub Desktop.
Save trustin/3038512 to your computer and use it in GitHub Desktop.
public interface ChannelHandler {
void beforeAdd(ChannelHandlerContext ctx) throws Exception;
void afterAdd(ChannelHandlerContext ctx) throws Exception;
void beforeRemove(ChannelHandlerContext ctx) throws Exception;
void afterRemove(ChannelHandlerContext ctx) throws Exception;
void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception;
void userEventTriggered(ChannelHandlerContext ctx, Object evt) throws Exception;
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment