public void OnS0(string value) { var output = "S0-" + value; graphContext.SubmitPort( 1, new object[] {output}); }
public void SubmitPort(int portNumber, Object @object) { if (!_cpuStatistics) { _facility.SubmitPort(portNumber, @object); _statisticsProvider.CountSubmitPort(_producerOpNum, portNumber); } else { long nanoTime = PerformanceObserver.NanoTime; _facility.SubmitPort(portNumber, @object); long nanoTimDelta = PerformanceObserver.NanoTime - nanoTime; _statisticsProvider.CountSubmitPortWithTime(_producerOpNum, portNumber, nanoTimDelta); } }
public void OnInput(Object row) { if (Log.IsDebugEnabled) { Log.Debug("Received row for filtering: " + row.RenderAny()); } if (!(row is EventBeanSPI)) { _theEvent.Underlying = row; } else { _theEvent = (EventBeanSPI)row; } var pass = _evaluator.Evaluate(new EvaluateParams(_eventsPerStream, true, null)); if (pass != null && true.Equals(pass)) { if (Log.IsDebugEnabled) { Log.Debug("Submitting row " + row.RenderAny()); } if (_singleOutputPort) { graphContext.Submit(row); } else { graphContext.SubmitPort(0, row); } } else { if (!_singleOutputPort) { graphContext.SubmitPort(1, row); } } }
public void OnInput(object row) { if (log.IsDebugEnabled) { log.Debug("Received row for filtering: " + row.RenderAny()); } if (!(row is EventBeanSPI)) { theEvent.UnderlyingSpi = row; } else { theEvent = (EventBeanSPI) row; } object pass = factory.Filter.Evaluate(eventsPerStream, true, agentInstanceContext); if (pass != null && true.Equals(pass)) { if (log.IsDebugEnabled) { log.Debug("Submitting row " + row.RenderAny()); } if (factory.IsSingleOutputPort) { graphContext.Submit(row); } else { graphContext.SubmitPort(0, row); } } else { if (!factory.IsSingleOutputPort) { graphContext.SubmitPort(1, row); } } }
public void Next() { var next = emittables.Pop(); if (next is EPDataFlowSignal) { var signal = (EPDataFlowSignal) next; graphContext.SubmitSignal(signal); } else if (next is PortAndMessagePair) { var pair = (PortAndMessagePair) next; graphContext.SubmitPort(pair.Port, pair.Message); } else { graphContext.Submit(next); } }
#pragma warning restore CS0649 public void OnInput(int number) { graphContext.SubmitPort(0, new object[] { number, (long)number }); }
public void SubmitPort( int portNumber, object @object) { dataFlowEmitter.SubmitPort(portNumber, @object); }
public void OnS0(String value) { String output = "S0-" + value; graphContext.SubmitPort(1, new Object[] { output }); }