sidnet.stack.users.topological_tree_aggregation.app
Class App_TreeBasedAggregation
java.lang.Object
sidnet.stack.users.topological_tree_aggregation.app.App_TreeBasedAggregation
- All Implemented Interfaces:
- JistAPI.Proxiable, JistAPI.Timeless, AppInterface, CallbackInterface
public class App_TreeBasedAggregation
- extends java.lang.Object
- implements AppInterface, CallbackInterface
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
App_TreeBasedAggregation
public App_TreeBasedAggregation(Node myNode,
StatsCollector stats)
run
public void run(java.lang.String[] args)
- Description copied from interface:
AppInterface
- Run application.
- Specified by:
run
in interface AppInterface
- Parameters:
args
- command-line parameters
run
public void run()
- Description copied from interface:
AppInterface
- Run application.
- Specified by:
run
in interface AppInterface
sensing
public void sensing(java.util.List params)
- Specified by:
sensing
in interface AppInterface
receive
public void receive(Message msg,
NetAddress src,
MacAddress lastHop,
byte macId,
NetAddress dst,
byte priority,
byte ttl)
- Description copied from interface:
AppInterface
- Receive a message from network layer.
- Specified by:
receive
in interface AppInterface
- Parameters:
msg
- message receivedsrc
- source network addresslastHop
- source link addressmacId
- incoming interfacedst
- destination network addresspriority
- packet priorityttl
- packet time-to-live
signalUserRequest
public void signalUserRequest()
- Specified by:
signalUserRequest
in interface CallbackInterface
setNetEntity
public void setNetEntity(NetInterface netEntity)
getAppProxy
public AppInterface getAppProxy()