Examples of MasterServer

  • de.fhkn.in.uce.master.server.MasterServer
    Class to start a main server which starts a stun, relay and mediator server. @author Robert Danczak
  • net.sphene.goim.serverbrowser.models.MasterServer
    A MasterServer which is saved in the preferences. Protocol extensions may subclass to provide additional attributes. but.. it has to be serializeable (of course) the changeListeners will be notified if the serverList changes (where the 'source' will be the MasterServer) or if one of the information within the servers is changed (where 'source' will be the GameServer which changed.) @author kahless
  • org.jamesii.core.distributed.masterserver.MasterServer
    The simulation master server is the centralised server class for the distributed usage of James II. Services, e.g., simulation servers, have to register here before they can be used. Services are registered and hold in a "service registry" {@link ServiceRegistry}). This class provides the management of the services as such a "service resource management", and can provide service availability checking functionality. The master server cannot be directly used for executing simulations -- it can just be used for service registering, and simulation instance creation and delegated control. @author Jan Himmelspach
  • org.neo4j.kernel.ha.MasterServer
    Sits on the master side, receiving serialized requests from slaves (via {@link MasterClient}). Delegates actual work to {@link MasterImpl}.

  • Examples of com.jason.server.MasterServer

       * <li>修改人:
       * <li>修改日期:
       */
      public static void main(String[] args){
        try{
          new MasterServer(new WebSocketCoder(), new WebSocketDecoder(), new WebSocketProcesser());
          //BroadThread.getInstance();
        }catch(IOException e){   
          e.printStackTrace();
        }
      }
    View Full Code Here

    Examples of com.jason.server.MasterServer

       * <li>修改人:
       * <li>修改日期:
       */
      public static void main(String[] args){
        try{
          new MasterServer(new ClustersCoder(), new ClustersDecoder(), new ClustersProcesser());
          StockSpider.getInstance();
        }catch(IOException e){   
          e.printStackTrace();
        }
      }
    View Full Code Here

    Examples of com.jason.server.MasterServer

       * <li>修改人:
       * <li>修改日期:
       */
      public static void main(String[] args){
        try{
          new MasterServer(new WebSocketCoder(), new WebSocketDecoder(), new WebSocketProcesser());
          StockSpider.getInstance();
        }catch(IOException e){   
          e.printStackTrace();
        }
      }
    View Full Code Here

    Examples of de.fhkn.in.uce.master.server.MasterServer

         * {@link MasterServer#run(String[])} with no arguments in file, system and command line.
         */
        @Test
        public final void testRun() {
            String[] args = {""};
            MasterServer server = new MasterServer();
            server.run(args);
        }
    View Full Code Here

    Examples of net.sphene.goim.serverbrowser.models.MasterServer

      }

      @Override
      public boolean performFinish() {
        MasterServerList masterServerList = ServerBrowserPlugin.getPreferenceObject(MasterServerList.class);
        MasterServer masterServer = new MasterServer(protocolId,defaultAddMasterServerPage.txtMasterServerAddress.getText());
        masterServer.name = defaultAddMasterServerPage.txtMasterServerName.getText();
        masterServerList.add(masterServer);
        return true;
      }
    View Full Code Here

    Examples of net.sphene.goim.serverbrowser.models.MasterServer

          return true;
        }

        public String getColumnText(Object element, int columnIndex) {
          if (element instanceof MasterServer) {
            MasterServer masterServer = (MasterServer) element;
            switch (columnIndex) {
            case 0:
              return ("".equals(masterServer.name) ? masterServer.address
                  : masterServer.name);
            default:
    View Full Code Here

    Examples of net.sphene.goim.serverbrowser.models.MasterServer

        public Object[] getChildren(Object parentElement) {
          if (parentElement == null || "".equals(parentElement)) {
            return masterServerList.toArray();
          } else if (parentElement instanceof MasterServer) {
            MasterServer masterServer = (MasterServer) parentElement;
            GameServerListWrapper serverList = masterServer.getServerList(false);
            serverList.refresh(false);
            return serverList.getServerList();
          }
          return null;
        }
    View Full Code Here

    Examples of org.jamesii.core.distributed.masterserver.MasterServer

       *           the remote exception
       */
      private IMasterServer setUpServers() throws RemoteException {
        SimSystem.report(Level.CONFIG, "Master server runs at " + msAddress);
        LocateRegistry.createRegistry(MasterServer.DEFAULT_PORT);
        IMasterServer server = new MasterServer(masterServName);
        Host.publish(server, MasterServer.DEFAULT_PORT);

        for (int i = 0; i < numberOfServers; i++) {
          SimulationClientThread sct =
              new SimulationClientThread("-server=" + msAddress, "Client" + (i + 1));
    View Full Code Here

    Examples of org.jamesii.core.distributed.masterserver.MasterServer

        @Override
        public void execute() {
          try {
            // start new master server as thread
            LocateRegistry.createRegistry(MasterServer.DEFAULT_PORT);
            MasterServer server =
                new MasterServer(MasterServer.DEFAULT_BINDING_NAME);
            Host.publish(server, MasterServer.DEFAULT_PORT);
            ParameterBlock viewParams = new ParameterBlock();
            viewParams.addSubBlock(ServiceViewFactory.SERVICE, server);
            ServiceViewFactory factory =
                SimSystem.getRegistry().getFactory(
    View Full Code Here

    Examples of org.neo4j.kernel.ha.MasterServer

            return zooClient.getMasterBasedOn( machines.values() );
        }

        public Object instantiateMasterServer( GraphDatabaseService graphDb )
        {
            MasterServer server = new MasterServer( new MasterImpl( graphDb ),
                    Machine.splitIpAndPort( haServer ).other(), getStoreDir() );
            return server;
        }
    View Full Code Here
    TOP
    Copyright © 2018 www.massapi.com. 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.