19 const char UDP_NAME[] =
"udp";
29 const char*
name() {
return UDP_NAME; }
33 return make_rch<UdpInst>(
name);
40 static bool initialized(
false);
42 if (initialized)
return 0;
50 registry->
create_inst(TransportRegistry::DEFAULT_INST_PREFIX +
51 std::string(
"0300_UDP"), UDP_NAME);
52 registry->
get_config(TransportRegistry::DEFAULT_CONFIG_NAME)
#define TheTransportRegistry
TransportInst_rch new_inst(const std::string &name)
& 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()
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
ACE_FACTORY_DEFINE(OpenDDS_Udp, UdpLoader)
The Internal API and Implementation of OpenDDS.
bool register_type(const TransportType_rch &type)