|
@@ -333,7 +333,7 @@ public class MQTT_protocol implements Protocol {
|
|
*/
|
|
*/
|
|
SimulationManager.scheduleEvent(new AbstractEvent(timestep + p.getResponseTime()) {
|
|
SimulationManager.scheduleEvent(new AbstractEvent(timestep + p.getResponseTime()) {
|
|
@Override
|
|
@Override
|
|
- public void simulateEvent() {
|
|
|
|
|
|
+ public void simulateEvent(long time) {
|
|
((FloatCollector) p.getOwner()).setFCval(oldValue);
|
|
((FloatCollector) p.getOwner()).setFCval(oldValue);
|
|
}
|
|
}
|
|
});
|
|
});
|
|
@@ -349,7 +349,7 @@ public class MQTT_protocol implements Protocol {
|
|
*/
|
|
*/
|
|
SimulationManager.scheduleEvent(new AbstractEvent(timestep + p.getResponseTime()) {
|
|
SimulationManager.scheduleEvent(new AbstractEvent(timestep + p.getResponseTime()) {
|
|
@Override
|
|
@Override
|
|
- public void simulateEvent() {
|
|
|
|
|
|
+ public void simulateEvent(long time) {
|
|
((BoolCollector) p.getOwner()).setBCval(oldValue);
|
|
((BoolCollector) p.getOwner()).setBCval(oldValue);
|
|
}
|
|
}
|
|
});
|
|
});
|