sg.edu.nus.peer.info
Class ParentNodeInfo

java.lang.Object
  extended by sg.edu.nus.peer.info.NodeInfo
      extended by sg.edu.nus.peer.info.ParentNodeInfo
All Implemented Interfaces:
java.io.Serializable

public class ParentNodeInfo
extends NodeInfo

Define the data structure of the parent node of each node in the BATON tree.

Version:
1.0 2006-2-7
Author:
Vu Quang Hieu, (Modified by) Xu Linhao
See Also:
Serialized Form

Constructor Summary
ParentNodeInfo(PhysicalInfo physicalInfo, LogicalInfo logicalInfo)
          Construct the parent node of each node.
ParentNodeInfo(java.lang.String serializeData)
          Construct the node with a serialized string value.
 
Method Summary
 
Methods inherited from class sg.edu.nus.peer.info.NodeInfo
getLogicalInfo, getPhysicalInfo, serialize, setLogicalInfo, setPhysicalInfo, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ParentNodeInfo

public ParentNodeInfo(PhysicalInfo physicalInfo,
                      LogicalInfo logicalInfo)
Construct the parent node of each node.

Parameters:
physicalInfo - the physical information of the node
logicalInfo - the logical information of the node

ParentNodeInfo

public ParentNodeInfo(java.lang.String serializeData)
Construct the node with a serialized string value.

Parameters:
serializeData - the serialized string value