Opc.Ua.ServerTest.SubscribeTest.SaveAcknowledgement C# (CSharp) Метод

SaveAcknowledgement() приватный Метод

Save the acknowledgement to send to the server with the publish.
private SaveAcknowledgement ( uint subscriptionId, uint sequenceNumber ) : void
subscriptionId uint
sequenceNumber uint
Результат void
        private void SaveAcknowledgement(uint subscriptionId, uint sequenceNumber)
        {
            lock (m_acknowledgements)
            {
                SubscriptionAcknowledgement acknowledgement = new SubscriptionAcknowledgement();

                acknowledgement.SubscriptionId = subscriptionId;
                acknowledgement.SequenceNumber = sequenceNumber;

                m_acknowledgements.Add(acknowledgement);
            }
        }