sg.edu.nus.peer.info
Class AdjacentNodeInfo

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

public class AdjacentNodeInfo
extends NodeInfo

Define the data structure of the adjacent 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
AdjacentNodeInfo(PhysicalInfo physicalInfo, LogicalInfo logicalInfo)
          Construct the adjacent node.
AdjacentNodeInfo(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

AdjacentNodeInfo

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

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

AdjacentNodeInfo

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

Parameters:
serializeData - the serialized string value