/// <summary> /// Send a CommandCompletionEvent to the Jetstream Device Webserver /// </summary> /// <param name="request">The CommandCompletionEvent</param> public void SendCommandCompletionEvent(CCE.Jetstream request) { if (request == null) throw new ArgumentNullException("request"); String message = ChangeDatesToUTC(MessageHelper.SerializeObject(typeof(CCE.Jetstream), request), new String[] { "EventTime" }, "http://Jetstream.TersoSolutions.com/v1.0/Device/CommandCompletionEvent"); SendMessageToJetStream(message); }
public IAsyncResult BeginSendCommandCompletionEvent(CCE.Jetstream request, AsyncCallback callback, Object state) { this._sendCommandCompletionEventAsync = new SendCommandCompletionEventAsync(SendCommandCompletionEvent); return this._sendCommandCompletionEventAsync.BeginInvoke(request, callback, state); }