public interface WebSocketAdapter
| Modifier and Type | Method and Description |
|---|---|
void |
closeClinet() |
void |
closeIncommingSession() |
void |
closeOutgoingSession() |
void |
connect(URI url) |
void |
onWebSocketBinary(byte[] data,
int offset,
int length) |
void |
onWebSocketClose(int statusCode,
String reason) |
void |
onWebSocketConnect() |
void |
onWebSocketConnectError(Throwable cause) |
void |
onWebSocketConnecting() |
void |
onWebSocketError(Throwable cause) |
void |
onWebSocketText(String message) |
void |
send(Object content) |
void |
start() |
void send(Object content) throws IOException
IOExceptionvoid onWebSocketConnecting()
void onWebSocketConnect()
void onWebSocketClose(int statusCode,
String reason)
void onWebSocketText(String message)
void onWebSocketBinary(byte[] data,
int offset,
int length)
void onWebSocketConnectError(Throwable cause)
void onWebSocketError(Throwable cause)
Copyright © 2002–2020 Gargoyle Software Inc.. All rights reserved.