public void SendEvent()
 {
     var id = idCounter.GetAndIncrement();
     var theEvent = new SupportBean();
     theEvent.LongPrimitive = id;
     epRuntime.SendEventBean(theEvent, "SupportBean");
 }
Ejemplo n.º 2
0
 private static SupportCallEvent SendEvent(
     EPEventService runtime,
     long callId,
     string source,
     string destination,
     long startTime,
     long endTime)
 {
     var theEvent = new SupportCallEvent(callId, source, destination, startTime, endTime);
     runtime.SendEventBean(theEvent, typeof(SupportCallEvent).Name);
     return theEvent;
 }
Ejemplo n.º 3
0
 protected void SendEvent(object @event)
 {
     _eventService.SendEventBean(@event, @event.GetType().FullName);
 }
 public void Run()
 {
     for (var i = 0; i < values.Length; i++) {
         runtime.SendEventBean(new SupportBean_S0(values[i]), "S0");
     }
 }