reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
reTurn::UdpEchoServer Class Reference

#include <UdpEchoServer.hxx>

Inheritance diagram for reTurn::UdpEchoServer:
[legend]

Public Member Functions

 UdpEchoServer (const Data &localAddress, unsigned int port)
 
virtual ~UdpEchoServer ()
 
unsigned int getPort ()
 
void thread () override
 
void shutdown () override
 
- Public Member Functions inherited from resip::ThreadIf
 ThreadIf ()
 
virtual ~ThreadIf ()
 
virtual void run ()
 
void join ()
 
void detach ()
 
virtual bool waitForShutdown (int ms) const
 
bool isShutdown () const
 

Additional Inherited Members

- Public Types inherited from resip::ThreadIf
typedef std::thread::id Id
 
typedef pthread_key_t TlsKey
 
typedef void TlsDestructor(void *)
 
- Static Public Member Functions inherited from resip::ThreadIf
static Id selfId ()
 
static int tlsKeyCreate (TlsKey &key, TlsDestructor *destructor)
 This function follows pthread_key_create() signature.
 
static int tlsKeyDelete (TlsKey key)
 This function follows pthread_key_delete() signature.
 
static int tlsSetValue (TlsKey key, const void *val)
 This function follows pthread_setspecific() signature.
 
static void * tlsGetValue (TlsKey key)
 This function follows pthread_getspecific() signature.
 
- Protected Attributes inherited from resip::ThreadIf
std::shared_ptr< std::thread > mThreadObj
 
Id mId
 
bool mShutdown
 
Mutex mShutdownMutex
 
Condition mShutdownCondition
 

Detailed Description

Definition at line 19 of file UdpEchoServer.hxx.

Constructor & Destructor Documentation

◆ UdpEchoServer()

UdpEchoServer::UdpEchoServer ( const Data &  localAddress,
unsigned int  port 
)

Definition at line 28 of file UdpEchoServer.cxx.

◆ ~UdpEchoServer()

virtual reTurn::UdpEchoServer::~UdpEchoServer ( )
inlinevirtual

Definition at line 23 of file UdpEchoServer.hxx.

Member Function Documentation

◆ getPort()

unsigned int reTurn::UdpEchoServer::getPort ( )
inline

Definition at line 25 of file UdpEchoServer.hxx.

◆ shutdown()

void UdpEchoServer::shutdown ( )
overridevirtual

Reimplemented from resip::ThreadIf.

Definition at line 59 of file UdpEchoServer.cxx.

◆ thread()

void UdpEchoServer::thread ( )
overridevirtual

Implements resip::ThreadIf.

Definition at line 52 of file UdpEchoServer.cxx.


The documentation for this class was generated from the following files: