public class StompConnectionNegotiator extends AbstractClientControlFrameHandler
This handler reacts to Netty's CONNECTED event and handles the handshake of the STOMP CONNECT and CONNECTED interaction.
| Constructor and Description |
|---|
StompConnectionNegotiator(ClientContext clientContext,
String host) |
| Modifier and Type | Method and Description |
|---|---|
void |
channelConnected(org.jboss.netty.channel.ChannelHandlerContext context,
org.jboss.netty.channel.ChannelStateEvent e) |
protected void |
handleControlFrame(org.jboss.netty.channel.ChannelHandlerContext channelContext,
StompFrame frame) |
handleStompFrame, messageReceivedexceptionCaught, getClientContext, sendError, sendErrorAndClose, sendFramepublic StompConnectionNegotiator(ClientContext clientContext, String host) throws NoSuchAlgorithmException
NoSuchAlgorithmExceptionpublic void channelConnected(org.jboss.netty.channel.ChannelHandlerContext context,
org.jboss.netty.channel.ChannelStateEvent e)
throws Exception
channelConnected in class org.jboss.netty.channel.SimpleChannelUpstreamHandlerExceptionprotected void handleControlFrame(org.jboss.netty.channel.ChannelHandlerContext channelContext,
StompFrame frame)
handleControlFrame in class AbstractClientControlFrameHandlerCopyright © 2013 JBoss by Red Hat. All Rights Reserved.