Package org.jdesktop.wonderland.modules.presencemanager.common.messages

Examples of org.jdesktop.wonderland.modules.presencemanager.common.messages.PlayerInRangeMessage


        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;
View Full Code Here


      /*
       * When the client disconnects, there is a race between this thread and the disconnect thread.
       */
      try {
                sender.send(wlClientID, new PlayerInRangeMessage(playerInRange.getId(), isInRange));
            } catch (ObjectNotFoundException e) {
      }
        }
View Full Code Here

TOP

Related Classes of org.jdesktop.wonderland.modules.presencemanager.common.messages.PlayerInRangeMessage

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.