OPAL
Version 3.10.4
|
#include <handlers.h>
Public Member Functions | |
SIPRegisterHandler (SIPEndPoint &ep, const SIPRegister::Params ¶ms) | |
virtual SIPTransaction * | CreateTransaction (OpalTransport &) |
virtual void | OnReceivedOK (SIPTransaction &transaction, SIP_PDU &response) |
virtual void | OnFailed (SIP_PDU::StatusCodes r) |
void | UpdateParameters (const SIPRegister::Params ¶ms) |
const SIPRegister::Params & | GetParams () const |
const SIPURLList & | GetContacts () const |
const SIPURLList & | GetServiceRoute () const |
![]() | |
~SIPHandler () | |
virtual Comparison | Compare (const PObject &other) const |
virtual bool | ShutDown () |
void | SetState (SIPHandler::State s) |
SIPHandler::State | GetState () |
virtual OpalTransport * | GetTransport () |
virtual SIPAuthentication * | GetAuthentication () |
virtual const SIPURL & | GetAddressOfRecord () |
virtual PBoolean | OnReceivedNOTIFY (SIP_PDU &response) |
virtual void | SetExpire (int e) |
virtual int | GetExpire () |
virtual const PString & | GetCallID () const |
virtual void | SetBody (const PString &) |
virtual bool | IsDuplicateCSeq (unsigned) |
SIP_PDU::Methods | GetMethod () const |
virtual SIPSubscribe::EventPackage | GetEventPackage () const |
virtual void | OnReceivedResponse (SIPTransaction &transaction, SIP_PDU &response) |
virtual void | OnReceivedIntervalTooBrief (SIPTransaction &transaction, SIP_PDU &response) |
virtual void | OnReceivedTemporarilyUnavailable (SIPTransaction &transaction, SIP_PDU &response) |
virtual void | OnReceivedAuthenticationRequired (SIPTransaction &transaction, SIP_PDU &response) |
virtual void | OnTransactionFailed (SIPTransaction &transaction) |
virtual void | OnFailed (const SIP_PDU &response) |
bool | ActivateState (SIPHandler::State state) |
virtual bool | SendNotify (const PObject *) |
SIPEndPoint & | GetEndPoint () const |
const OpalProductInfo & | GetProductInfo () const |
const PString & | GetUsername () const |
const PString & | GetPassword () const |
const PString & | GetRealm () const |
const SIPURL & | GetRemoteAddress () const |
const SIPURL & | GetProxy () const |
Protected Member Functions | |
virtual PBoolean | SendRequest (SIPHandler::State state) |
void | SendStatus (SIP_PDU::StatusCodes code, State state) |
![]() | |
SIPHandler (SIP_PDU::Methods method, SIPEndPoint &ep, const SIPParameters ¶ms) | |
void | RetryLater (unsigned after) |
PDECLARE_NOTIFIER (PTimer, SIPHandler, OnExpireTimeout) | |
virtual bool | WriteSIPHandler (OpalTransport &transport, bool forked) |
Protected Attributes | |
SIPRegister::Params | m_parameters |
unsigned | m_sequenceNumber |
SIPURLList | m_contactAddresses |
SIPURLList | m_serviceRoute |
OpalTransportAddress | m_externalAddress |
![]() | |
SIPEndPoint & | endpoint |
SIPAuthentication * | authentication |
PString | m_username |
PString | m_password |
PString | m_realm |
PSafeList< SIPTransaction > | m_transactions |
OpalTransport * | m_transport |
SIP_PDU::Methods | m_method |
SIPURL | m_addressOfRecord |
SIPURL | m_remoteAddress |
PString | m_callID |
unsigned | m_lastCseq |
int | m_currentExpireTime |
int | m_originalExpireTime |
int | m_offlineExpireTime |
State | m_state |
queue< State > | m_stateQueue |
bool | m_receivedResponse |
PTimer | m_expireTimer |
SIPURL | m_proxy |
OpalProductInfo | m_productInfo |
std::pair< IndexMap::iterator, bool > | m_byCallID |
std::pair< IndexMap::iterator, bool > | m_byAorAndPackage |
std::pair< IndexMap::iterator, bool > | m_byAuthIdAndRealm |
std::pair< IndexMap::iterator, bool > | m_byAorUserAndRealm |
Additional Inherited Members | |
![]() | |
enum | State { Subscribed, Subscribing, Unavailable, Refreshing, Restoring, Unsubscribing, Unsubscribed, NumStates } |
![]() | |
SIPMIMEInfo | m_mime |
![]() | |
typedef std::map< PString, PSafePtr< SIPHandler > > | IndexMap |
![]() | |
static PBoolean | WriteSIPHandler (OpalTransport &transport, void *info) |
SIPRegisterHandler::SIPRegisterHandler | ( | SIPEndPoint & | ep, |
const SIPRegister::Params & | params | ||
) |
|
virtual |
Implements SIPHandler.
|
inline |
References m_contactAddresses.
|
inline |
References m_parameters.
|
inline |
References m_serviceRoute.
|
virtual |
Reimplemented from SIPHandler.
|
virtual |
Reimplemented from SIPHandler.
|
protectedvirtual |
Reimplemented from SIPHandler.
|
protected |
void SIPRegisterHandler::UpdateParameters | ( | const SIPRegister::Params & | params | ) |
|
protected |
Referenced by GetContacts().
|
protected |
|
protected |
Referenced by GetParams().
|
protected |
|
protected |
Referenced by GetServiceRoute().