planet.scribe.messaging
Class SubscribeFailedMessage

java.lang.Object
  extended byplanet.scribe.messaging.ScribeMessage
      extended byplanet.scribe.messaging.AbstractSubscribeMessage
          extended byplanet.scribe.messaging.SubscribeFailedMessage
All Implemented Interfaces:
Message, java.io.Serializable

public class SubscribeFailedMessage
extends AbstractSubscribeMessage

The ack for a subscribe message.

Version:
$Id
Author:
Alan Mislove
See Also:
Serialized Form

Field Summary
 
Fields inherited from class planet.scribe.messaging.AbstractSubscribeMessage
id
 
Fields inherited from class planet.scribe.messaging.ScribeMessage
source, topic
 
Constructor Summary
SubscribeFailedMessage(NodeHandle source, Topic topic, int id)
          Constructor which takes a unique integer Id
 
Method Summary
 java.lang.String toString()
          Returns a String represneting this message
 
Methods inherited from class planet.scribe.messaging.AbstractSubscribeMessage
getId
 
Methods inherited from class planet.scribe.messaging.ScribeMessage
getSource, getTopic, setSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SubscribeFailedMessage

public SubscribeFailedMessage(NodeHandle source,
                              Topic topic,
                              int id)
Constructor which takes a unique integer Id

Parameters:
source - The source address
topic - Message topic.
id - The unique id
Method Detail

toString

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

Returns:
A String of this message