public class WebSocketProviderEndPoint extends Object implements org.wso2.msf4j.websocket.WebSocketEndpoint
| Constructor and Description |
|---|
WebSocketProviderEndPoint() |
| Modifier and Type | Method and Description |
|---|---|
void |
onClose(org.wso2.transport.http.netty.contract.websocket.WebSocketConnection webSocketConnection) |
void |
onError(Throwable throwable) |
void |
onMessage(String message,
String topic) |
static void |
onOpen(org.wso2.transport.http.netty.contract.websocket.WebSocketConnection webSocketConnection,
String topic) |
static void |
subscribeToTopic(String topic,
WebSocketChannel channel) |
static void |
unsubscribeFromTopic(String topic,
String sessionID) |
public static void onOpen(org.wso2.transport.http.netty.contract.websocket.WebSocketConnection webSocketConnection,
String topic)
public void onClose(org.wso2.transport.http.netty.contract.websocket.WebSocketConnection webSocketConnection)
public void onError(Throwable throwable)
public static void subscribeToTopic(String topic, WebSocketChannel channel)
Copyright © 2019 WSO2. All rights reserved.