use of org.apache.felix.upnp.basedriver.importer.core.event.structs.StateVarsToNotify in project felix by apache.
the class Notifier method run.
public void run() {
while (running) {
StateChanged msg = (StateChanged) notifierQueue.dequeue();
if (running) {
StateVarsToNotify vars = null;
if (msg.getSeq() == 0) {
vars = new StateVarsToNotify(msg);
monitor.putStateVars(msg.getSid(), vars);
} else {
monitor.updateStateVars(msg.getSid(), msg.getDictionary());
}
}
}
}
Aggregations