Class LPConfigInfo

java.lang.Object
  extended by LPConfigInfo
All Implemented Interfaces:
java.io.Serializable

public class LPConfigInfo
extends java.lang.Object
implements java.io.Serializable

This class stores the configuration information for an LP. The information is provided by application programmer in a text file in the following format:
index app_name class_name data

Version:
1.0 (12/2005)
Author:
Yin Xiong
See Also:
Serialized Form

Field Summary
(package private)  java.lang.String APPid
          the application-specified index of the LP
(package private)  java.lang.String APPname
          the application-specified name of the LP
(package private)  java.lang.String className
          the class name of the LP
(package private)  java.lang.String data
          the data for this LP
(package private)  int LPid
          the id of the LP which the message is routing to
(package private)  int PEid
          the id of the PE which the message is routing to
 
Constructor Summary
LPConfigInfo(int lid, java.lang.String aid, java.lang.String aname, java.lang.String cname, java.lang.String dat)
          constructs a LPInfo object
 
Method Summary
 java.lang.String getAPPid()
          Gets index of the LP
 java.lang.String getAPPname()
          Gets the name of the LP
 java.lang.String getLPClassName()
          Gets the class name of the LP
 java.lang.String getLPData()
          Gets the data of the LP
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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

Constructor Detail

LPConfigInfo

public LPConfigInfo(int lid,
                    java.lang.String aid,
                    java.lang.String aname,
                    java.lang.String cname,
                    java.lang.String dat)
constructs a LPInfo object

Method Detail

getAPPid

public java.lang.String getAPPid()
Gets index of the LP


getAPPname

public java.lang.String getAPPname()
Gets the name of the LP


getLPClassName

public java.lang.String getLPClassName()
Gets the class name of the LP


getLPData

public java.lang.String getLPData()
Gets the data of the LP


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object