public void init() {
log = Logging.getLogger(WebSocketDemo.class);
log.info("Adding servlet '" + getClass().getSimpleName() + "' to WebSocket listeners...");
TokenServer lServer = (TokenServer) JWebSocketFactory.getServer("ts0");
if (lServer != null) {
lServer.addListener(this);
}
}
@Override
public void processOpened(WebSocketServerEvent aEvent) {