public class EventFeedWebSocket extends WebSocketProxy
callback, client, closeSignal, host, json, openSignal, request, scheduler, status, webSocket| Constructor and Description |
|---|
EventFeedWebSocket(okhttp3.OkHttpClient client,
String accessToken,
String did,
String dids,
String uid,
String events,
ArtikCloudWebSocketCallback callback) |
EventFeedWebSocket(String accessToken,
String did,
String dids,
String uid,
String events,
ArtikCloudWebSocketCallback callback) |
| Modifier and Type | Method and Description |
|---|---|
void |
sendEvent(EventFeedData eventFeedData) |
asString, close, closeBlocking, connect, connectBlocking, getConnectionStatus, onClose, onFailure, onMessage, onOpen, onPong, sendObject, setHostpublic EventFeedWebSocket(String accessToken, String did, String dids, String uid, String events, ArtikCloudWebSocketCallback callback) throws URISyntaxException, IOException
public EventFeedWebSocket(okhttp3.OkHttpClient client,
String accessToken,
String did,
String dids,
String uid,
String events,
ArtikCloudWebSocketCallback callback)
throws URISyntaxException,
IOException
public void sendEvent(EventFeedData eventFeedData) throws IOException
Copyright © 2016. All rights reserved.