rice.p2p.scribe.messaging
Class DropMessage
java.lang.Object
rice.p2p.scribe.messaging.ScribeMessage
rice.p2p.scribe.messaging.DropMessage
- All Implemented Interfaces:
- Serializable, Message, RawMessage, RawSerializable
public class DropMessage
- extends ScribeMessage
- Version:
- $Id: DropMessage.java 3613 2007-02-15 14:45:14Z jstewart $
- Author:
- Alan Mislove
- See Also:
- Serialized Form
|
Field Summary |
static short |
TYPE
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE
public static final short TYPE
- See Also:
- Constant Field Values
DropMessage
public DropMessage(NodeHandle source,
Topic topic)
- 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 ScribeMessage
- Throws:
IOException
build
public static DropMessage build(InputBuffer buf,
Endpoint endpoint)
throws IOException
- Throws:
IOException
Copyright © 2010. All Rights Reserved.