Class RoutingInfo

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

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

This class represents the routing information for a destination LP, including PE id, LP id, application id, etc.

Since:
1.1
Version:
2.0(10/2006)
Author:
Yin Xiong
See Also:
Serialized Form

Field Summary
(package private)  java.lang.String APPid
          The application id
(package private)  int LPid
          The id of the LP
(package private)  java.lang.String machineName
          The name of the machine where the PE is running
(package private)  int PEid
          The id of the PE this LP resides on
(package private)  java.lang.String PEip
          The ip address of the PE
 
Constructor Summary
RoutingInfo(int pid, int lid, java.lang.String aid)
           
RoutingInfo(int pid, java.lang.String pip, java.lang.String pm, int lid, java.lang.String appid)
           
 
Method Summary
 void dump()
          Display the content of the RoutingInfo instance.
 java.lang.String getAPPid()
          Gets the APPid of the LP
 int getLPid()
          Gets the LPid of the LP
 java.lang.String getMachineName()
          Gets the PE machine name
 int getPEid()
          Gets the PEid of the LP
(package private)  void setAPPid(java.lang.String aid)
          Sets the APPid
(package private)  void setLPid(int lid)
          Sets the LPid
(package private)  void setMachineName(java.lang.String pm)
          Sets the PE machine name
(package private)  void setPEid(int pid)
          Sets the PEid
 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 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

Constructor Detail

RoutingInfo

public RoutingInfo(int pid,
                   int lid,
                   java.lang.String aid)

RoutingInfo

public RoutingInfo(int pid,
                   java.lang.String pip,
                   java.lang.String pm,
                   int lid,
                   java.lang.String appid)
Method Detail

toString

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

getMachineName

public java.lang.String getMachineName()
Gets the PE machine name


setMachineName

void setMachineName(java.lang.String pm)
Sets the PE machine name


setPEid

void setPEid(int pid)
Sets the PEid


setLPid

void setLPid(int lid)
Sets the LPid


setAPPid

void setAPPid(java.lang.String aid)
Sets the APPid


getPEid

public int getPEid()
Gets the PEid of the LP


getLPid

public int getLPid()
Gets the LPid of the LP


getAPPid

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


dump

public void dump()
Display the content of the RoutingInfo instance.