public class WebSocketEndPoint
extends javax.websocket.Endpoint
Constructor and Description |
---|
WebSocketEndPoint() |
Modifier and Type | Method and Description |
---|---|
void |
onClose(javax.websocket.Session wsession,
javax.websocket.CloseReason closeReason) |
void |
onError(javax.websocket.Session wsession,
java.lang.Throwable throwable) |
void |
onOpen(javax.websocket.Session wsession,
javax.websocket.EndpointConfig config) |
protected void |
sendText(java.lang.String text) |
protected void |
setWebSocketServerPush(WebSocketServerPush wssp) |
public void onOpen(javax.websocket.Session wsession, javax.websocket.EndpointConfig config)
onOpen
in class javax.websocket.Endpoint
public void onClose(javax.websocket.Session wsession, javax.websocket.CloseReason closeReason)
onClose
in class javax.websocket.Endpoint
public void onError(javax.websocket.Session wsession, java.lang.Throwable throwable)
onError
in class javax.websocket.Endpoint
protected void sendText(java.lang.String text) throws java.io.IOException
java.io.IOException
protected void setWebSocketServerPush(WebSocketServerPush wssp)
Copyright © 2005-2018 Potix Corporation. All Rights Reserved.