Opc.Ua.Server.AsyncPublishOperation.CompletePublish C# (CSharp) Method

CompletePublish() public method

Schedules a thread to complete the request.
public CompletePublish ( object calldata ) : void
calldata object The data that is used to complete the operation
return void
        public void CompletePublish(object calldata)
        {
            m_calldata = calldata;
            m_server.ScheduleIncomingRequest(m_request);
        }
        #endregion

Usage Example

コード例 #1
0
            /// <summary>
            /// Sets the event that wakes up the publish thread.
            /// </summary>
            public void Set()
            {
                try {
                    if (Operation != null)
                    {
                        Operation.CompletePublish(this);
                        return;
                    }

                    Event.Set();
                } catch (Exception e) {
                    Utils.Trace(e, "Publish request no longer available.");
                }
            }