gov.sandia.ccaffeine.dc.distributed
Class Args

java.lang.Object
  extended by gov.sandia.ccaffeine.dc.distributed.Args

public class Args
extends java.lang.Object

Simple argument class for the Builders. Not all arguments make sense in all contexts.


Field Summary
static int builderPort
          Port number for the builder to contact the MuxingProcess.
static int DEFAULTBUILDERPORT
           
static int DEFAULTPORT
           
static java.lang.String DEFAULTPROCFILEPATH
           
static int heartbeatTimeout
           
static java.lang.String logFile
           
static java.lang.String myProcName
          The name, found in the processor file, that refers to this process
static java.lang.String myServerMachineName
          The name, found in the processor file, that refers to this process
 int portNumber
          Port to listen on.
static java.lang.String procFile
          Path to the processor file.
 long timeout
          Timeout that a server should wait for the client to connect.
static java.lang.String type
          Name of the type of run to be done, may not be used.
 
Constructor Summary
Args()
           
Args(java.lang.String[] s)
          Create an Args with the String array argument; parseArgs does not need to be called
 
Method Summary
 void parseArgs(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULTPROCFILEPATH

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

DEFAULTPORT

public static final int DEFAULTPORT
See Also:
Constant Field Values

DEFAULTBUILDERPORT

public static final int DEFAULTBUILDERPORT
See Also:
Constant Field Values

portNumber

public int portNumber
Port to listen on.


builderPort

public static int builderPort
Port number for the builder to contact the MuxingProcess.


type

public static java.lang.String type
Name of the type of run to be done, may not be used.


procFile

public static java.lang.String procFile
Path to the processor file.


myProcName

public static java.lang.String myProcName
The name, found in the processor file, that refers to this process


myServerMachineName

public static java.lang.String myServerMachineName
The name, found in the processor file, that refers to this process


timeout

public long timeout
Timeout that a server should wait for the client to connect. Zero means infinity.


logFile

public static java.lang.String logFile

heartbeatTimeout

public static int heartbeatTimeout
Constructor Detail

Args

public Args()

Args

public Args(java.lang.String[] s)
Create an Args with the String array argument; parseArgs does not need to be called

Method Detail

parseArgs

public void parseArgs(java.lang.String[] args)