Package org.zkoss.zkmax.au.websocket
Class WebSocketEndPoint
java.lang.Object
jakarta.websocket.Endpoint
org.zkoss.zkmax.au.websocket.WebSocketEndPoint
- All Implemented Interfaces:
Serializable
A WebSocket EndPoint for WebSocket based Update Engine and WebSocket implemented ServerPush.
- Since:
- 8.5.0
- Author:
- wenninghsu
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
WebSocketEndPoint
public WebSocketEndPoint()
-
-
Method Details
-
onOpen
public void onOpen(jakarta.websocket.Session wsession, jakarta.websocket.EndpointConfig config) - Specified by:
onOpenin classjakarta.websocket.Endpoint
-
onClose
public void onClose(jakarta.websocket.Session wsession, jakarta.websocket.CloseReason closeReason) - Overrides:
onClosein classjakarta.websocket.Endpoint
-
onError
- Overrides:
onErrorin classjakarta.websocket.Endpoint
-
sendText
- Throws:
IOException
-
setWebSocketServerPush
-