public class SolonWebSocketEndpoint
extends javax.websocket.Endpoint
构造器和说明 |
---|
SolonWebSocketEndpoint() |
限定符和类型 | 方法和说明 |
---|---|
static void |
addEndpoint(javax.servlet.ServletContext sc) |
void |
onClose(javax.websocket.Session session,
javax.websocket.CloseReason closeReason) |
void |
onError(javax.websocket.Session session,
java.lang.Throwable thr) |
void |
onOpen(javax.websocket.Session session,
javax.websocket.EndpointConfig endpointConfig) |
public static void addEndpoint(javax.servlet.ServletContext sc)
public void onOpen(javax.websocket.Session session, javax.websocket.EndpointConfig endpointConfig)
onOpen
在类中 javax.websocket.Endpoint
public void onClose(javax.websocket.Session session, javax.websocket.CloseReason closeReason)
onClose
在类中 javax.websocket.Endpoint
public void onError(javax.websocket.Session session, java.lang.Throwable thr)
onError
在类中 javax.websocket.Endpoint