dermi.messaging.pastry
Class MembershipMessage

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

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

Message used for sending membership information to group members

Version:
1.2
Author:
Ruben Mondejar, Carles Pairot
See Also:
Serialized Form

Field Summary
 
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
MembershipMessage(rice.p2p.commonapi.NodeHandle source, rice.p2p.scribe.Topic topic, boolean join)
           
 
Method Summary
 boolean isJoin()
           
 java.lang.String toString()
          Returns a String representing this message
 
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
 

Constructor Detail

MembershipMessage

public MembershipMessage(rice.p2p.commonapi.NodeHandle source,
                         rice.p2p.scribe.Topic topic,
                         boolean join)
Method Detail

isJoin

public boolean isJoin()

toString

public java.lang.String toString()
Returns a String representing this message

Overrides:
toString in class java.lang.Object
Returns:
A String of this message