| 34 | |
| 35 | |
| 36 | void |
| 37 | SimpleDataWriter::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 | |
| 52 | namespace |
| 53 | { |
nothing calls this directly
no test coverage detected