public class WsClient
extends WebSocketClient
Constructor and Description |
---|
WsClient(Object app,
String url) |
WsClient(Object app,
String server,
int port) |
WsClient(Object app,
URI serverURI) |
WsClient(Object app,
URI serverUri,
Draft draft) |
Modifier and Type | Method and Description |
---|---|
void |
onClose(int code,
String reason,
boolean remote) |
void |
onError(Exception ex) |
void |
onMessage(String message) |
void |
onOpen(ServerHandshake handshakedata) |
public WsClient(Object app, String url) throws URISyntaxException
URISyntaxException
public WsClient(Object app, String server, int port) throws URISyntaxException
URISyntaxException
Processing Library spacebrew by Brett Renfer. (c) 2015 Spacebrew