3.4.3.3 Message: ChannelDataFrameSet

Topic Version1Published10/31/2016
For StandardETP v1.1

Sent from a producer to a consumer, this is the main data transfer message for logs, or any channel report that is tabular, with rows of aligned data on index values. The size of the channel array MUST match the size of every row in the data array. The data array MAY contain nulls, which use only 1 byte in the data row.

Message Type ID: 4

Correlation Id Usage: n/a

Multi-part: n/a

Sent by: producer

Attribute

Description

Data Type

Min

Max

channels

An array of channelIDs (integers) of the channels that are contained in each of the contained data rows.

long

1

n

data

Data for the channels specified in the channels element.

DataFrame

1

n

Avro Source

{

      "type": "record",

      "namespace": "Energistics.Protocol.ChannelDataFrame",

      "name": "ChannelDataFrameSet",

      "messageType": "4",

      "protocol": "2",

      "senderRole": "producer",

      "protocolRoles": "producer,consumer",

      "fields":

     [

         {

          "name": "channels",

          "type": { "type": "array", "items": "long" }

     },

         {

          "name": "data",

          "type": { "type": "array", "items": "Energistics.Datatypes.ChannelData.DataFrame" }

     }

     ]

}