public interface WebSocketAdapter
Modifier and Type | Method and Description |
---|---|
void |
closeClient() |
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
IOException
void 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–2024 Gargoyle Software Inc.. All rights reserved.