protected void addClientCQsAndInterestList(ClientUpdateMessageImpl msg,
HAEventWrapper haEventWrapper, Map haContainer, String regionName) { ClientProxyMembershipID proxyID = ((HAContainerWrapper) haContainer).getProxyID(regionName);
if (proxyID != null) {
if (haEventWrapper.getClientCqs() != null) {
CqNameToOp clientCQ = haEventWrapper.getClientCqs().get(proxyID);
if (clientCQ != null) {
msg.addClientCqs(proxyID, clientCQ);
}
} ClientUpdateMessageImpl clientMsg =
(ClientUpdateMessageImpl) haEventWrapper.getClientUpdateMessage();
if (clientMsg != null) {
if (clientMsg.isClientInterestedInUpdates(proxyID)) {
msg.addClientInterestList(proxyID, true);
} else if (clientMsg.isClientInterestedInInvalidates(proxyID)) {
msg.addClientInterestList(proxyID, false);
}
}
}
}