CascadedSC cascadedSC = cascadedPublishService.getCascadedSC();
// add server to subscription
tmpSubscription.setServer(cascadedSC);
// service is cascaded - subscribe is made by a normal client
SubscribeCommandCallback callback = new SubscribeCommandCallback(request, response, responderCallback, tmpSubscription);
cascadedSC.cascadedSCSubscribe(cascadedPublishService.getCascClient(), reqMessage, callback, oti);
return;
default:
// code for other types of services is below
break;
}