bunshin.messaging
Class RemoveMessage

java.lang.Object
  extended by bunshin.messaging.BunshinMessage
      extended by bunshin.messaging.RemoveMessage
All Implemented Interfaces:
java.io.Serializable, rice.p2p.commonapi.Message, rice.p2p.commonapi.rawserialization.RawMessage, rice.p2p.commonapi.rawserialization.RawSerializable

public class RemoveMessage
extends BunshinMessage

The remove message.

Author:
Ruben Mondejar
See Also:
Serialized Form

Field Summary
protected static short TYPE
          Raw Serialization
 
Fields inherited from class bunshin.messaging.BunshinMessage
context
 
Fields inherited from interface rice.p2p.commonapi.Message
DEFAULT_PRIORITY, HIGH_PRIORITY, LOW_PRIORITY, LOWEST_PRIORITY, MAX_PRIORITY, MEDIUM_HIGH_PRIORITY, MEDIUM_LOW_PRIORITY, MEDIUM_PRIORITY
 
Constructor Summary
RemoveMessage(rice.p2p.commonapi.Id key, rice.p2p.commonapi.NodeHandle source)
           
RemoveMessage(rice.p2p.commonapi.Id key, java.lang.String field, rice.p2p.commonapi.NodeHandle source)
           
RemoveMessage(rice.p2p.commonapi.rawserialization.InputBuffer buf)
           
 
Method Summary
 rice.p2p.commonapi.Id getKey()
           
 rice.p2p.commonapi.NodeHandle getNH()
           
 int getPriority()
           
 short getType()
           
 void serialize(rice.p2p.commonapi.rawserialization.OutputBuffer buf)
           
 java.lang.String toString()
           
 
Methods inherited from class bunshin.messaging.BunshinMessage
deserialize, getContext, serialize, setContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE

protected static final short TYPE
Raw Serialization

See Also:
Constant Field Values
Constructor Detail

RemoveMessage

public RemoveMessage(rice.p2p.commonapi.Id key,
                     java.lang.String field,
                     rice.p2p.commonapi.NodeHandle source)

RemoveMessage

public RemoveMessage(rice.p2p.commonapi.Id key,
                     rice.p2p.commonapi.NodeHandle source)

RemoveMessage

public RemoveMessage(rice.p2p.commonapi.rawserialization.InputBuffer buf)
              throws java.io.IOException
Throws:
java.io.IOException
Method Detail

getKey

public rice.p2p.commonapi.Id getKey()

getNH

public rice.p2p.commonapi.NodeHandle getNH()

getPriority

public int getPriority()

toString

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

getType

public short getType()

serialize

public void serialize(rice.p2p.commonapi.rawserialization.OutputBuffer buf)
               throws java.io.IOException
Throws:
java.io.IOException