UA_ByteString wrapper class.
UA_DateTime wrapper class.
Create and trigger events.
Event & writeSourceName(std::string_view sourceName)
Set the source name (optional).
Event & writeSeverity(uint16_t severity)
Set the urgency/priority of the event from 1 (lowest) to 1000 (highest).
const Server & connection() const noexcept
Get the server instance.
Event & writeMessage(const LocalizedText &message)
Set a human-readable and localizable text description of the event.
const NodeId & id() const noexcept
Get the NodeId of the underlying node representation.
Server & connection() noexcept
Get the server instance.
Event(Server &connection, const NodeId &eventType=ObjectTypeId::BaseEventType)
Create an event with the underlying (abstract) node representation.
Event(const Event &)=default
Event(Event &&) noexcept=default
Event & writeProperty(const QualifiedName &propertyName, const Variant &value)
Set arbitrary properties of the event (for custom event types).
ByteString trigger(const NodeId &originId=ObjectId::Server)
Trigger the event.
~Event()
Delete the node representation of the event.
Event & writeTime(DateTime time)
Set the time of the event (UTC).
UA_LocalizedText wrapper class.
UA_QualifiedName wrapper class.
UA_Variant wrapper class.
bool operator!=(const Client &lhs, const Client &rhs) noexcept
bool operator==(const Client &lhs, const Client &rhs) noexcept