Package org.jdesktop.wonderland.server.comms

Examples of org.jdesktop.wonderland.server.comms.CommsManager


    public String getUsername() {
      return username;
    }
  
    public void setBystanders(String[] bystanders) {
  CommsManager cm = WonderlandContext.getCommsManager();

        WonderlandClientSender sender = cm.getSender(CellChannelConnectionType.CLIENT_TYPE);

  sender.send(new OrbBystandersMessage(cellID, bystanders));
    }
View Full Code Here


  return vp.playerWithVirtualPlayer.getId();
    }

    public void attach(String callID) {
  CommsManager cm = WonderlandContext.getCommsManager();

        WonderlandClientSender sender = cm.getSender(CellChannelConnectionType.CLIENT_TYPE);

        sender.send(new OrbAttachVirtualPlayerMessage(cellID, callID));
    }
View Full Code Here

public class SecurityGroupsServerPlugin implements ServerPlugin {
    private static final Logger logger =
            Logger.getLogger(SecurityGroupsServerPlugin.class.getName());
   
    public void initialize() {
        CommsManager cm = WonderlandContext.getCommsManager();
        cm.registerClientHandler(new SecurityCacheConnectionHandler());
    }
View Full Code Here

public class ServerManagerServerPlugin implements ServerPlugin {
    private static final Logger logger =
            Logger.getLogger(ServerManagerServerPlugin.class.getName());
   
    public void initialize() {
        CommsManager cm = WonderlandContext.getCommsManager();
        cm.registerClientHandler(new ServerManagerConnectionHandler());
    }
View Full Code Here

  if (callID == null || callID.length() == 0) {
      logger.finest("Missing call id in status:  " + status);
      return;
  }

        CommsManager cm = WonderlandContext.getCommsManager();

        WonderlandClientSender sender = cm.getSender(CellChannelConnectionType.CLIENT_TYPE);

        switch (status.getCode()) {
  case CallStatus.DTMF_KEY:
      handleDtmfKey(status);
      break;
View Full Code Here

@Plugin
public class PlacemarkConfigServerPlugin implements ServerPlugin {

    public void initialize() {
        // Register a handler for placemark config connections
        CommsManager cm = WonderlandContext.getCommsManager();
        cm.registerClientHandler(new PlacemarkConfigConnectionHandler());

        // Register a listener that will be notifed of placemark changes
        PlacemarkUpdateListener l = new PlacemarkUpdateListener();
        PlacemarkRegistrySrvFactory.getInstance().addPlacemarkRegistryListener(l);
    }
View Full Code Here

        public void placemarkRemoved(Placemark placemark) {
            getConnection().send(new PlacemarkRemoveMessage(placemark));
        }

        protected WonderlandClientSender getConnection() {
            CommsManager cm = WonderlandContext.getCommsManager();
            return cm.getSender(PlacemarkConfigConnectionType.CONNECTION_TYPE);
        }
View Full Code Here

@Plugin
public class XAppsConfigServerPlugin implements ServerPlugin {

    public void initialize() {
        // Register a handler for x11 app config connections
        CommsManager cm = WonderlandContext.getCommsManager();
        cm.registerClientHandler(new XAppsConfigConnectionHandler());  
    }
View Full Code Here

public class AudioManagerServerPlugin implements ServerPlugin {
    private static final Logger logger =
            Logger.getLogger(AudioManagerServerPlugin.class.getName());
   
    public void initialize() {
        CommsManager cm = WonderlandContext.getCommsManager();

        cm.registerClientHandler(AudioManagerConnectionHandler.getInstance());

  CellManagerMO.getCellManager().registerAvatarCellComponent(AudioParticipantComponentMO.class);
  logger.finest("audio manager initialized");
    }
View Full Code Here

        // Tell the app base to call us to launch conventional server apps
        SasServer server = new SasServer();
        AppConventionalCellMO.registerAppServerLauncher(server);

        // Register the Provider connection
        CommsManager cm = WonderlandContext.getCommsManager();
        cm.registerClientHandler(new SasProviderConnectionHandler(server));

        logger.severe("***** SasServerPlugin: initialization complete");
    }
View Full Code Here

TOP

Related Classes of org.jdesktop.wonderland.server.comms.CommsManager

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.