/** * <p>Closes all client connections currently connected gracefully.</p> * * <p>Note that this does <i>not</i> settle the actual payment channels (and broadcast payment transactions), which * must be done using the {@link StoredPaymentChannelServerStates} which manages the states for the associated * wallet.</p> */ public void close() { server.stopAsync(); server.awaitTerminated(); } }
/** * <p>Closes all client connections currently connected gracefully.</p> * * <p>Note that this does <i>not</i> settle the actual payment channels (and broadcast payment transactions), which * must be done using the {@link StoredPaymentChannelServerStates} which manages the states for the associated * wallet.</p> */ public void close() { server.stopAsync(); server.awaitTerminated(); } }
/** * <p>Closes all client connections currently connected gracefully.</p> * * <p>Note that this does <i>not</i> settle the actual payment channels (and broadcast payment transactions), which * must be done using the {@link StoredPaymentChannelServerStates} which manages the states for the associated * wallet.</p> */ public void close() { server.stopAsync(); server.awaitTerminated(); } }
/** * <p>Closes all client connections currently connected gracefully.</p> * * <p>Note that this does <i>not</i> settle the actual payment channels (and broadcast payment transactions), which * must be done using the {@link StoredPaymentChannelServerStates} which manages the states for the associated * wallet.</p> */ public void close() { server.stopAsync(); server.awaitTerminated(); } }
protected void stopPeerServer(int i) { peerServers[i].stopAsync(); peerServers[i].awaitTerminated(); }
serverConnection2Closed.get(); server.stopAsync(); server.awaitTerminated();
clientConnectionClosed.get(); server.stopAsync(); server.awaitTerminated(); assertFalse(server.isRunning());
client2Disconnected.get(); server.stopAsync().awaitTerminated();
clientConnectionClosed.get(); server.stopAsync(); server.awaitTerminated();