public void complete(final Action action, final Dispatcher.Channel channel) {
if (action instanceof StartServerAction) {
StartServerAction start = (StartServerAction) action;
runningServers.add(start.getPayload());
} else if (action instanceof StopServerAction) {
StopServerAction stop = (StopServerAction) action;
runningServers.remove(stop.getPayload());
}
channel.ack();
}
@Override