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

#include <RegSyncClient.hxx>

Inheritance diagram for repro::RegSyncClient:
[legend]

Public Member Functions

 RegSyncClient (resip::InMemorySyncRegDb *regDb, resip::Data address, unsigned short port, resip::InMemorySyncPubDb *pubDb=0)
 
virtual void thread ()
 
virtual void shutdown ()
 
- 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 13 of file RegSyncClient.hxx.

Constructor & Destructor Documentation

◆ RegSyncClient()

RegSyncClient::RegSyncClient ( resip::InMemorySyncRegDb *  regDb,
resip::Data  address,
unsigned short  port,
resip::InMemorySyncPubDb *  pubDb = 0 
)

Definition at line 24 of file RegSyncClient.cxx.

Member Function Documentation

◆ shutdown()

void RegSyncClient::shutdown ( )
virtual

Reimplemented from resip::ThreadIf.

Definition at line 48 of file RegSyncClient.cxx.

◆ thread()

void RegSyncClient::thread ( )
virtual

Implements resip::ThreadIf.

Definition at line 63 of file RegSyncClient.cxx.


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