Package org.jdesktop.wonderland.modules.phone.common

Examples of org.jdesktop.wonderland.modules.phone.common.PhoneInfo


  channelComp.removeMessageReceiver(PlaceCallResponseMessage.class);
    }

    public void phoneSelected() {
  if (phoneForm == null) {
      final PhoneInfo phoneInfo = phoneCell.getPhoneInfo();

      boolean locked = phoneInfo.locked;

      boolean passwordProtected = true;
View Full Code Here


        // Create a setup with some default values
        PhoneCellServerState cellServerState = new PhoneCellServerState();

  cellServerState.setName(BUNDLE.getString("Virtual_Phone"));

        cellServerState.setPhoneInfo(new PhoneInfo(false, "100", "foo",
                "Unknown location", .2, .1, true, true));

        /*
         * Try rotating 45 degrees to see what that does.
         */
 
View Full Code Here

    return;
      }

      phone = phoneList.get(nextPhoneIndex);

      PhoneInfo phoneInfo = phone.phoneInfo;

      Vector3f location = getLocation(phone.phoneCellRef);

            int n = AppContext.getManager(VoiceManager.class).getNumberOfPlayersInRange(
                location.getX(), location.getY(), location.getZ());
View Full Code Here

    logger.info("Can't find call for " + callId);
    return false;
      }

      try {
    PhoneInfo phoneInfo = phone.phoneInfo;

                logger.info("Transferring call " + call
        + " to phone " + phoneInfo.phoneNumber);

    Vector3f location = getLocation(phone.phoneCellRef);
View Full Code Here

  if (message instanceof LockUnlockMessage) {
      LockUnlockMessage m = (LockUnlockMessage) message;

      boolean successful = true;

      PhoneInfo phoneInfo = phoneCellMO.getPhoneInfo();

      if (m.getPassword() != null) {
    String password = System.getProperty("wonderland.phone.password");

    if (password == null || password.length() == 0) {
View Full Code Here

    }
  
    private void relock(WonderlandClientSender sender) {
  PhoneCellMO phoneCellMO = (PhoneCellMO) getCell();

  PhoneInfo phoneInfo = phoneCellMO.getPhoneInfo();

  if (phoneInfo.keepUnlocked == false && phoneInfo.locked == false) {
      phoneInfo.locked = true;

            LockUnlockResponseMessage response = new LockUnlockResponseMessage(phoneCellMO.getCellID(), true, true);
View Full Code Here

TOP

Related Classes of org.jdesktop.wonderland.modules.phone.common.PhoneInfo

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.