Ejemplo n.º 1
0
 public void MatchFound(EventBean theEvent, ICollection <FilterHandleCallback> allStmtMatches)
 {
     if (collector != null)
     {
         var holder = _collectorDataTL.GetOrCreate();
         if (holder == null)
         {
             holder = new EPDataFlowEventBeanCollectorContext(graphContext, submitEventBean, theEvent);
             _collectorDataTL.Value = holder;
         }
         else
         {
             holder.Event = theEvent;
         }
         collector.Collect(holder);
     }
     else if (submitEventBean)
     {
         emittables.Push(theEvent);
     }
     else
     {
         emittables.Push(theEvent.Underlying);
     }
 }
Ejemplo n.º 2
0
 public void MatchFound(
     EventBean theEvent,
     ICollection<FilterHandleCallback> allStmtMatches)
 {
     if (collector != null) {
         var holder = new EPDataFlowEventBeanCollectorContext(graphContext, factory.IsSubmitEventBean, theEvent);
         collector.Collect(holder);
     }
     else if (factory.IsSubmitEventBean) {
         emittables.Push(theEvent);
     }
     else {
         emittables.Push(theEvent.Underlying);
     }
 }
 public void Collect(EPDataFlowEventBeanCollectorContext context)
 {
 }
 public void Collect(EPDataFlowEventBeanCollectorContext context)
 {
     Last = context;
     context.Emitter.Submit(context.Event);
 }