Queue events
Each queued event is notified at most once.After notification, the event needs to be requeued if the client is still interested.
If a queued event was not notified, but the client is no longer interested, it can be cancelled.
Notification of the queued events happens on the aux connection.See [wireprotocol-events-notification] for further details.
Client
Must be sent on the main (database) connection.
Int32—p_operation-
Operation code (
op_que_events—48) Int32—p_event_database-
Unused, always use
0 Buffer—p_event_items-
Event parameter buffer
Byte-
Version (
EPB_version1—1)The following fields are dependent on the version tag.
Byte-
Length of event name
Byte[]-
Event name
Int32(little-endian)-
Current known event count (
0when first queueing, for requeueing use the count of the previous notification)
Int32—p_event_ast-
Unused, always set
0 Int32—p_event_arg-
Unused, always set
0 Int32—p_event_rid-
Local event id — generated by the client