Constructor and Description |
---|
WebSocketEndPoint(AbstractWebSocketTransport transport,
BayeuxContext bayeuxContext) |
Modifier and Type | Method and Description |
---|---|
void |
onClose(javax.websocket.Session wsSession,
javax.websocket.CloseReason closeReason) |
void |
onError(javax.websocket.Session wsSession,
Throwable failure) |
void |
onMessage(String data) |
void |
onOpen(javax.websocket.Session wsSession,
javax.websocket.EndpointConfig config) |
String |
toString() |
protected void |
writeComplete(AbstractWebSocketEndPoint.Context context,
List<ServerMessage> messages) |
public WebSocketEndPoint(AbstractWebSocketTransport transport, BayeuxContext bayeuxContext)
public void onOpen(javax.websocket.Session wsSession, javax.websocket.EndpointConfig config)
onOpen
in class javax.websocket.Endpoint
public void onMessage(String data)
onMessage
in interface javax.websocket.MessageHandler.Whole<String>
public void onClose(javax.websocket.Session wsSession, javax.websocket.CloseReason closeReason)
onClose
in class javax.websocket.Endpoint
public void onError(javax.websocket.Session wsSession, Throwable failure)
onError
in class javax.websocket.Endpoint
protected void writeComplete(AbstractWebSocketEndPoint.Context context, List<ServerMessage> messages)
Copyright © 2008–2024 The CometD Project. All rights reserved.