Package org.jdesktop.wonderland.client.cell

Examples of org.jdesktop.wonderland.client.cell.ProximityComponent$ClientProximityListenerWrapper


                           cellID + " presence: " + presenceInfo + " from " + pm);

                   connectSoftphone();

                   if (cell.getComponent(ProximityComponent.class) == null) {
                       cell.addComponent(new ProximityComponent(cell));
                   }
                }
            }).start();
           
        }
View Full Code Here


            session.send(client, new VoiceChatJoinMessage(group, info,
    new PresenceInfo[0], chatType));
        }

  Cell cell = client.getCell();
  ProximityComponent prox = cell.getComponent(ProximityComponent.class);

  if (prox == null) {
      logger.warning("NO PROX FOR CELL!");
      return;
  }

  if (chatType.equals(ChatType.PUBLIC)) {
      BoundingVolume[] bounds = new BoundingVolume[] {
                new BoundingSphere((float) 1, new Vector3f())
      };

      logger.info("Adding proximity listener... " + prox
    + " bounds " + bounds[0]);

      prox.addProximityListener(this, bounds);
  } else {
      prox.removeProximityListener(this);
  }
    }
View Full Code Here

TOP

Related Classes of org.jdesktop.wonderland.client.cell.ProximityComponent$ClientProximityListenerWrapper

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.