logger.debug("Handling a Subscribe response: {}, pubSubData: {}, host: {}.",
va(response, pubSubData, NetUtils.getHostFromChannel(channel)));
}
switch (response.getStatusCode()) {
case SUCCESS:
TopicSubscriber ts = new TopicSubscriber(pubSubData.topic,
pubSubData.subscriberId);
SubscriptionPreferences preferences = null;
if (response.hasResponseBody()) {
ResponseBody respBody = response.getResponseBody();
if (respBody.hasSubscribeResponse()) {