/// <summary> /// Constructor /// </summary> /// <param name="eventListener">The EventListener to receive events</param> /// <param name="events">The event queue to pull events from</param> /// <param name="autostop">Set to true to stop pump after RunFinished</param> public EventPump( EventListener eventListener, EventQueue events, bool autostop) { this.eventListener = eventListener; this.events = events; this.events.SetWaitHandleForSynchronizedEvents(this.synchronousEventSent); this.autostop = autostop; }
/// <summary> /// Constructor /// </summary> /// <param name="eventListener">The EventListener to receive events</param> /// <param name="events">The event queue to pull events from</param> /// <param name="autostop">Set to true to stop pump after RunFinished</param> public EventPump( EventListener eventListener, EventQueue events, bool autostop) { this.eventListener = eventListener; this.events = events; this.autostop = autostop; }
/// <summary> /// Constructor /// </summary> /// <param name="eventListener">The EventListener to receive events</param> /// <param name="events">The event queue to pull events from</param> /// <param name="autostop">Set to true to stop pump after RunFinished</param> public EventPump(EventListener eventListener, EventQueue events, bool autostop) { this.eventListener = eventListener; this.events = events; this.autostop = autostop; }