The Publish-Subscribe Application Packet
Pub-sub packet sent by Publish and Subscribe Ethernet Applications. Contains the FID of the message, in order to be forwarded to the correct subscribers, the type of the packet (e.g. ), the length of the scope (according the the 8 byte PURSUIT_ID_LEN) and finally the whole Information Item ID (IIID). This IIID includes the scope and the ID of the Information Item sent, according to the C++ class, InformationItem. If the size of the PSEtherApp message is greater than ~1400, it will consist of several Ethernet frames. The last field of the message is optional and can be used for detection of palse positives. It is suggested that it is controlled by a global variable.
See also: PEtherApp, SEtherApp
Author:: Nikolaos Vastardis
Name | Type | Description |
---|---|---|
FID | string | |
path | string[] | |
type | uint8_t | |
scopeLen | uint8_t | |
IIID | InformationItem |
// // <b> The Publish-Subscribe Application Packet </b> // // Pub-sub packet sent by Publish and Subscribe Ethernet Applications. Contains // the FID of the message, in order to be forwarded to the correct subscribers, // the type of the packet (e.g. ), the length of the scope (according the the 8 // byte PURSUIT_ID_LEN) and finally the whole Information Item ID (IIID). This // IIID includes the scope and the ID of the Information Item sent, according // to the C++ class, InformationItem. If the size of the PSEtherApp message is // greater than ~1400, it will consist of several Ethernet frames. The last field // of the message is optional and can be used for detection of palse positives. // It is suggested that it is controlled by a global variable. // // @see PEtherApp, SEtherApp // // @author: Nikolaos Vastardis // packet PSEtherAppMsg { uint8_t type; string FID; uint8_t scopeLen; InformationItem IIID; string path[]; }