}
})
.map(new Func1<Boolean, DisconnectResponse>() {
@Override
public DisconnectResponse call(Boolean success) {
return new DisconnectResponse(ResponseStatus.SUCCESS);
}
})
.subscribe(request.observable());
} else if (request instanceof GetClusterConfigRequest) {
request.observable().onNext(new GetClusterConfigResponse(configProvider.config(), ResponseStatus.SUCCESS));