use of org.eclipse.flux.client.IMessageHandler in project flux by eclipse.
the class KeepAliveConnector method dispose.
public void dispose() {
messageConnector.removeChannelListener(channelListener);
unsetScheduledShutdown();
unsetKeepAliveDelayedMessage();
executor.shutdown();
messageConnector.removeMessageHandler(keepAliveResponseHandler);
for (IMessageHandler messageHandler : messageHandlers) {
messageConnector.removeMessageHandler(messageHandler);
}
}
use of org.eclipse.flux.client.IMessageHandler in project flux by eclipse.
the class ToolingServiceProvider method dispose.
private void dispose() {
for (IMessageHandler messageHandler : messageHandlers) {
messageConnector.removeMessageHandler(messageHandler);
}
if (poolMaintenanceFuture != null) {
poolMaintenanceFuture.cancel(false);
}
poolMaintenanceExecutor.shutdown();
serviceLauncherExecutor.shutdown();
if (serviceLauncher != null) {
serviceLauncher.dispose();
}
}
use of org.eclipse.flux.client.IMessageHandler in project flux by eclipse.
the class Repository method dispose.
public void dispose() {
connected.set(false);
for (IMessageHandler messageHandler : messageHandlers) {
messagingConnector.removeMessageHandler(messageHandler);
}
syncedProjects.clear();
}
Aggregations