public interface UIOutputCallbackControllerService
| Modifier and Type | Method and Description |
|---|---|
com.google.gson.JsonObject |
retrieveEvents(String streamName,
String version,
String lastUpdatedTime)
Used to return events per http GET request.
|
void |
subscribeWebsocket(String streamName,
String version,
javax.websocket.Session session)
Used to subscribe the session id and stream id for later web socket connectivity
|
void |
unsubscribeWebsocket(String streamName,
String version,
javax.websocket.Session session)
Used to return events per streamId
|
void subscribeWebsocket(String streamName, String version, javax.websocket.Session session)
streamName - - Stream name which user register to.version - - Stream version which user uses.session - - Session which user registered.void unsubscribeWebsocket(String streamName, String version, javax.websocket.Session session)
streamName - - Stream name which user register to.version - - Stream version which user uses.session - - Session which user subscribed to.com.google.gson.JsonObject retrieveEvents(String streamName, String version, String lastUpdatedTime)
streamName - - Stream name which user register to.version - - Stream version which user uses.lastUpdatedTime - - Last dispatched events time.Copyright © 2015 WSO2. All rights reserved.