2.2.3.22 CPMSendNotifyOut
The CPMSendNotifyOut message SHOULD notify the client of a change to the results of a query.
This message is sent only when a change occurs and a CPMGetNotify message has been received. The format of the CPMSendNotifyOut message that follows the header is shown in the following diagram.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
_watchNotify |
_watchNotify (4 bytes): A 32-bit unsigned integer representing the change to the query. It MUST be one of the following values.
-
Value
Meaning
DBWATCHNOTIFY_ROWSCHANGED
0x00000001
The number of rows in the query rowset has changed.
DBWATCHNOTIFY_QUERYDONE
0x00000002
The query has completed.
DBWATCHNOTIFY_QUERYREEXECUTED
0x00000003
The query has been executed again.