public class SubscriptionEndpoint extends Object
| Constructor and Description |
|---|
SubscriptionEndpoint() |
| Modifier and Type | Method and Description |
|---|---|
void |
onClose(javax.websocket.Session session,
javax.websocket.CloseReason reason,
String streamName,
String version)
Web socket onClose - Remove the registered sessions
|
void |
onError(javax.websocket.Session session,
Throwable throwable,
String streamName,
String version)
Web socket onError - Remove the registered sessions
|
public void onClose(javax.websocket.Session session,
javax.websocket.CloseReason reason,
String streamName,
String version)
session - - Users registered session.reason - - Status code for web-socket close.streamName - - StreamName extracted from the ws url.version - - Version extracted from the ws url.public void onError(javax.websocket.Session session,
Throwable throwable,
String streamName,
String version)
session - - Users registered session.throwable - - Status code for web-socket close.streamName - - StreamName extracted from the ws url.version - - Version extracted from the ws url.Copyright © 2017 WSO2. All rights reserved.