Yate
SIPParty Class Referenceabstract
Inheritance diagram for SIPParty:
RefObject GenObject

Public Member Functions

 SIPParty (Mutex *mutex=0)
 
 SIPParty (bool reliable, Mutex *mutex=0)
 
virtual bool transmit (SIPEvent *event)=0
 
virtual const char * getProtoName () const =0
 
virtual bool setParty (const URI &uri)=0
 
virtual void * getTransport ()=0
 
void setAddr (const String &addr, int port, bool local)
 
void getAddr (String &addr, int &port, bool local)
 
void appendAddr (String &buf, bool local, bool unsafe=true)
 
Mutexmutex ()
 
const StringgetLocalAddr () const
 
const StringgetPartyAddr () const
 
int getLocalPort () const
 
int getPartyPort () const
 
bool isReliable () const
 
- Public Member Functions inherited from RefObject
 RefObject ()
 
virtual ~RefObject ()
 
virtual void * getObject (const String &name) const
 
virtual bool alive () const
 
bool ref ()
 
bool deref ()
 
int refcount () const
 
virtual void destruct ()
 
- Public Member Functions inherited from GenObject
 GenObject ()
 
virtual ~GenObject ()
 
virtual const StringtoString () const
 
virtual const StringtraceId () const
 
NamedCountergetObjCounter () const
 
NamedCountersetObjCounter (NamedCounter *counter)
 

Protected Attributes

Mutexm_mutex
 
bool m_reliable
 
String m_local
 
String m_party
 
int m_localPort
 
int m_partyPort
 

Additional Inherited Members

- Static Public Member Functions inherited from RefObject
static bool alive (const RefObject *obj)
 
static bool efficientIncDec ()
 
- Static Public Member Functions inherited from GenObject
static void * getObject (const String &name, const GenObject *obj)
 
static bool getObjCounting ()
 
static void setObjCounting (bool enable)
 
static NamedCountergetObjCounter (const String &name, bool create=true)
 
static ObjListgetObjCounters ()
 
- Protected Member Functions inherited from RefObject
virtual void zeroRefs ()
 
bool resurrect ()
 
virtual void destroyed ()
 

Member Function Documentation

◆ transmit()

virtual bool transmit ( SIPEvent * event)
pure virtual

Transmit an event

Parameters
eventEvend to send
Returns
False on fatal failure (subsequent send would fail again)

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