|
AeroGear SimplePush Server Netty 0.11.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectio.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>
org.jboss.aerogear.simplepush.server.netty.SockJSChannelInitializer
public class SockJSChannelInitializer
The Netty ChannelInitializer for the SimplePush Server.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler |
|---|
io.netty.channel.ChannelHandler.Sharable, io.netty.channel.ChannelHandler.Skip |
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
protected void |
initChannel(io.netty.channel.socket.SocketChannel socketChannel)
|
| Methods inherited from class io.netty.channel.ChannelInitializer |
|---|
channelRegistered |
| Methods inherited from class io.netty.channel.ChannelHandlerAdapter |
|---|
bind, channelActive, channelInactive, channelRead, channelReadComplete, channelWritabilityChanged, close, connect, disconnect, exceptionCaught, flush, handlerAdded, handlerRemoved, isSharable, read, userEventTriggered, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
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.| Method Detail |
|---|
protected void initChannel(io.netty.channel.socket.SocketChannel socketChannel)
throws Exception
initChannel in class io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>Exception
|
AeroGear SimplePush Server Netty 0.11.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||