Class PEInfo

java.lang.Object
  extended by PEInfo

public class PEInfo
extends java.lang.Object

This class represents a table row in the PE information table maintained by the Global Name Server.

Since:
2.0
Version:
2.0
Author:
Yin Xiong(10/2006)

Field Summary
(package private)  int begin
          The beginning point of the LP configuration information for this PE.
(package private)  int end
          The ending point of the LP configuraion information foe this E.
(package private)  java.lang.String machineName
          The name of the machines on which this PE is running
(package private)  int PEid
          The GNS-assigned integer ID to this PE.
(package private)  java.lang.String PEip
          The ip represented as a String
 
Constructor Summary
PEInfo(int pid, java.lang.String pip, java.lang.String pm, int b, int e)
          Constructs a new PEInfor object.
 
Method Summary
(package private)  void setBegin(int b)
          Sets the beginning point of the LP configuration information vector for this PE.
(package private)  void setEnd(int e)
          Sets the ending point of the LP configuration information vector for this PE.
 java.lang.String toString()
          Returns a string representation of this object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PEid

int PEid
The GNS-assigned integer ID to this PE.


PEip

java.lang.String PEip
The ip represented as a String


machineName

java.lang.String machineName
The name of the machines on which this PE is running


begin

int begin
The beginning point of the LP configuration information for this PE.


end

int end
The ending point of the LP configuraion information foe this E.

Constructor Detail

PEInfo

public PEInfo(int pid,
              java.lang.String pip,
              java.lang.String pm,
              int b,
              int e)
Constructs a new PEInfor object.

Parameters:
pid - int the system-assigned PE id.
pip - a String object representing the IP address of this PE.
pm - a String object representing the name of the machine where this PE us running.
b - int indicating the beginning of the LP configuration information in the LP configuration information vector.
e - int indicating the ending point of the LP configuration information in the LP configuration information vector.
Method Detail

toString

public java.lang.String toString()
Returns a string representation of this object

Overrides:
toString in class java.lang.Object

setBegin

void setBegin(int b)
Sets the beginning point of the LP configuration information vector for this PE.

Parameters:
b - int the beginning point.

setEnd

void setEnd(int e)
Sets the ending point of the LP configuration information vector for this PE.