//public class SendLogEntryEventState
        //{
        //    public object previousState;
        //    public SendLogEntryEventAsyncStub asyncStub;
        //}

        public IAsyncResult BeginSendLogEntryEvent(LE.Jetstream request, AsyncCallback callback, Object state)
        {
            _sendLogEntryEventAsync = new SendLogEntryEventAsync(SendLogEntryEvent);
            //SendLogEntryEventState es = new SendLogEntryEventState();
            //es.previousState = state;
            //es.asyncStub = stub;
            //return stub.BeginInvoke(request, callback, es);

            return _sendLogEntryEventAsync.BeginInvoke(request, callback, state);
        }
        /// <summary>
        /// Send a LogEntryEvent to the Jetstream Device Webserver
        /// </summary>
        /// <param name="request">The LogEntryEvent request</param>
        public void SendLogEntryEvent(LE.Jetstream request)
        {
            if (request == null) throw new ArgumentNullException("request");

            String message = ChangeDatesToUTC(MessageHelper.SerializeObject(typeof(LE.Jetstream), request), new String[] { "EventTime", "LogTime" }, "http://Jetstream.TersoSolutions.com/v1.0/Device/LogEntryEvent");

            SendMessageToJetStream(message);
        }
        public IAsyncResult BeginSendLogEntryEvent(LE.Jetstream request, AsyncCallback callback, Object state)
        {
            _sendLogEntryEventAsync = SendLogEntryEvent;

            return _sendLogEntryEventAsync.BeginInvoke(request, callback, state);
        }