Interface JsonNioServer
- All Known Implementing Classes:
JsonNioService
public interface JsonNioServer
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()intgetPort()booleanvoidvoidsendToJmol(int port, String msg) from JmolPanel and SYNC commandvoidstartService(int port, JsonNioClient client, Viewer jmolViewer, String name, int version)
-
Field Details
-
INSOCKET
static final int INSOCKET- See Also:
-
OUTSOCKET
static final int OUTSOCKET- See Also:
-
-
Method Details
-
getPort
int getPort() -
hasOuputSocket
boolean hasOuputSocket() -
sendToJmol
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
-