Stilts 0.1.0-SNAPSHOT

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

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
              extended by org.projectodd.stilts.stomp.server.protocol.ConnectHandler
All Implemented Interfaces:
org.jboss.netty.channel.ChannelHandler, org.jboss.netty.channel.ChannelUpstreamHandler

public class ConnectHandler
extends AbstractControlFrameHandler


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jboss.netty.channel.ChannelHandler
org.jboss.netty.channel.ChannelHandler.Sharable
 
Constructor Summary
ConnectHandler(StompProvider server, ConnectionContext context)
           
 
Method Summary
 void handleControlFrame(org.jboss.netty.channel.ChannelHandlerContext channelContext, StompFrame frame)
           
 void handleUpstream(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelEvent e)
           
 
Methods inherited from class org.projectodd.stilts.stomp.server.protocol.AbstractControlFrameHandler
handleStompFrame, messageReceived, setRequiresClientIdentification
 
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, writeComplete
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectHandler

public ConnectHandler(StompProvider server,
                      ConnectionContext context)
Method Detail

handleUpstream

public void handleUpstream(org.jboss.netty.channel.ChannelHandlerContext ctx,
                           org.jboss.netty.channel.ChannelEvent e)
                    throws Exception
Specified by:
handleUpstream in interface org.jboss.netty.channel.ChannelUpstreamHandler
Overrides:
handleUpstream in class org.jboss.netty.channel.SimpleChannelUpstreamHandler
Throws:
Exception

handleControlFrame

public void handleControlFrame(org.jboss.netty.channel.ChannelHandlerContext channelContext,
                               StompFrame frame)
Specified by:
handleControlFrame in class AbstractControlFrameHandler

Stilts 0.1.0-SNAPSHOT

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