9#ifndef UA_PUBSUB_NETWORKMESSAGE_H_
10#define UA_PUBSUB_NETWORKMESSAGE_H_
244 size_t currentOffset);
302#ifdef UA_ENABLE_PUBSUB_ENCRYPTION
306 UA_PubSubSecurityPolicy *policy,
void *policyContext,
314#ifdef UA_ENABLE_JSON_ENCODING
318 size_t namespaceSize,
UA_String *serverUris,
319 size_t serverUriSize,
UA_Boolean useReversible);
323 UA_String *namespaces,
size_t namespaceSize,
324 UA_String *serverUris,
size_t serverUriSize,
#define _UA_BEGIN_DECLS
#undef UA_DEBUG_DUMP_PKGS
UA_DataSetMessage_DeltaFrameField * deltaFrameFields
UA_DataValue * dataSetFields
UA_DataSetMessageHeader header
UA_DataSetMessage_DataDeltaFrameData deltaFrameData
UA_DataSetMessage_DataKeyFrameData keyFrameData
UA_DataSetMessage * dataSetMessages
UA_NetworkMessageOffset * offsets
UA_Boolean RTsubscriberEnabled
UA_NetworkMessageOffsetType contentType
UA_String publisherIdString
UA_NetworkMessageSecurityHeader securityHeader
UA_Variant * promotedFields
UA_Boolean messageIdEnabled
UA_UInt32 publisherIdUInt32
UA_Boolean payloadHeaderEnabled
UA_NetworkMessageType networkMessageType
UA_Boolean publisherIdEnabled
UA_UInt16 publisherIdUInt16
UA_Boolean promotedFieldsEnabled
UA_Boolean dataSetClassIdEnabled
UA_DataSetPayloadHeader dataSetPayloadHeader
UA_Boolean groupHeaderEnabled
UA_Boolean timestampEnabled
UA_Boolean picosecondsEnabled
UA_Boolean securityEnabled
UA_NetworkMessageGroupHeader groupHeader
UA_ByteString securityFooter
UA_DataSetPayload dataSetPayload
UA_UInt16 promotedFieldsSize
UA_PublisherIdDatatype publisherIdType
UA_UInt64 publisherIdUInt64
_UA_BEGIN_DECLS typedef bool UA_Boolean
This Source Code Form is subject to the terms of the Mozilla Public License, v.
UA_StatusCode UA_NetworkMessage_decodeBinary(const UA_ByteString *src, size_t *offset, UA_NetworkMessage *dst)
UA_StatusCode UA_NetworkMessage_updateBufferedNwMessage(UA_NetworkMessageOffsetBuffer *buffer, const UA_ByteString *src, size_t *bufferPosition)
void UA_NetworkMessage_clear(UA_NetworkMessage *p)
UA_StatusCode UA_NetworkMessage_updateBufferedMessage(UA_NetworkMessageOffsetBuffer *buffer)
UA_StatusCode UA_DataSetMessage_encodeBinary(const UA_DataSetMessage *src, UA_Byte **bufPos, const UA_Byte *bufEnd)
size_t UA_DataSetMessageHeader_calcSizeBinary(const UA_DataSetMessageHeader *p)
UA_StatusCode UA_NetworkMessage_decodeFooters(const UA_ByteString *src, size_t *offset, UA_NetworkMessage *dst)
UA_StatusCode UA_NetworkMessage_encodeHeaders(const UA_NetworkMessage *src, UA_Byte **bufPos, const UA_Byte *bufEnd)
UA_StatusCode UA_DataSetMessageHeader_encodeBinary(const UA_DataSetMessageHeader *src, UA_Byte **bufPos, const UA_Byte *bufEnd)
UA_FieldEncoding
FieldEncoding Enum
@ UA_FIELDENCODING_RAWDATA
@ UA_FIELDENCODING_UNKNOWN
@ UA_FIELDENCODING_DATAVALUE
@ UA_FIELDENCODING_VARIANT
UA_StatusCode UA_NetworkMessage_encodeBinary(const UA_NetworkMessage *src, UA_Byte **bufPos, const UA_Byte *bufEnd, UA_Byte **dataToEncryptStart)
If dataToEncryptStart not-NULL, then it will be set to the start-position of the payload in the buffe...
void UA_NetworkMessageOffsetBuffer_clear(UA_NetworkMessageOffsetBuffer *ob)
size_t UA_NetworkMessage_calcSizeBinary(UA_NetworkMessage *p, UA_NetworkMessageOffsetBuffer *offsetBuffer)
void UA_DataSetMessage_clear(const UA_DataSetMessage *p)
UA_StatusCode UA_NetworkMessage_decodeHeaders(const UA_ByteString *src, size_t *offset, UA_NetworkMessage *dst)
UA_StatusCode UA_NetworkMessage_encodePayload(const UA_NetworkMessage *src, UA_Byte **bufPos, const UA_Byte *bufEnd)
@ UA_PUBLISHERDATATYPE_BYTE
@ UA_PUBLISHERDATATYPE_STRING
@ UA_PUBLISHERDATATYPE_UINT64
@ UA_PUBLISHERDATATYPE_UINT32
@ UA_PUBLISHERDATATYPE_UINT16
UA_NetworkMessageOffsetType
Network Message Offsets
@ UA_PUBSUB_OFFSETTYPE_TIMESTAMP_NOW
@ UA_PUBSUB_OFFSETTYPE_NETWORKMESSAGE_SEQUENCENUMBER
@ UA_PUBSUB_OFFSETTYPE_PAYLOAD_DATAVALUE
@ UA_PUBSUB_OFFSETTYPE_DATASETWRITERID
@ UA_PUBSUB_OFFSETTYPE_NETWORKMESSAGE_FIELDENCDODING
@ UA_PUBSUB_OFFSETTYPE_TIMESTAMP
@ UA_PUBSUB_OFFSETTYPE_PAYLOAD_RAW
@ UA_PUBSUB_OFFSETTYPE_PAYLOAD_VARIANT
@ UA_PUBSUB_OFFSETTYPE_DATASETMESSAGE_SEQUENCENUMBER
@ UA_PUBSUB_OFFSETTYPE_PUBLISHERID
@ UA_PUBSUB_OFFSETTYPE_WRITERGROUPID
@ UA_PUBSUB_OFFSETTYPE_TIMESTAMP_PICOSECONDS
size_t UA_DataSetMessage_calcSizeBinary(UA_DataSetMessage *p, UA_NetworkMessageOffsetBuffer *offsetBuffer, size_t currentOffset)
@ UA_NETWORKMESSAGE_DISCOVERY_RESPONSE
@ UA_NETWORKMESSAGE_DATASET
@ UA_NETWORKMESSAGE_DISCOVERY_REQUEST
UA_StatusCode UA_DataSetMessageHeader_decodeBinary(const UA_ByteString *src, size_t *offset, UA_DataSetMessageHeader *dst)
UA_StatusCode UA_NetworkMessage_decodePayload(const UA_ByteString *src, size_t *offset, UA_NetworkMessage *dst)
UA_DataSetMessageType
DataSetMessage Type.
@ UA_DATASETMESSAGE_KEEPALIVE
@ UA_DATASETMESSAGE_DATAKEYFRAME
@ UA_DATASETMESSAGE_DATADELTAFRAME
@ UA_DATASETMESSAGE_EVENT
UA_StatusCode UA_NetworkMessageHeader_decodeBinary(const UA_ByteString *src, size_t *offset, UA_NetworkMessage *dst)
UA_StatusCode UA_NetworkMessage_encodeFooters(const UA_NetworkMessage *src, UA_Byte **bufPos, const UA_Byte *bufEnd)
UA_StatusCode UA_DataSetMessage_decodeBinary(const UA_ByteString *src, size_t *offset, UA_DataSetMessage *dst, UA_UInt16 dsmSize)