Opc.Ua.ServerTest.SubscribeTest.GetAcknowledgements C# (CSharp) Method

GetAcknowledgements() private method

Returns the acknowledgements to send to the server with the publish.
private GetAcknowledgements ( ) : SubscriptionAcknowledgementCollection
return SubscriptionAcknowledgementCollection
        private SubscriptionAcknowledgementCollection GetAcknowledgements()
        {
            lock (m_acknowledgements)
            {
                SubscriptionAcknowledgementCollection acknowledgements = new SubscriptionAcknowledgementCollection();
                acknowledgements.AddRange(m_acknowledgements);
                m_acknowledgements.Clear();
                return acknowledgements;
            }
        }