public class WebsocketApi extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
WebsocketApi.SimpleSocket |
| Constructor and Description |
|---|
WebsocketApi(Credentials credentials) |
WebsocketApi(Credentials credentials,
String host,
boolean secure) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected WebsocketApi.SimpleSocket |
connect() |
protected String |
connectHttp() |
protected WebsocketApi.SimpleSocket |
connectWs(String sessionId) |
<S> Future<S> |
send(Request<S> request) |
public WebsocketApi(Credentials credentials, String host, boolean secure) throws FlowthingsException
FlowthingsExceptionpublic WebsocketApi(Credentials credentials) throws FlowthingsException
FlowthingsExceptionpublic void close()
protected WebsocketApi.SimpleSocket connect() throws FlowthingsException
FlowthingsExceptionprotected String connectHttp() throws FlowthingsException
FlowthingsExceptionprotected WebsocketApi.SimpleSocket connectWs(String sessionId) throws FlowthingsException
FlowthingsExceptionpublic <S> Future<S> send(Request<S> request) throws FlowthingsException
FlowthingsExceptionCopyright © 2016. All rights reserved.