sg.edu.nus.peer.info
Class ChildNodeInfo

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

public class ChildNodeInfo
extends NodeInfo

Define the structure of the child node of each node in the BATON tree.

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

Constructor Summary
ChildNodeInfo(PhysicalInfo physicalInfo, LogicalInfo logicalInfo)
          Construct the node.
ChildNodeInfo(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

ChildNodeInfo

public ChildNodeInfo(PhysicalInfo physicalInfo,
                     LogicalInfo logicalInfo)
Construct the node.

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

ChildNodeInfo

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

Parameters:
serializeData - the serialized string value