public class WebSocketChannelHandler
extends org.jboss.netty.channel.SimpleChannelUpstreamHandler
Constructor and Description |
---|
WebSocketChannelHandler(EntityManagerFactory emf,
ServiceManagerFactory smf,
ManagementService management,
org.apache.shiro.mgt.SessionsSecurityManager securityManager,
boolean ssl) |
Modifier and Type | Method and Description |
---|---|
void |
addSubscription(String path,
org.jboss.netty.channel.Channel channel) |
void |
channelDisconnected(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent e) |
void |
exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ExceptionEvent e) |
EntityManagerFactory |
getEmf() |
ManagementService |
getOrganizations() |
org.apache.shiro.mgt.SessionsSecurityManager |
getSecurityManager() |
ServiceManagerFactory |
getSmf() |
org.jboss.netty.channel.group.ChannelGroup |
getSubscriptionGroup(String path) |
void |
messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.MessageEvent e) |
void |
removeSubscription(String path,
org.jboss.netty.channel.Channel channel) |
public WebSocketChannelHandler(EntityManagerFactory emf, ServiceManagerFactory smf, ManagementService management, org.apache.shiro.mgt.SessionsSecurityManager securityManager, boolean ssl)
public EntityManagerFactory getEmf()
public ServiceManagerFactory getSmf()
public ManagementService getOrganizations()
public org.apache.shiro.mgt.SessionsSecurityManager getSecurityManager()
public void exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ExceptionEvent e)
exceptionCaught
in class org.jboss.netty.channel.SimpleChannelUpstreamHandler
public void channelDisconnected(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent e) throws Exception
channelDisconnected
in class org.jboss.netty.channel.SimpleChannelUpstreamHandler
Exception
public void messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.MessageEvent e) throws Exception
messageReceived
in class org.jboss.netty.channel.SimpleChannelUpstreamHandler
Exception
public void addSubscription(String path, org.jboss.netty.channel.Channel channel)
public void removeSubscription(String path, org.jboss.netty.channel.Channel channel)
public org.jboss.netty.channel.group.ChannelGroup getSubscriptionGroup(String path)
Copyright © 2013. All Rights Reserved.