@Override public void run() { sucker.shutdown(); } });
@Override public void run() { sucker.shutdown(); } });
/** * Fails this wavelet, removing listeners and notifying the wavelet's failure * handler that this wavelet is unusable. * * @param failure exception causing the failure */ private void fail(OperationException failure) { if (!failed) { failed = true; driver.shutdown(); ccBasedWaveListeners.clear(); // Currently this will cause the wave to disconnect. failureHandler.onWaveletFailed(failure); } }
public void testNoSuckingAfterShutdown() { sucker.shutdown(); sucker.onOperationReceived(); // Expect no interactions with the channel. }
public void testNoSuckingAfterShutdown() { sucker.shutdown(); sucker.onOperationReceived(); // Expect no interactions with the channel. }