tapestry.impl
Class PublishMsg
java.lang.Object
|
+--ostore.network.NetworkMessage
|
+--tapestry.impl.TapestryMessage
|
+--tapestry.impl.PublishMsg
- All Implemented Interfaces:
- Cloneable, QueueElementIF, QuickSerializable
- public class PublishMsg
- extends TapestryMessage
- implements QuickSerializable
src
public SecureHash src
guid
public SecureHash guid
tag
public TapestryTag tag
hop
public int hop
publish
public boolean publish
TTL
public int TTL
- Maximum number of hops this msg can take.
local_opts
public int local_opts
- Local optimizations flags and time-to-live
local_opts_ttl
public int local_opts_ttl
PublishMsg
public PublishMsg(NodeId peer,
SecureHash src,
SecureHash guid,
TapestryTag tag,
int hop,
boolean publish)
PublishMsg
public PublishMsg(InputBuffer buffer)
throws QSException
serialize
public void serialize(OutputBuffer buffer)
- Specified by:
serialize
in interface QuickSerializable
- Overrides:
serialize
in class TapestryMessage
clone
public Object clone()
throws CloneNotSupportedException
- Overrides:
clone
in class TapestryMessage
CloneNotSupportedException
set_qos
public void set_qos(int qos)
generate_msg_id
public SecureHash generate_msg_id()
generate_msg_id
public SecureHash generate_msg_id(Object id)
toString
public String toString()
- Overrides:
toString
in class TapestryMessage