Rice Pastry API

rice.scribe.testing
Class DirectScribeMaintenanceTest.TestAnycastMessage

java.lang.Object
  |
  +--rice.pastry.messaging.Message
        |
        +--rice.scribe.messaging.ScribeMessage
              |
              +--rice.scribe.messaging.MessageAnycast
                    |
                    +--rice.scribe.testing.DirectScribeMaintenanceTest.TestAnycastMessage
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
DirectScribeMaintenanceTest

public class DirectScribeMaintenanceTest.TestAnycastMessage
extends MessageAnycast

A dummy test message used for checking if anycast is doing DFS correctly.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class rice.scribe.messaging.ScribeMessage
m_source, m_topicId
 
Constructor Summary
DirectScribeMaintenanceTest.TestAnycastMessage(rice.pastry.messaging.Address address, rice.pastry.NodeHandle nh, rice.pastry.NodeId topicId, rice.pastry.security.Credentials credentials)
           
 
Method Summary
 void faultHandler(rice.scribe.Scribe scribe)
          Method to notify that anycast has failed.
 
Methods inherited from class rice.scribe.messaging.MessageAnycast
alreadySeenSize, handleDeliverMessage, handleForwardMessage, toString
 
Methods inherited from class rice.scribe.messaging.ScribeMessage
getData, getSource, getTopicId, setData
 
Methods inherited from class rice.pastry.messaging.Message
getCredentials, getDate, getDestination, getSenderId, getStream, hasPriority, setPriority, setSenderId, stamp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DirectScribeMaintenanceTest.TestAnycastMessage

public DirectScribeMaintenanceTest.TestAnycastMessage(rice.pastry.messaging.Address address,
                                                      rice.pastry.NodeHandle nh,
                                                      rice.pastry.NodeId topicId,
                                                      rice.pastry.security.Credentials credentials)
Method Detail

faultHandler

public void faultHandler(rice.scribe.Scribe scribe)
Description copied from class: MessageAnycast
Method to notify that anycast has failed. Derived classes can do more application-specific handling of such cases.

Overrides:
faultHandler in class MessageAnycast
Parameters:
scribe - The scribe object present on the local node

Rice Pastry API

Copyright © 2001 - Rice Pastry.


Imprint-Dataprotection