00001
00002
00003
00004
00005
00006
00007
00008 #ifndef RTPS_MESSAGETYPES_H
00009 #define RTPS_MESSAGETYPES_H
00010
00011 #include "RtpsCoreC.h"
00012
00013 namespace OpenDDS {
00014 namespace RTPS {
00015
00016
00017 const ACE_CDR::UShort DATA_OCTETS_TO_IQOS = 16;
00018 const ACE_CDR::UShort DATA_FRAG_OCTETS_TO_IQOS = 28;
00019
00020 const ACE_CDR::UShort RTPSHDR_SZ = 20,
00021 SMHDR_SZ = 4,
00022 HEARTBEAT_SZ = 28,
00023 INFO_DST_SZ = 12,
00024 INFO_TS_SZ = 8;
00025
00026 const OctetArray4
00027 PARTICIPANT_MESSAGE_DATA_KIND_UNKNOWN =
00028 { 0x00, 0x00, 0x00, 0x00 },
00029 PARTICIPANT_MESSAGE_DATA_KIND_AUTOMATIC_LIVELINESS_UPDATE =
00030 { 0x00, 0x00, 0x00, 0x01 },
00031 PARTICIPANT_MESSAGE_DATA_KIND_MANUAL_LIVELINESS_UPDATE =
00032 { 0x00, 0x00, 0x00, 0x02 };
00033
00034 }
00035 }
00036
00037 #endif