/** * This method is used to stop the connector in such a way that it * will not accept and process any further messages. If there are * resources to clean up they may be cleaned up asynchronously * so that this method can return without blocking. */ public void stop() throws IOException { adapter.stop(); } }
@Override public void stop() throws IOException { delegate.stop(); } }
/** * This method is used to stop the connector in such a way that it * will not accept and process any further messages. If there are * resources to clean up they may be cleaned up asynchronously * so that this method can return without blocking. */ public void stop() throws IOException { adapter.stop(); } }
public void stop() { try { connection.close(); server.stop(); }catch(Exception e) { e.printStackTrace(); } }
/** * This is used to close the connection and the server socket * used to accept connections. This will perform a close of all * connected server sockets that have been created from using * the <code>connect</code> method. The connection can be * reused after the existing server sockets have been closed. * * @throws IOException thrown if there is a problem closing */ public void close() throws IOException { if(!closed) { manager.close(); processor.stop(); } closed = true; } }
/** * This is used to close the connection and the server socket * used to accept connections. This will perform a close of all * connected server sockets that have been created from using * the <code>connect</code> method. The connection can be * reused after the existing server sockets have been closed. * * @throws IOException thrown if there is a problem closing */ public void close() throws IOException { if(!closed) { manager.close(); processor.stop(); } closed = true; } }