sow: Content from Server
The sow
message returns a record from the SOW. For more information, see the State of the World (SOW) Topics and Querying the State of the World (SOW) chapters in the AMPS User Guide.
Header Fields
The following table contains the header fields returned in a sow
message:
Field | Description |
| Type of message. Always |
| The topic from which the records were produced. |
| An AMPS-created identifier for this message. |
| The number of records returned in a single |
| The time at which AMPS generated this message. |
| The |
| The length of the first SOW message in the data portion of this message. |
Data
The sow
message contains data. The data for the message consists of up to BatchSize
messages, formatted as expected by the protocol. Each message contains its own header, with the following fields:
Field | Description |
| An AMPS-created identifier for this message. |
| A user-provided string that will be passed, verbatim, to subscribers. If this header is not present on the SOW record, subscribers receive no value for the The contents of this header must consist of characters that are legal in Base64 encoding. |
| The length of the next SOW message in the data portion of this message. |
Last updated