OpenDaVINCI  4.15.3
odcore::io::udp::UDPFactory Struct Reference

#include <UDPFactory.h>

Static Public Member Functions

static std::shared_ptr< UDPSendercreateUDPSender (const string &address, const uint32_t &port)
 
static std::shared_ptr
< UDPReceiver
createUDPReceiver (const string &address, const uint32_t &port)
 

Member Function Documentation

std::shared_ptr< UDPReceiver > odcore::io::udp::UDPFactory::createUDPReceiver ( const string &  address,
const uint32_t &  port 
)
static

This method creates a UDP receiver.

Parameters
addressAddress to bind on.
portPort.
Returns
A new UDPReceiver

References odcore::wrapper::UDPFactoryWorker< product >::createUDPReceiver().

Referenced by odcore::io::conference::UDPMultiCastContainerConference::UDPMultiCastContainerConference().

std::shared_ptr< UDPSender > odcore::io::udp::UDPFactory::createUDPSender ( const string &  address,
const uint32_t &  port 
)
static

This method creates a UDP sender.

Parameters
addressAddress.
portPort.
Returns
A new UDPSender

References odcore::wrapper::UDPFactoryWorker< product >::createUDPSender().

Referenced by odcore::io::conference::UDPMultiCastContainerConference::UDPMultiCastContainerConference().