Interface JsonNioServer
-
- All Known Implementing Classes:
JsonNioService
public interface JsonNioServer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
int
getPort()
boolean
hasOuputSocket()
void
reply(int port, Object data)
void
sendToJmol(int port, String msg)
from JmolPanel and SYNC commandvoid
startService(int port, JsonNioClient client, Viewer jmolViewer, String name, int version)
-
-
-
Field Detail
-
INSOCKET
static final int INSOCKET
- See Also:
- Constant Field Values
-
OUTSOCKET
static final int OUTSOCKET
- See Also:
- Constant Field Values
-
-
Method Detail
-
getPort
int getPort()
-
hasOuputSocket
boolean hasOuputSocket()
-
sendToJmol
void sendToJmol(int port, String msg)
from JmolPanel and SYNC command- Parameters:
port
-msg
-
-
startService
void startService(int port, JsonNioClient client, Viewer jmolViewer, String name, int version) throws IOException
- Throws:
IOException
-
close
void close()
-
reply
void reply(int port, Object data)
-
-