MCPcopy Create free account
hub / github.com/OpenDDS/OpenDDS / header

Method header

tests/transport/best_effort_reader/SocketWriter.cpp:39–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37const double SocketWriter::NTP_FRACTIONAL = 4294.967296; // NTP fractional (2^-32) sec per microsec
38
39Header SocketWriter::header(GUID_t id)
40{
41 const GuidPrefix_t& px = id.guidPrefix;
42 Header hdr = {{'R', 'T', 'P', 'S'}, PROTOCOLVERSION, VENDORID_OPENDDS,
43 {px[0], px[1], px[2], px[3], px[4], px[5], px[6], px[7], px[8], px[9], px[10], px[11]}};
44 return hdr;
45}
46
47SocketWriter::SocketWriter(const GUID_t& id, const ACE_INET_Addr& destination)
48 : id_(id), hdr_(header(id))

Callers 6

parse_messageMethod · 0.80
ViewerMethod · 0.80
doSortMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected