}
if (event.getType() == RemoteRxEvent.Type.subscribed){
SlottingStrategy slottingStrategy = config.getSlottingStrategy();
slottingStrategyReference.setValue(slottingStrategy);
SlotAssignment slotAssignment = slottingStrategy.assignSlot(connection);
if (slotAssignment.isAssigned()){
subscribe(unsubscribeCallbackReference, event, connection, config, slotAssignment);
serverMetrics.incrementSubscribedCount();
logger.debug("Connection: "+connection.toString()+" subscribed to observable: "+observableName);
}else{
return Observable.error(new RemoteObservableException("Slot could not be assigned for connection."));