iFogSim
iFogSim copied to clipboard
how to create and map tuple against a device and execute it while application is running?
I am trying to map tuple against a device. I tried using following code.
- Tuple tuple = application.createTuple(application.getEdges().get(0),0,0);
- device.sendPeriodicTuple(new SimEvent(SEND, 5.0, 0,1,-1,application.getEdges().get(0)));
In 2nd case, how can i map the Tuple against the device before executing application?