public class JavaxWebSocketProcessor extends AbstractWebSocketProcessor
processor
that integrates with
JSR 356 web socket
implementation.Constructor and Description |
---|
JavaxWebSocketProcessor(javax.websocket.Session session,
WebApplication application,
javax.websocket.EndpointConfig endpointConfig)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
onOpen(Object containerConnection)
A client successfully has made a web socket connection.
|
broadcastMessage, getApplication, getSessionId, onClose, onConnect, onError, onMessage, onMessage
public JavaxWebSocketProcessor(javax.websocket.Session session, WebApplication application, javax.websocket.EndpointConfig endpointConfig)
session
- the WebSocket sessionapplication
- endpointConfig
- public void onOpen(Object containerConnection)
IWebSocketProcessor
containerConnection
- the web socket connection to use to communicate with the clientCopyright © 2006–2021 Apache Software Foundation. All rights reserved.