public class SockJSChannelInitializer
extends io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>
ChannelInitializer for the SimplePush Server.| Constructor and Description |
|---|
SockJSChannelInitializer(org.jboss.aerogear.simplepush.server.SimplePushServerConfig simplePushConfig,
org.jboss.aerogear.simplepush.server.datastore.DataStore datastore,
org.jboss.aerogear.io.netty.handler.codec.sockjs.SockJsConfig sockjsConfig,
io.netty.util.concurrent.EventExecutorGroup backgroundGroup)
Sole constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
initChannel(io.netty.channel.socket.SocketChannel socketChannel) |
public SockJSChannelInitializer(org.jboss.aerogear.simplepush.server.SimplePushServerConfig simplePushConfig,
org.jboss.aerogear.simplepush.server.datastore.DataStore datastore,
org.jboss.aerogear.io.netty.handler.codec.sockjs.SockJsConfig sockjsConfig,
io.netty.util.concurrent.EventExecutorGroup backgroundGroup)
simplePushConfig - the SimplePushServerConfig configuration.datastore - the DataStore to be passed to the SimplePushServiceFactory.sockjsConfig - the SockJS SimplePushServerConfig.backgroundGroup - an EventExecutorGroup to be used for the UserAgentReaperHandler.Copyright © 2014 JBoss by Red Hat. All Rights Reserved.