public class StandartClientWebSocketService extends ClientWebSocketService
| Modifier and Type | Class and Description |
|---|---|
class |
StandartClientWebSocketService.RequestFuture |
ClientWebSocketService.EventHandler, ClientWebSocketService.OnCloseCallback, ClientWebSocketService.ReconnectCallback| Modifier and Type | Field and Description |
|---|---|
WaitEventHandler |
waitEventHandler |
gson, onCloseCallback, onConnect, reconnectCallback, requests, resultsbootstrap, ch, isClosed, port, ssl, webSocketClientHandler| Constructor and Description |
|---|
StandartClientWebSocketService(java.lang.String address) |
| Modifier and Type | Method and Description |
|---|---|
StandartClientWebSocketService.RequestFuture |
asyncSendRequest(WebSocketRequest request) |
static StandartClientWebSocketService |
initWebSockets(java.lang.String address,
boolean async) |
WebSocketEvent |
sendRequest(WebSocketRequest request) |
appendTypeAdapters, registerHandler, registerRequests, registerResults, sendObject, sendObject, waitIfNotConnectedclose, eval, open, sendpublic WaitEventHandler waitEventHandler
public StandartClientWebSocketService(java.lang.String address)
throws javax.net.ssl.SSLException
javax.net.ssl.SSLExceptionpublic WebSocketEvent sendRequest(WebSocketRequest request) throws java.io.IOException, java.lang.InterruptedException
java.io.IOExceptionjava.lang.InterruptedExceptionpublic StandartClientWebSocketService.RequestFuture asyncSendRequest(WebSocketRequest request) throws java.io.IOException
java.io.IOExceptionpublic static StandartClientWebSocketService initWebSockets(java.lang.String address, boolean async)