Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1088,12 +1088,23 @@

// fetch the event fields.
EventFieldList fields = GetEventFields(context, filter, instance);
QueueEvent(fields);
}
}

Check warning on line 1093 in Libraries/Opc.Ua.Server/Subscription/MonitoredItem/MonitoredItem.cs

View check run for this annotation

Codecov / codecov/patch

Libraries/Opc.Ua.Server/Subscription/MonitoredItem/MonitoredItem.cs#L1091-L1093

Added lines #L1091 - L1093 were not covered by tests

/// <summary>
/// Adds an event to the queue.
/// </summary>
public virtual void QueueEvent(EventFieldList fields)
{
lock (m_lock)

Check warning on line 1100 in Libraries/Opc.Ua.Server/Subscription/MonitoredItem/MonitoredItem.cs

View check run for this annotation

Codecov / codecov/patch

Libraries/Opc.Ua.Server/Subscription/MonitoredItem/MonitoredItem.cs#L1100

Added line #L1100 was not covered by tests
{
m_eventQueueHandler.QueueEvent(fields);
m_readyToPublish = true;
m_readyToTrigger = true;
}
}

/// <summary>
/// Determines whether an event can be sent with SupportsFilteredRetain in consideration.
/// </summary>
Expand Down
Loading