planet.scribe.messaging
Class SubscribeAckMessage
java.lang.Object
planet.scribe.messaging.ScribeMessage
planet.scribe.messaging.AbstractSubscribeMessage
planet.scribe.messaging.SubscribeAckMessage
- All Implemented Interfaces:
- Message, java.io.Serializable
- public class SubscribeAckMessage
- extends AbstractSubscribeMessage
The ack for a subscribe message.
- Version:
- $Id: SubscribeAckMessage.java,v 1.3 2003/10/14 02:58:15 amislove Exp $
- Author:
- Alan Mislove
- See Also:
- Serialized Form
Field Summary |
protected Id[] |
pathToRoot
The contained path to the root |
Method Summary |
Id[] |
getPathToRoot()
Returns the path to the root for the node receiving
this message |
java.lang.String |
toString()
Returns a String represneting this message |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
pathToRoot
protected Id[] pathToRoot
- The contained path to the root
SubscribeAckMessage
public SubscribeAckMessage(NodeHandle source,
Topic topic,
Id[] pathToRoot,
int id)
- Parameters:
source
- The source addresstopic
- Message topic.pathToRoot
- Path wiht Id to root node.id
- The unique id
getPathToRoot
public Id[] getPathToRoot()
- Returns the path to the root for the node receiving
this message
- Returns:
- The new path to the root for the node receiving this
message
toString
public java.lang.String toString()
- Returns a String represneting this message
- Returns:
- A String of this message