Package aleph.comm

Examples of aleph.comm.AlephServer


                       Integer id,
                       String label,
                       String[] args,
                       Properties properties) {
    try {
    AlephServer server = getServer();
    if (server != null)
      server.startPE(parent, console, index, numPEs, id, label, args, properties);
    else
      Aleph.panic("No server running at " + name);
    } catch (java.rmi.RemoteException e) {
      Aleph.panic("While locating server: " + e);
    }
View Full Code Here


   * @return whether shutdown is confirmed.
   * @exception SecurityException If caller is not allowed to kill this server.
   **/
  public boolean stop () throws SecurityException {
    try {      // croak on unexpected exceptions
      AlephServer server = getServer();
      if (server != null) {
        server.shutdown(InetAddress.getLocalHost().getHostAddress());
        return true;            // no problem
      } else {
        return false;           // something happened
      }
    } catch (java.rmi.UnmarshalException e) { // server shut down too fast
View Full Code Here

TOP

Related Classes of aleph.comm.AlephServer

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.