JsonNioServer
Date: 2019-10-22

org.openscience.jmol.app.jsonkiosk

## Interface JsonNioServer

- All Known Implementing Classes:
    JsonNioService

      public interface JsonNioServer

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    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)`

- - ### Method Detail

    - #### scriptCallback

          void scriptCallback(java.lang.String msg)

      from StatusManager
      Parameters:
        `msg` -

    - #### getPort

          int getPort()

    - #### send

          void send(int port,
                    java.lang.String msg)

      from JmolPanel and SYNC command
      Parameters:
        `port` -
        `msg` -

    - #### startService

          void startService(int port,
                            JsonNioClient client,
                            Viewer jmolViewer,
                            java.lang.String name,
                            int version)
                     throws java.io.IOException

      Throws:
        `java.io.IOException`

    - #### close

          void close()