Serialized Form
Class GNS extends java.rmi.server.UnicastRemoteObject implements Serializable |
flag
Flag flag
- the flag indicating the end of the simulation
PEcount
int PEcount
- the current number of PEs registered with the GNS
PEtable
java.util.Vector<E> PEtable
- the table that contains the information about the PEs
routingTable
java.util.Vector<E> routingTable
- the routing table
numPEs
int numPEs
- the total number of PEs for this simulation
numLPs
int numLPs
- the total number of LPs for this simulation
lpConfigInfoVector
java.util.Vector<E> lpConfigInfoVector
- the vector that contains the LP configuration information obtained from a file
lpForEach
int lpForEach
- the number of LPs for each PE
lpForFirst
int lpForFirst
- the number of LPs for the first PE which can be different from other PEs
PEid
int PEid
- Unique numeric identifier for the PE where this LP resides; for debugging purposes
LPid
int LPid
- Unique numeric identifier assigned to this LP by the system.
APPid
java.lang.String APPid
- Unique application-assigned identifier of this LP
myname
java.lang.String myname
- Unique application-assigned full name of this LP
configData
java.lang.String configData
- Configuration data string. Cached in expectation that future versions may
support "suspending" the simulation and writing the simulation status to
disk to be resumed at a later time.
currentTime
int currentTime
- Local virtual time(LVT) for this LP. Automatically updated every time
LogicalProcess.runLP(Message)
is called to match the timestamp of the incoming
Message
. Subclasses may make other changes to this,
but generally should not need to!
lastTime
int lastTime
- Value of
LogicalProcess.currentTime
the previous time LogicalProcess.runLP(Message)
was called.
Again, automatically updated by runLP; subclasses may make other
changes to it, but only with very good reason.
Class LPConfigInfo extends java.lang.Object implements Serializable |
PEid
int PEid
- the id of the PE which the message is routing to
LPid
int LPid
- the id of the LP which the message is routing to
APPid
java.lang.String APPid
- the application-specified index of the LP
APPname
java.lang.String APPname
- the application-specified name of the LP
className
java.lang.String className
- the class name of the LP
data
java.lang.String data
- the data for this LP
Class Message extends java.lang.Object implements Serializable |
tag
int tag
- Tag that indicate whether this message has already been acknowledged by the
receiver
msgType
Message.MsgType msgType
- Type of the message, matching one of the constants defined in this class.
timeStamp
int timeStamp
- (Simulation) time this message should occur.
content
java.lang.Object content
- Message content
senderAPPid
java.lang.String senderAPPid
- Sender's
APPid
, if sender is a
LogicalProcess
, or identifier, if sender is a monitoring/steering
application.
senderLP
int senderLP
- Sender's LP number
senderPE
int senderPE
- Sender's PE number
receiverAPPid
java.lang.String receiverAPPid
- Receiver's
APPid
, if receiver is a
LogicalProcess
, or identifier, if receiver is a monitoring/steering
application.
receiverLP
int receiverLP
- Receiver's LP number
receiverPE
int receiverPE
- Receiver's PE number
receiverMN
java.lang.String receiverMN
- Receiver's machine name
Class MsgReceiver extends java.rmi.server.UnicastRemoteObject implements Serializable |
msgQueue
java.util.concurrent.PriorityBlockingQueue<E> msgQueue
- the queue that contains the incoming message and is shared with the
SchedulingLoop
myip
java.lang.String myip
- the IP address of the machine on which this rmi server is running
myMachineName
java.lang.String myMachineName
- the name of the machine on which this rmi server is running
flag
Flag flag
- the end of simulation flag that is shared by the rmi sender thread, the
rmi receiver thread and the SchedulingLoop thread.
count
int count
- class member for keeping track of how many messages have been sent.
incs
int[] incs
- class member for store time increments
incsCount
int incsCount
- class member for keeping track of which time increment should be used
dest
java.lang.String dest
- the application-specified name of the destination to which this LP will send messages to
timeIncrement
int timeIncrement
- the time increment for messages sent by this LP; the message will be sent at currentTime+timeIncrement
count
int count
- class member for keeping track of how many messages have been sent.
incs
int[] incs
- class member for store time increments
incsCount
int incsCount
- class member for keeping track of which time increment should be used
dest
java.lang.String dest
- the application-specified name of the destination to which this LP will send messages to
timeIncrement
int timeIncrement
- the time increment for messages sent by this LP; the message will be sent at currentTime+timeIncrement
count
int count
- class member for keeping track of how many messages have been sent.
dest
java.lang.String dest
- the application-specified name of the destination to which this LP will send messages to
timeIncrement
int timeIncrement
- the time increment for messages sent by this LP; the message will be sent at currentTime+timeIncrement
Class RoutingInfo extends java.lang.Object implements Serializable |
PEid
int PEid
- The id of the PE this LP resides on
PEip
java.lang.String PEip
- The ip address of the PE
machineName
java.lang.String machineName
- The name of the machine where the PE is running
LPid
int LPid
- The id of the LP
APPid
java.lang.String APPid
- The application id