15 const char MULTICAST_NAME[] =
"multicast";
25 const char*
name() {
return MULTICAST_NAME; }
29 return make_rch<MulticastInst>(
name);
36 static bool initialized(
false);
38 if (initialized)
return 0;
46 registry->
get_config(TransportRegistry::DEFAULT_CONFIG_NAME);
49 registry->
create_inst(TransportRegistry::DEFAULT_INST_PREFIX
50 + std::string(
"0410_MCAST_UNRELIABLE"),
55 ACE_TEXT(
" failed to obtain MulticastInst.\n")), -1);
57 mi->reliable_ =
false;
61 registry->
create_inst(TransportRegistry::DEFAULT_INST_PREFIX
62 + std::string(
"0420_MCAST_RELIABLE"), MULTICAST_NAME);
#define TheTransportRegistry
ACE_FACTORY_DEFINE(OpenDDS_InfoRepoDiscovery, IRDiscoveryLoader)
& ACE_SVC_NAME(TAO_AV_TCP_Factory)
ACE_STATIC_SVC_DEFINE(ACE_Logging_Strategy, ACE_TEXT("Logging_Strategy"), ACE_Service_Type::SERVICE_OBJECT, &ACE_SVC_NAME(ACE_Logging_Strategy), ACE_Service_Type::DELETE_THIS|ACE_Service_Type::DELETE_OBJ, 0) extern "C" int _get_dll_unload_policy()
TransportInst_rch new_inst(const std::string &name)
TransportConfig_rch get_config(const OPENDDS_STRING &name) const
TransportInst_rch create_inst(const OPENDDS_STRING &name, const OPENDDS_STRING &transport_type)
Base class for concrete transports to provide new objects.
void sorted_insert(const TransportInst_rch &inst)
#define OPENDDS_END_VERSIONED_NAMESPACE_DECL
#define ACE_ERROR_RETURN(X, Y)
The Internal API and Implementation of OpenDDS.
bool register_type(const TransportType_rch &type)