Beispiel #1
0
        /// -----------------------------------------------------------------
        /// <summary>
        /// </summary>
        // -----------------------------------------------------------------
        private void InvokeAsynchronousHandler(string request)
        {
            try
            {
                RequestBase req = RequestBase.DeserializeFromTextData(request);
                if (req == null)
                {
                    OperationFailed("Failed to deserialize request");
                    return;
                }

                // This request has to be asynchronous
                req._AsyncRequest = true;

                // Don't care about the results
                InvokeHandler(req);
            }
            catch (Exception e)
            {
                OperationFailed(String.Format("Fatal error; {0}", e.Message));
            }
        }