ostore.tapestry.impl
Class TapestryMessage
java.lang.Object
|
+--ostore.network.NetworkMessage
|
+--ostore.tapestry.impl.TapestryMessage
- All Implemented Interfaces:
- Cloneable, QueueElementIF, QuickSerializable
- Direct Known Subclasses:
- PublishMsg, RouteMsg, RouteObjDestMsg, RouteObjRootMsg, TapestryCarrierMessage
- public class TapestryMessage
- extends NetworkMessage
qos
protected int qos
msg_id
protected SecureHash msg_id
frg_num
protected int frg_num
frg_id
protected int frg_id
d_type
protected int d_type
UNICAST
public static final int UNICAST
MULTICAST
public static final int MULTICAST
ANYCAST
public static final int ANYCAST
TapestryMessage
public TapestryMessage(NodeId peer,
boolean inbound)
TapestryMessage
public TapestryMessage(InputBuffer buffer)
throws QSException
serialize
public void serialize(OutputBuffer buffer)
- Description copied from interface:
QuickSerializable
- Add the object to the
buffer
.
- Overrides:
serialize
in class NetworkMessage
- Following copied from interface:
ostore.util.QuickSerializable
- Parameters:
buffer
- the output buffer to add the object to
clone
public Object clone()
throws CloneNotSupportedException
- Overrides:
clone
in class NetworkMessage
is_reliable
public boolean is_reliable()
get_qos
public int get_qos()
get_frg_num
public int get_frg_num()
get_frg_id
public int get_frg_id()
get_msg_id
public SecureHash get_msg_id()
get_delivery_type
public int get_delivery_type()
set_msg_id
public void set_msg_id(SecureHash id)
set_frg_num
public void set_frg_num(int num)
set_frg_id
public void set_frg_id(int id)
set_delivery_type
public void set_delivery_type(int flag)
toString
public String toString()
- Overrides:
toString
in class NetworkMessage