Exemplo n.º 1
0
 /// <summary>
 /// Sends an event to the CEP Server
 /// </summary>
 /// <param name="obj">the event</param>
 public void SendEvent(RawEvent obj)
 {
     Log.DebugFormat("Received Event #{1} at {2}: {0}", obj.ToString(), ++eventsReceivedCount, this.GetHashCode());
     obj.TimeStamp = DateTime.Now.ToString("yyyyMMddHHmmssffff");
     epService.EPRuntime.SendEvent(obj);
 }
Exemplo n.º 2
0
        /// <summary>
        /// Sends an event to the CEP Server
        /// </summary>
        /// <param name="obj">the event</param>
        public void SendEvent(RawEvent obj)
        {
            Log.DebugFormat("Received Event #{1} at {2}: {0}", obj.ToString(), ++eventsReceivedCount, this.GetHashCode());

            epService.EPRuntime.SendEvent(obj);
        }