sidnet.stack.users.alternating_tree.routing
Class Message_AggregationTreeConstructor

java.lang.Object
  extended by sidnet.stack.users.alternating_tree.routing.Message_AggregationTreeConstructor
All Implemented Interfaces:
JistAPI.Timeless, Message

public class Message_AggregationTreeConstructor
extends java.lang.Object
implements Message


Field Summary
 int level
           
 Location2D parentLocation
           
 Query query
           
 NetAddress rootAddress
           
 NCS_Location2D rootNCSLocation
           
 
Fields inherited from interface jist.swans.misc.Message
NULL
 
Constructor Summary
Message_AggregationTreeConstructor(Query query, int level, Location2D parentLocation, NetAddress rootAddress)
           
Message_AggregationTreeConstructor(Query query, int level, Location2D parentLocation, NetAddress rootAddress, NCS_Location2D rootNCSLocation)
           
 
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
 

Field Detail

query

public Query query

level

public int level

parentLocation

public Location2D parentLocation

rootAddress

public NetAddress rootAddress

rootNCSLocation

public NCS_Location2D rootNCSLocation
Constructor Detail

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)
Method Detail

getBytes

public void getBytes(byte[] b,
                     int offset)
Store packet into byte array.

Specified by:
getBytes in interface Message
Parameters:
b - destination byte array
offset - 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]