|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.glassfish.tyrus.client.WebSocketClient
public class WebSocketClient
WebSocketClient implementation.
| Constructor Summary | |
|---|---|
WebSocketClient()
|
|
| Method Summary | |
|---|---|
static WebSocketClient |
createClient()
Create new WebSocketClient instance. |
ClientSocket |
openSocket(java.lang.String url,
long timeoutMs,
java.lang.Object... endpoints)
Open new WebSocket connection. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WebSocketClient()
| Method Detail |
|---|
public static WebSocketClient createClient()
public ClientSocket openSocket(java.lang.String url,
long timeoutMs,
java.lang.Object... endpoints)
url - Address to which the connection connects.timeoutMs - Connection timeout.endpoints - Endpoints that will be registered with the socket.
ClientSocket.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||