Uses of Class
com.wowza.wms.websocket.model.WebSocketMessage
-
Packages that use WebSocketMessage Package Description com.wowza.wms.http com.wowza.wms.websocket.model -
-
Uses of WebSocketMessage in com.wowza.wms.http
Methods in com.wowza.wms.http with parameters of type WebSocketMessage Modifier and Type Method Description int
IHTTPProvider. broadcastWebSocketMessage(WebSocketMessage message)
Broadcast a WebSocket message to all connected WebSocket sessions. -
Uses of WebSocketMessage in com.wowza.wms.websocket.model
Methods in com.wowza.wms.websocket.model that return WebSocketMessage Modifier and Type Method Description static WebSocketMessage
WebSocketMessage. createMessageBinary(boolean mask, byte[] buffer)
Create binary messagestatic WebSocketMessage
WebSocketMessage. createMessageBinary(boolean mask, byte[] buffer, int offset, int len)
Create binary messagestatic WebSocketMessage
WebSocketMessage. createMessageBinary(boolean mask, com.wowza.util.IFasterByteArrayOutputStream buffer, int offset, int len)
Create binary messagestatic WebSocketMessage
WebSocketMessage. createMessageClose(boolean mask, int reasonCode, String reasonStr)
Create a close messagestatic WebSocketMessage
WebSocketMessage. createMessagePing(boolean mask)
Create a ping message (body will be 8-byte UTC in millseconds)static WebSocketMessage
WebSocketMessage. createMessagePing(boolean mask, byte[] body)
Create ping messagestatic WebSocketMessage
WebSocketMessage. createMessagePong(boolean mask, WebSocketMessage messagePing)
Create pong messagestatic WebSocketMessage
WebSocketMessage. createMessageText(boolean mask, String messageStr)
Create text messageMethods in com.wowza.wms.websocket.model with parameters of type WebSocketMessage Modifier and Type Method Description static WebSocketMessage
WebSocketMessage. createMessagePong(boolean mask, WebSocketMessage messagePing)
Create pong messagevoid
IWebSocketEventNotify. onMessage(IWebSocketSession webSocketSession, WebSocketMessage message)
Triggered when WebSocket message (binary or text) is received (control messages are not included).void
WebSocketEventNotifyBase. onMessage(IWebSocketSession webSocketSession, WebSocketMessage message)
Triggered when WebSocket message (binary or text) is received (control messages are not included).void
IWebSocketSession. sendMessage(WebSocketMessage message)
Send a WebSocket message from server to client
-