rice.p2p.scribe.messaging
Class SubscribeFailedMessage
java.lang.Object
rice.p2p.scribe.messaging.AbstractSubscribeMessage
rice.p2p.scribe.messaging.SubscribeFailedMessage
- All Implemented Interfaces:
- Serializable, Message, RawMessage, RawSerializable
public class SubscribeFailedMessage
- extends AbstractSubscribeMessage
- Version:
- $Id
- Author:
- Alan Mislove
- See Also:
- Serialized Form
|
Field Summary |
static short |
TYPE
|
TYPE
public static final short TYPE
- See Also:
- Constant Field Values
SubscribeFailedMessage
public SubscribeFailedMessage(NodeHandle source,
List<Topic> topics,
int id)
- Constructor which takes a unique integer Id
- Parameters:
id - The unique idsource - The source addressdest - The destination address
getType
public short getType()
- Raw Serialization
serialize
public void serialize(OutputBuffer buf)
throws IOException
- Specified by:
serialize in interface RawSerializable- Overrides:
serialize in class AbstractSubscribeMessage
- Throws:
IOException
build
public static SubscribeFailedMessage build(InputBuffer buf,
Endpoint endpoint)
throws IOException
- Throws:
IOException
Copyright © 2010. All Rights Reserved.