public class WebSocketClient<T> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
WebSocketClient.Config |
Constructor and Description |
---|
WebSocketClient(org.jetlang.fibers.NioFiber readFiber,
URI uri,
WebSocketClient.Config config,
WebSocketHandler<T> handler) |
Modifier and Type | Method and Description |
---|---|
void |
addCookie(HttpCookie httpCookie) |
SendResult |
send(String msg) |
CountDownLatch |
start() |
void |
stop() |
public WebSocketClient(org.jetlang.fibers.NioFiber readFiber, URI uri, WebSocketClient.Config config, WebSocketHandler<T> handler)
public void addCookie(HttpCookie httpCookie)
public CountDownLatch start()
public void stop()
public SendResult send(String msg)
Copyright © 2016. All Rights Reserved.