org.jboss.aerogear.simplepush.server.netty
Class SimplePushSockJSService
java.lang.Object
org.jboss.aerogear.simplepush.server.netty.SimplePushSockJSService
- All Implemented Interfaces:
- org.jboss.aerogear.io.netty.handler.codec.sockjs.SockJsService
public class SimplePushSockJSService
- extends Object
- implements org.jboss.aerogear.io.netty.handler.codec.sockjs.SockJsService
SimplePush server implementation using SockJS.
|
Constructor Summary |
SimplePushSockJSService(org.jboss.aerogear.io.netty.handler.codec.sockjs.SockJsConfig sockjsConfig,
org.jboss.aerogear.simplepush.server.SimplePushServer simplePushServer)
Sole constructor. |
|
Method Summary |
org.jboss.aerogear.io.netty.handler.codec.sockjs.SockJsConfig |
config()
|
void |
onClose()
|
void |
onMessage(String message)
|
void |
onOpen(org.jboss.aerogear.io.netty.handler.codec.sockjs.SockJsSessionContext session)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimplePushSockJSService
public SimplePushSockJSService(org.jboss.aerogear.io.netty.handler.codec.sockjs.SockJsConfig sockjsConfig,
org.jboss.aerogear.simplepush.server.SimplePushServer simplePushServer)
- Sole constructor.
- Parameters:
sockjsConfig - the SockJS SockJsConfig for this service.simplePushServer - the SimplePushServer that this instance will use.
config
public org.jboss.aerogear.io.netty.handler.codec.sockjs.SockJsConfig config()
- Specified by:
config in interface org.jboss.aerogear.io.netty.handler.codec.sockjs.SockJsService
onOpen
public void onOpen(org.jboss.aerogear.io.netty.handler.codec.sockjs.SockJsSessionContext session)
- Specified by:
onOpen in interface org.jboss.aerogear.io.netty.handler.codec.sockjs.SockJsService
onMessage
public void onMessage(String message)
throws Exception
- Specified by:
onMessage in interface org.jboss.aerogear.io.netty.handler.codec.sockjs.SockJsService
- Throws:
Exception
onClose
public void onClose()
- Specified by:
onClose in interface org.jboss.aerogear.io.netty.handler.codec.sockjs.SockJsService
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.