aleph.comm
Class Server

java.lang.Object
  |
  +--java.rmi.server.RemoteObject
        |
        +--java.rmi.server.RemoteServer
              |
              +--java.rmi.server.UnicastRemoteObject
                    |
                    +--aleph.comm.Server

public class Server
extends java.rmi.server.UnicastRemoteObject
implements AlephServer

The Aleph server must run at every host that participates in an Aleph computation. The server uses RMI to communicate with the console.

See Also:
Serialized Form

Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
Server()
          The only constructor.
 
Method Summary
static void main(java.lang.String[] args)
          Top-level code: creates and registers a Server.
 void shutdown(java.lang.String who)
          Die, server, die!
 void startPE(Address parent, Address console, int index, int numPEs, java.lang.Integer id, java.lang.String label, java.lang.String[] args, java.util.Properties properties)
          Start up new PE.
 
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
 
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Server

public Server()
       throws java.rmi.RemoteException
The only constructor.
Method Detail

main

public static void main(java.lang.String[] args)
Top-level code: creates and registers a Server.

shutdown

public void shutdown(java.lang.String who)
              throws java.rmi.RemoteException
Die, server, die!
Specified by:
shutdown in interface AlephServer

startPE

public void startPE(Address parent,
                    Address console,
                    int index,
                    int numPEs,
                    java.lang.Integer id,
                    java.lang.String label,
                    java.lang.String[] args,
                    java.util.Properties properties)
             throws java.rmi.RemoteException
Start up new PE.
Specified by:
startPE in interface AlephServer
Parameters:
parent - parent's address
console - console address
index - index in PE group
numPEs - size of PE group
id - per-host unique id for group
label - suggestive label for PE
args - arguments to app
properties - properties inherited from local Aleph