public abstract class ClientJSONPoint
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected io.netty.bootstrap.Bootstrap |
bootstrap |
protected io.netty.channel.Channel |
ch |
boolean |
isClosed |
protected int |
port |
protected boolean |
ssl |
protected WebSocketClientHandler |
webSocketClientHandler |
| Constructor and Description |
|---|
ClientJSONPoint(java.lang.String uri) |
ClientJSONPoint(java.net.URI uri) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
eval(java.lang.String text) |
void |
open() |
io.netty.channel.ChannelFuture |
send(java.lang.String text) |
protected io.netty.channel.Channel ch
protected WebSocketClientHandler webSocketClientHandler
protected io.netty.bootstrap.Bootstrap bootstrap
protected boolean ssl
protected int port
public boolean isClosed
public ClientJSONPoint(java.lang.String uri)
throws javax.net.ssl.SSLException
javax.net.ssl.SSLExceptionpublic ClientJSONPoint(java.net.URI uri)
throws javax.net.ssl.SSLException
javax.net.ssl.SSLExceptionpublic void open()
throws java.lang.Exception
java.lang.Exceptionpublic io.netty.channel.ChannelFuture send(java.lang.String text)
public void close()
throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic void eval(java.lang.String text)
throws java.io.IOException
java.io.IOException