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

Method init

dds/InfoRepo/InfoRepoMulticastResponder.cpp:47–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47int
48InfoRepoMulticastResponder::init(
49 CORBA::ORB_ptr orb,
50 u_short port,
51 const char *mcast_addr)
52{
53 if (this->initialized_) {
54 ACE_ERROR_RETURN((LM_ERROR, "InfoRepoMulticastResponder::init() already initialized\n"), -1);
55 }
56
57 if (this->mcast_addr_.set(port, mcast_addr) == -1)
58 ACE_ERROR_RETURN((LM_ERROR, "InfoRepoMulticastResponder::init() %p\n", ACE_TEXT("set")), -1);
59
60 return common_init(orb);
61}
62
63int
64InfoRepoMulticastResponder::init(

Callers

nothing calls this directly

Calls 4

string_allocFunction · 0.50
setMethod · 0.45
inoutMethod · 0.45
inMethod · 0.45

Tested by

no test coverage detected