Stilts 0.1.0-SNAPSHOT

org.projectodd.stilts.stomp.server.protocol
Class AbstractControlFrameHandler

java.lang.Object
  extended by org.jboss.netty.channel.SimpleChannelUpstreamHandler
      extended by org.projectodd.stilts.stomp.server.protocol.AbstractProviderHandler
          extended by org.projectodd.stilts.stomp.server.protocol.AbstractControlFrameHandler
All Implemented Interfaces:
org.jboss.netty.channel.ChannelHandler, org.jboss.netty.channel.ChannelUpstreamHandler
Direct Known Subclasses:
AbortHandler, AckHandler, BeginHandler, CommitHandler, ConnectHandler, DisconnectHandler, NackHandler, SubscribeHandler, UnsubscribeHandler

public abstract class AbstractControlFrameHandler
extends AbstractProviderHandler


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jboss.netty.channel.ChannelHandler
org.jboss.netty.channel.ChannelHandler.Sharable
 
Constructor Summary
AbstractControlFrameHandler(StompProvider provider, ConnectionContext context, StompFrame.Command command)
           
 
Method Summary
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)
           
protected  void setRequiresClientIdentification(boolean requiresClientIdentification)
           
 
Methods inherited from class org.projectodd.stilts.stomp.server.protocol.AbstractProviderHandler
exceptionCaught, getContext, getStompConnection, getStompProvider, sendError, sendErrorAndClose, sendFrame
 
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
 

Constructor Detail

AbstractControlFrameHandler

public AbstractControlFrameHandler(StompProvider provider,
                                   ConnectionContext context,
                                   StompFrame.Command command)
Method Detail

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)

setRequiresClientIdentification

protected void setRequiresClientIdentification(boolean requiresClientIdentification)

handleControlFrame

public abstract void handleControlFrame(org.jboss.netty.channel.ChannelHandlerContext channelContext,
                                        StompFrame frame)

Stilts 0.1.0-SNAPSHOT

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.