public void stop() throws IOException { if (tcpServerTransport != null) { tcpServerTransport.close(); } }
public boolean isRunning() { return tcpServerTransport != null && tcpServerTransport.isRunning(); }