Rice Pastry API

rice.p2p.scribe.messaging
Class SubscribeAckMessage

java.lang.Object
  |
  +--rice.p2p.scribe.messaging.ScribeMessage
        |
        +--rice.p2p.scribe.messaging.AbstractSubscribeMessage
              |
              +--rice.p2p.scribe.messaging.SubscribeAckMessage
All Implemented Interfaces:
Message, java.io.Serializable

public class SubscribeAckMessage
extends AbstractSubscribeMessage

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  rice.p2p.commonapi.Id[] pathToRoot
          The contained path to the root
 
Fields inherited from class rice.p2p.scribe.messaging.AbstractSubscribeMessage
id
 
Fields inherited from class rice.p2p.scribe.messaging.ScribeMessage
source, topic
 
Constructor Summary
SubscribeAckMessage(rice.p2p.commonapi.NodeHandle source, rice.p2p.scribe.Topic topic, rice.p2p.commonapi.Id[] pathToRoot, int id)
          Constructor which takes a unique integer Id
 
Method Summary
 rice.p2p.commonapi.Id[] getPathToRoot()
          Returns the path to the root for the node receiving this message
 
Methods inherited from class rice.p2p.scribe.messaging.AbstractSubscribeMessage
getId
 
Methods inherited from class rice.p2p.scribe.messaging.ScribeMessage
getSource, getTopic, setSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pathToRoot

protected rice.p2p.commonapi.Id[] pathToRoot
The contained path to the root

Constructor Detail

SubscribeAckMessage

public SubscribeAckMessage(rice.p2p.commonapi.NodeHandle source,
                           rice.p2p.scribe.Topic topic,
                           rice.p2p.commonapi.Id[] pathToRoot,
                           int id)
Constructor which takes a unique integer Id

Parameters:
id - The unique id
source - The source address
Method Detail

getPathToRoot

public rice.p2p.commonapi.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

Rice Pastry API

Copyright © 2001 - Rice Pastry.


Imprint-Dataprotection