sidnet.stack.users.topological_tree_aggregation.routing
Class Message_AggregationTreeConstructor
java.lang.Object
sidnet.stack.users.topological_tree_aggregation.routing.Message_AggregationTreeConstructor
- All Implemented Interfaces:
- JistAPI.Timeless, Message
public class Message_AggregationTreeConstructor
- extends java.lang.Object
- implements Message
Fields inherited from interface jist.swans.misc.Message |
NULL |
Method Summary |
void |
getBytes(byte[] b,
int offset)
Store packet into byte array. |
int |
getSize()
Return packet size or Constants.ZERO_WIRE_SIZE. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
query
public Query query
level
public int level
parentLocation
public Location2D parentLocation
rootAddress
public NetAddress rootAddress
rootNCSLocation
public NCS_Location2D rootNCSLocation
Message_AggregationTreeConstructor
public Message_AggregationTreeConstructor(Query query,
int level,
Location2D parentLocation,
NetAddress rootAddress)
Message_AggregationTreeConstructor
public Message_AggregationTreeConstructor(Query query,
int level,
Location2D parentLocation,
NetAddress rootAddress,
NCS_Location2D rootNCSLocation)
getBytes
public void getBytes(byte[] b,
int offset)
- Store packet into byte array.
- Specified by:
getBytes
in interface Message
- Parameters:
b
- destination byte arrayoffset
- byte array starting offset
getSize
public int getSize()
- Return packet size or Constants.ZERO_WIRE_SIZE.
- Specified by:
getSize
in interface Message
- Returns:
- packet size [in bytes]