OpenDaVINCI  4.15.3
odcore::wrapper::POSIX::POSIXUDPSender Class Reference

#include <POSIXUDPSender.h>

Inheritance diagram for odcore::wrapper::POSIX::POSIXUDPSender:
Inheritance graph

Public Member Functions

virtual ~POSIXUDPSender ()
 
virtual void send (const string &data) const
 
virtual uint16_t getPort () const
 

Friends

class UDPFactoryWorker< NetworkLibraryPosix >
 

Detailed Description

This class implements a UDP sender for sending data using POSIX.

UDPSender

Constructor & Destructor Documentation

odcore::wrapper::POSIX::POSIXUDPSender::~POSIXUDPSender ( )
virtual

Member Function Documentation

uint16_t odcore::wrapper::POSIX::POSIXUDPSender::getPort ( ) const
virtual

This method returns the port in use when sending UDP packets.

Returns
Port when sending UDP packets.

Implements odcore::io::udp::UDPSender.

void odcore::wrapper::POSIX::POSIXUDPSender::send ( const string &  data) const
virtual

This method sends data using UDP.

Parameters
dataData to be sent.

Implements odcore::io::udp::UDPSender.

Friends And Related Function Documentation

friend class UDPFactoryWorker< NetworkLibraryPosix >
friend