org.projectodd.stilts.stomp.server.protocol
Class AbstractProviderHandler
java.lang.Object
org.jboss.netty.channel.SimpleChannelUpstreamHandler
org.projectodd.stilts.stomp.server.protocol.AbstractProviderHandler
- All Implemented Interfaces:
- org.jboss.netty.channel.ChannelHandler, org.jboss.netty.channel.ChannelUpstreamHandler
- Direct Known Subclasses:
- AbstractControlFrameHandler, ReceiptHandler, SendHandler
public abstract class AbstractProviderHandler
- extends org.jboss.netty.channel.SimpleChannelUpstreamHandler
Nested classes/interfaces inherited from interface org.jboss.netty.channel.ChannelHandler |
org.jboss.netty.channel.ChannelHandler.Sharable |
Methods inherited from class org.jboss.netty.channel.SimpleChannelUpstreamHandler |
channelBound, channelClosed, channelConnected, channelDisconnected, channelInterestChanged, channelOpen, channelUnbound, childChannelClosed, childChannelOpen, handleUpstream, messageReceived, writeComplete |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractProviderHandler
public AbstractProviderHandler(StompProvider provider,
ConnectionContext context)
getStompProvider
public StompProvider getStompProvider()
getContext
public ConnectionContext getContext()
getStompConnection
public StompConnection getStompConnection()
sendFrame
protected org.jboss.netty.channel.ChannelFuture sendFrame(org.jboss.netty.channel.ChannelHandlerContext channelContext,
StompFrame frame)
sendError
protected org.jboss.netty.channel.ChannelFuture sendError(org.jboss.netty.channel.ChannelHandlerContext channelContext,
String message,
StompFrame inReplyTo)
sendErrorAndClose
protected void sendErrorAndClose(org.jboss.netty.channel.ChannelHandlerContext channelContext,
String message,
StompFrame inReplyTo)
exceptionCaught
public void exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ExceptionEvent e)
throws Exception
- Overrides:
exceptionCaught
in class org.jboss.netty.channel.SimpleChannelUpstreamHandler
- Throws:
Exception
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.