org.iids.aos
Class AsStartup

java.lang.Object
  extended by org.iids.aos.AsStartup

public class AsStartup
extends java.lang.Object

Author:
michel@cs.vu.nl Used to start AgentScape and the underlying AOS kernel. The following are old comments: ??? --- M. The value of the 'org.iids.aos.location.id' property set in the configuration will be checked. If empty, a new location manager will be started. If not empty, the address of the locationmanager will be retrieved from the lookup- service, and this systemservice will do a call to the locationmanager telling it the principal-id/password combination to access this kernel. After this the systemservice will stop.

Field Summary
static int DEFAULT_ACTP_PORT
           
static java.lang.String DEFAULT_LOOKUP_SERVICE
           
static int DEFAULT_MUX_PORT
           
static int DEFAULT_SUNRPC_PORT
           
static int DEFAULT_XMLRPC_PORT
           
static java.lang.String LSServerContactFile
           
 
Constructor Summary
AsStartup(KernelConfig config)
           
 
Method Summary
static java.lang.String getTopDir()
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_MUX_PORT

public static final int DEFAULT_MUX_PORT
See Also:
Constant Field Values

DEFAULT_ACTP_PORT

public static final int DEFAULT_ACTP_PORT
See Also:
Constant Field Values

DEFAULT_XMLRPC_PORT

public static final int DEFAULT_XMLRPC_PORT
See Also:
Constant Field Values

DEFAULT_SUNRPC_PORT

public static final int DEFAULT_SUNRPC_PORT
See Also:
Constant Field Values

LSServerContactFile

public static final java.lang.String LSServerContactFile
See Also:
Constant Field Values

DEFAULT_LOOKUP_SERVICE

public static final java.lang.String DEFAULT_LOOKUP_SERVICE
See Also:
Constant Field Values
Constructor Detail

AsStartup

public AsStartup(KernelConfig config)
          throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Parameters:
args - the command line arguments
Throws:
java.lang.Exception

getTopDir

public static java.lang.String getTopDir()


Copyright © 2003, 2004 IIDS Group. All Rights Reserved.