Package mage.interfaces

Examples of mage.interfaces.Server


  public ServerImpl(int port, String name, boolean testMode) {
    try {
      System.setSecurityManager(null);
      Registry reg = LocateRegistry.createRegistry(port);
      Server stub = (Server) UnicastRemoteObject.exportObject(this, port);
      reg.rebind(name, stub);
      this.testMode = testMode;
      logger.info("Started MAGE server - listening on port " + port);
      if (testMode)
        logger.info("MAGE server running in test mode");
View Full Code Here

TOP

Related Classes of mage.interfaces.Server

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.