dermi.messaging.pastry
Class InterceptorDataMessage

java.lang.Object
  extended by rice.p2p.scribe.messaging.ScribeMessage
      extended by dermi.messaging.pastry.InterceptorDataMessage
All Implemented Interfaces:
java.io.Serializable, rice.p2p.commonapi.Message

public class InterceptorDataMessage
extends rice.p2p.scribe.messaging.ScribeMessage

This class wraps an interception data message This kind of messages are sent when a rendezvous point change is detected

Version:
1.2
Author:
Carles Pairot
See Also:
Serialized Form

Field Summary
protected  java.util.ArrayList interceptors
           
 
Fields inherited from class rice.p2p.scribe.messaging.ScribeMessage
source, topic
 
Fields inherited from interface rice.p2p.commonapi.Message
HIGH_PRIORITY, LOW_PRIORITY, MEDIUM_HIGH_PRIORITY, MEDIUM_LOW_PRIORITY, MEDIUM_PRIORITY
 
Constructor Summary
InterceptorDataMessage(rice.p2p.commonapi.NodeHandle source, rice.p2p.scribe.Topic topic, java.util.ArrayList interceptors)
          Constructor
 
Method Summary
 java.util.ArrayList getInterceptors()
          Get interceptors
 java.lang.String toString()
           
 
Methods inherited from class rice.p2p.scribe.messaging.ScribeMessage
getPriority, getSource, getTopic, setSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

interceptors

protected java.util.ArrayList interceptors
Constructor Detail

InterceptorDataMessage

public InterceptorDataMessage(rice.p2p.commonapi.NodeHandle source,
                              rice.p2p.scribe.Topic topic,
                              java.util.ArrayList interceptors)
Constructor

Parameters:
source - NodeHandle Source nodehandle
topic - Topic Group's identifier
interceptors - ArrayList List of interceptors
Method Detail

getInterceptors

public java.util.ArrayList getInterceptors()
Get interceptors

Returns:
ArrayList Interceptors

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object