ostore.tapestry.api
Class TapestryUnpublishMsg

java.lang.Object
  |
  +--ostore.tapestry.api.TapestryUnpublishMsg
All Implemented Interfaces:
QueueElementIF

public class TapestryUnpublishMsg
extends Object
implements QueueElementIF

Event that causes Tapestry to remove published backpointers to the given GUID with the given tag.

See Also:
TapestryLocateMsg, TapestryPublishMsg

Field Summary
 SecureHash guid
          The GUID.
 int local_opts
          A bitmask indicating which local optimizations to use.
 int qos
          The delivery qos of this msg, added by Ling Huang
 TapestryTag tag
          The tag.
 
Constructor Summary
TapestryUnpublishMsg(SecureHash guid, TapestryTag tag)
          Construct according to the given fields.
 
Method Summary
 void setLocalOptPublishAllLinks()
           
 void setLocalOptPublishBackup()
           
 void setLocalOptPublishLocalMisroute()
           
 String toString()
          Returns a human-readable representation of this TapestryUnpublishMsg.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

guid

public SecureHash guid
The GUID.

tag

public TapestryTag tag
The tag.

qos

public int qos
The delivery qos of this msg, added by Ling Huang

local_opts

public int local_opts
A bitmask indicating which local optimizations to use. Bits indicate the following optimizations, from least significant bit to most significant bit: Bit 1) Publish along secondary links, for a few hops Bit 2) Publish along all links at the current level, for a few hops Bit 3) Before leaving a LAN, misroute and publish. Note: "a few hops" is defined by Router.LOCAL_OPT_HOPS
Constructor Detail

TapestryUnpublishMsg

public TapestryUnpublishMsg(SecureHash guid,
                            TapestryTag tag)
Construct according to the given fields.
Method Detail

setLocalOptPublishBackup

public void setLocalOptPublishBackup()

setLocalOptPublishAllLinks

public void setLocalOptPublishAllLinks()

setLocalOptPublishLocalMisroute

public void setLocalOptPublishLocalMisroute()

toString

public String toString()
Returns a human-readable representation of this TapestryUnpublishMsg.
Overrides:
toString in class Object