Serialized Form


Package <Unnamed>

Class LogicalProcess extends java.lang.Object implements Serializable

Serialized Fields

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 Message extends java.lang.Object implements Serializable

Serialized Fields

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 Phold extends LogicalProcess implements Serializable

Serialized Fields

count

int count
class member for keeping track of how many messages have been sent.


MsgPop

int MsgPop
message population


numLPs

int numLPs
the number of LPs


timeIncrement

int timeIncrement
the time increment for messages sent by this LP; the message will be sent at currentTime+timeIncrement


random

java.util.Random random
random number generator


alias

java.lang.String alias
PEid and LPid of this LP, for debugging only

Class Ping extends LogicalProcess implements Serializable

Serialized Fields

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

Class Pong extends LogicalProcess implements Serializable

Serialized Fields

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

Serialized Fields

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