Skip to content

Instantly share code, notes, and snippets.

@oshothebig
Created September 3, 2011 10:08
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 oshothebig/1190954 to your computer and use it in GitHub Desktop.
Save oshothebig/1190954 to your computer and use it in GitHub Desktop.
public void channelConnected(ChannelHandlerContext ctx, ChannelStateEvent e) throws Exception {
OFMessage out = factory.getMessage(OFType.HELLO);
ctx.getChannel().write(out);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment