Opc.Ua.ServerTest.SubscribeTest.GetAcknowledgements C# (CSharp) 메소드

GetAcknowledgements() 개인적인 메소드

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