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

Method init

tests/transport/simple/SimpleDataWriter.cpp:36–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34
35
36void
37SimpleDataWriter::init(const OpenDDS::DCPS::AssociationData& subscription)
38{
39 DBG_ENTRY("SimpleDataWriter","init");
40
41 // Add the association between the local sub_id and the remote pub_id
42 // to the transport via the TransportInterface.
43 bool result = this->associate(subscription, true /* active */);
44
45 if (!result) {
46 ACE_ERROR((LM_ERROR,
47 "(%P|%t) SimpleDataWriter::init() Failed to associate.\n"));
48 throw TestException();
49 }
50}
51
52namespace
53{

Callers

nothing calls this directly

Calls 2

TestExceptionClass · 0.70
associateMethod · 0.45

Tested by

no test coverage detected