private static void sendEvent(Event e)
        {
            Utils.log("sendEvent(" + e.name + ")");

            eventSender                = new EventSender(e);
            eventSender.OnEventSent   += new EventHandler <EventSender.EventSenderArgs>(onEventSent);
            eventSender.OnEventFailed += new EventHandler <EventSender.EventSenderArgs>(onEventFailed);
            eventSender.start();
        }
        private static void sendEvent(Event e)
        {
            Utils.log("sendEvent(" + e.name + ")");

            eventSender = new EventSender(e);
            eventSender.OnEventSent += new EventHandler<EventSender.EventSenderArgs>(onEventSent);
            eventSender.OnEventFailed += new EventHandler<EventSender.EventSenderArgs>(onEventFailed);
            eventSender.start();
        }