org.projectodd.stilts.stomp.client.protocol
Class AbstractClientControlFrameHandler
java.lang.Object
org.jboss.netty.channel.SimpleChannelUpstreamHandler
org.projectodd.stilts.stomp.client.protocol.AbstractClientHandler
org.projectodd.stilts.stomp.client.protocol.AbstractClientControlFrameHandler
- All Implemented Interfaces:
- org.jboss.netty.channel.ChannelHandler, org.jboss.netty.channel.ChannelUpstreamHandler
- Direct Known Subclasses:
- ClientReceiptHandler, StompConnectionNegotiator
public abstract class AbstractClientControlFrameHandler
- extends AbstractClientHandler
Nested classes/interfaces inherited from interface org.jboss.netty.channel.ChannelHandler |
org.jboss.netty.channel.ChannelHandler.Sharable |
Method Summary |
protected abstract void |
handleControlFrame(org.jboss.netty.channel.ChannelHandlerContext channelContext,
StompFrame frame)
|
protected void |
handleStompFrame(org.jboss.netty.channel.ChannelHandlerContext channelContext,
StompFrame frame)
|
void |
messageReceived(org.jboss.netty.channel.ChannelHandlerContext channelContext,
org.jboss.netty.channel.MessageEvent e)
|
Methods inherited from class org.jboss.netty.channel.SimpleChannelUpstreamHandler |
channelBound, channelClosed, channelConnected, channelDisconnected, channelInterestChanged, channelOpen, channelUnbound, childChannelClosed, childChannelOpen, handleUpstream, writeComplete |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractClientControlFrameHandler
public AbstractClientControlFrameHandler(ClientContext clientContext,
StompFrame.Command command)
messageReceived
public void messageReceived(org.jboss.netty.channel.ChannelHandlerContext channelContext,
org.jboss.netty.channel.MessageEvent e)
throws Exception
- Overrides:
messageReceived
in class org.jboss.netty.channel.SimpleChannelUpstreamHandler
- Throws:
Exception
handleStompFrame
protected void handleStompFrame(org.jboss.netty.channel.ChannelHandlerContext channelContext,
StompFrame frame)
handleControlFrame
protected abstract void handleControlFrame(org.jboss.netty.channel.ChannelHandlerContext channelContext,
StompFrame frame)
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.