public interface JsonNioServer
Modifier and Type | Method and Description |
---|---|
void |
close() |
int |
getPort() |
void |
scriptCallback(java.lang.String msg)
from StatusManager
|
void |
send(int port,
java.lang.String msg)
from JmolPanel and SYNC command
|
void |
startService(int port,
JsonNioClient client,
Viewer jmolViewer,
java.lang.String name,
int version) |
void scriptCallback(java.lang.String msg)
msg
- int getPort()
void send(int port, java.lang.String msg)
port
- msg
- void startService(int port, JsonNioClient client, Viewer jmolViewer, java.lang.String name, int version) throws java.io.IOException
java.io.IOException
void close()