Class PeerDetailStruct

java.lang.Object
  |
  +--PeerDetailStruct
All Implemented Interfaces:
java.io.Serializable

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

This class is used to store the details of peers..that is the the URL of peer's registry and its input pipe advertisement

See Also:
Serialized Form

Constructor Summary
PeerDetailStruct(java.lang.String inpPipeAdvt, java.lang.String regURL)
          Constructor: stores the details of peers..that is the the URL of peer's registry and its input pipe advertisement
PeerDetailStruct(java.lang.String inpPipeAdvt, java.lang.String regURL, java.lang.String nodeNameString)
          Constructor: stores the details of peers..that is the the URL of peer's registry and its input pipe advertisement
 
Method Summary
 java.lang.String getInpPipeAdv()
          To get the Input pipe advertisement from the PeerDetailStruct
 java.lang.String getNodeName()
          To get the nodeName from the PeerDetailStruct
 java.lang.String getRegistryURL()
          To get the Regristry URL from the PeerDetailStruct
 java.lang.String toString()
          Return details of PeerDetailStruct as a String
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PeerDetailStruct

public PeerDetailStruct(java.lang.String inpPipeAdvt,
                        java.lang.String regURL)
Constructor: stores the details of peers..that is the the URL of peer's registry and its input pipe advertisement


PeerDetailStruct

public PeerDetailStruct(java.lang.String inpPipeAdvt,
                        java.lang.String regURL,
                        java.lang.String nodeNameString)
Constructor: stores the details of peers..that is the the URL of peer's registry and its input pipe advertisement

Method Detail

getInpPipeAdv

public java.lang.String getInpPipeAdv()
To get the Input pipe advertisement from the PeerDetailStruct

Returns:
String Input PipeAdvertisement

getRegistryURL

public java.lang.String getRegistryURL()
To get the Regristry URL from the PeerDetailStruct

Returns:
String registryURL

getNodeName

public java.lang.String getNodeName()
To get the nodeName from the PeerDetailStruct

Returns:
String nodeName

toString

public java.lang.String toString()
Return details of PeerDetailStruct as a String

Overrides:
toString in class java.lang.Object
Returns:
String PeerDetailStruct as String