Пример #1
0
        void SendGetSpotSubscriptionReq(uint?subscriptionId = 0)
        {
            if (!subscriptionId.HasValue)
            {
                return;
            }
            var _msg = outgoingMsgFactory.CreateGetSpotSubscriptionRequest(subscriptionId.Value, clientMsgId);

#if TRACE_SUBSCRIPTIONS
            if (isDebugIsOn)
            {
                Debug.WriteLine("SendGetSpotSubscriptionReq() Message to be sent:\n{0}", OpenApiMessagesPresentation.ToString(_msg));
            }
#endif
            writeQueueSync.Enqueue(_msg.ToByteArray());
        }