|
OPAL
Version 3.10.10
|
#include <handlers.h>
Public Types | |
| enum | State { Subscribed, Subscribing, Unavailable, Refreshing, Restoring, Unsubscribing, Unsubscribed, NumStates } |
Public Member Functions | |
| ~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) |
| virtual SIPTransaction * | CreateTransaction (OpalTransport &t)=0 |
| 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 | OnReceivedOK (SIPTransaction &transaction, SIP_PDU &response) |
| virtual void | OnTransactionFailed (SIPTransaction &transaction) |
| virtual void | OnFailed (const SIP_PDU &response) |
| virtual void | OnFailed (SIP_PDU::StatusCodes) |
| 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 |
Data Fields | |
| SIPMIMEInfo | m_mime |
Protected Types | |
| typedef std::map< PString, PSafePtr< SIPHandler > > | IndexMap |
Protected Member Functions | |
| SIPHandler (SIP_PDU::Methods method, SIPEndPoint &ep, const SIPParameters ¶ms) | |
| virtual PBoolean | SendRequest (SIPHandler::State state) |
| void | RetryLater (unsigned after) |
| PDECLARE_NOTIFIER (PTimer, SIPHandler, OnExpireTimeout) | |
| virtual bool | WriteSIPHandler (OpalTransport &transport, bool forked) |
Static Protected Member Functions | |
| static PBoolean | WriteSIPHandler (OpalTransport &transport, void *info) |
Protected Attributes | |
| SIPEndPoint & | endpoint |
| SIPAuthentication * | m_authentication |
| unsigned | m_authenticateErrors |
| 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 |
Friends | |
| class | SIPHandlersList |
|
protected |
| enum SIPHandler::State |
|
protected |
| SIPHandler::~SIPHandler | ( | ) |
| bool SIPHandler::ActivateState | ( | SIPHandler::State | state | ) |
|
virtual |
|
pure virtual |
Implemented in SIPPingHandler, SIPOptionsHandler, SIPMessageHandler, SIPPublishHandler, SIPNotifyHandler, SIPSubscribeHandler, and SIPRegisterHandler.
|
inlinevirtual |
References m_addressOfRecord.
|
inlinevirtual |
References m_authentication.
|
inlinevirtual |
References m_callID.
|
inline |
References endpoint.
|
inlinevirtual |
Reimplemented in SIPPublishHandler, SIPNotifyHandler, and SIPSubscribeHandler.
|
inlinevirtual |
References m_currentExpireTime.
|
inline |
References m_method.
|
inline |
References m_password.
|
inline |
References m_productInfo.
|
inline |
References m_realm.
|
inline |
References m_remoteAddress.
|
inline |
References m_state.
|
virtual |
|
inline |
References m_username.
|
inlinevirtual |
Reimplemented in SIPNotifyHandler, and SIPSubscribeHandler.
|
virtual |
Reimplemented in SIPOptionsHandler, and SIPSubscribeHandler.
|
virtual |
Reimplemented in SIPOptionsHandler, SIPMessageHandler, and SIPRegisterHandler.
|
virtual |
|
virtual |
|
virtual |
Reimplemented in SIPSubscribeHandler.
|
virtual |
Reimplemented in SIPOptionsHandler, SIPMessageHandler, SIPPublishHandler, SIPSubscribeHandler, and SIPRegisterHandler.
|
virtual |
|
virtual |
|
virtual |
|
protected |
|
protected |
|
inlinevirtual |
Reimplemented in SIPNotifyHandler.
|
protectedvirtual |
Reimplemented in SIPNotifyHandler, SIPSubscribeHandler, and SIPRegisterHandler.
|
inlinevirtual |
Reimplemented in SIPPublishHandler, and SIPNotifyHandler.
|
virtual |
| void SIPHandler::SetState | ( | SIPHandler::State | s | ) |
|
virtual |
|
staticprotected |
|
protectedvirtual |
Reimplemented in SIPNotifyHandler, and SIPSubscribeHandler.
|
friend |
|
protected |
Referenced by GetEndPoint().
|
protected |
Referenced by GetAddressOfRecord().
|
protected |
|
protected |
Referenced by GetAuthentication().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Referenced by GetCallID().
|
protected |
Referenced by GetExpire().
|
protected |
|
protected |
|
protected |
Referenced by GetMethod().
| SIPMIMEInfo SIPHandler::m_mime |
|
protected |
|
protected |
|
protected |
Referenced by GetPassword().
|
protected |
Referenced by GetProductInfo().
|
protected |
Referenced by GetProxy().
|
protected |
Referenced by GetRealm().
|
protected |
|
protected |
Referenced by GetRemoteAddress().
|
protected |
Referenced by GetState().
|
protected |
|
protected |
|
protected |
|
protected |
Referenced by GetUsername().