if (!isConnectionComplete()) {
return;
}
if (message instanceof PlayerInRangeMessage) {
PlayerInRangeMessage msg = (PlayerInRangeMessage) message;
PresenceInfo info = pm.getPresenceInfo(msg.getCallID());
if (info == null) {
logger.fine("no presence info for callID " + msg.getCallID());
return;
}
pm.playerInRange(info, msg.isInRange());
return;
}
if (message instanceof PresenceInfoAddedMessage) {
PresenceInfoAddedMessage m = (PresenceInfoAddedMessage) message;