xworker.statistics.flow.DataInputer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xworker_app Show documentation
Show all versions of xworker_app Show documentation
XWorker app model liberary.
The newest version!
package xworker.statistics.flow;
import org.xmeta.ActionContext;
import org.xmeta.Thing;
public class DataInputer {
public Thing thing;
public ActionContext actionContext;
public FlowStatistics flowStatistics;
public Object object;
public DataInputer(FlowStatistics flowStatistics, Thing thing, ActionContext actionContext){
this.flowStatistics = flowStatistics;
this.thing = thing;
this.actionContext = actionContext;
}
public void start(){
thing.doAction("start", actionContext, "flowStatistics", flowStatistics, "dataInputer", this);
}
public void stop(){
thing.doAction("stop", actionContext, "flowStatistics", flowStatistics, "dataInputer", this);
}
public void input(Object data){
flowStatistics.input(data, this);
}
public void inputFinished(){
flowStatistics.inputFinished(this);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy