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

Method write

tests/transport/best_effort_reader/SocketWriter.cpp:61–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61bool SocketWriter::write(CORBA::ULong seqN, const TestMsg& msg) const
62{
63 const InfoTimestampSubmessage it = timeSubMsg();
64 DataSubmessage ds = dataSubMsg(seqN, msg);
65 ACE_Message_Block mb(msgSize(it, ds, msg));
66 if (serialize(mb, it, ds, msg)) {
67 return send(mb);
68 }
69 return false;
70}
71
72bool SocketWriter::write(CORBA::ULong seqN, const TestMsg& msg, const GUID_t& directedWrite) const
73{

Callers 1

runMethod · 0.45

Calls 3

serializeFunction · 0.50
sendFunction · 0.50
lengthMethod · 0.45

Tested by

no test coverage detected