#include <handlers.h>
Inheritance diagram for SIPSubscribeHandler:
Public Member Functions | |
SIPSubscribeHandler (SIPEndPoint &ep, const SIPSubscribe::Params ¶ms) | |
~SIPSubscribeHandler () | |
virtual SIPTransaction * | CreateTransaction (OpalTransport &) |
virtual void | OnReceivedOK (SIPTransaction &transaction, SIP_PDU &response) |
virtual PBoolean | OnReceivedNOTIFY (SIP_PDU &response) |
virtual void | OnFailed (const SIP_PDU &response) |
virtual SIPEventPackage | GetEventPackage () const |
void | UpdateParameters (const SIPSubscribe::Params ¶ms) |
virtual bool | IsDuplicateCSeq (unsigned sequenceNumber) |
const SIPSubscribe::Params & | GetParams () const |
Protected Member Functions | |
virtual PBoolean | SendRequest (SIPHandler::State state) |
virtual bool | WriteSIPHandler (OpalTransport &transport, bool forked) |
void | SendStatus (SIP_PDU::StatusCodes code, State state) |
bool | DispatchNOTIFY (SIP_PDU &request, SIP_PDU &response) |
Protected Attributes | |
SIPSubscribe::Params | m_parameters |
SIPDialogContext | m_dialog |
bool | m_unconfirmed |
SIPEventPackageHandler * | m_packageHandler |
SIPSubscribeHandler::SIPSubscribeHandler | ( | SIPEndPoint & | ep, | |
const SIPSubscribe::Params & | params | |||
) |
SIPSubscribeHandler::~SIPSubscribeHandler | ( | ) |
virtual SIPTransaction* SIPSubscribeHandler::CreateTransaction | ( | OpalTransport & | ) | [virtual] |
Implements SIPHandler.
virtual SIPEventPackage SIPSubscribeHandler::GetEventPackage | ( | ) | const [inline, virtual] |
Reimplemented from SIPHandler.
const SIPSubscribe::Params& SIPSubscribeHandler::GetParams | ( | ) | const [inline] |
virtual bool SIPSubscribeHandler::IsDuplicateCSeq | ( | unsigned | sequenceNumber | ) | [inline, virtual] |
Reimplemented from SIPHandler.
virtual void SIPSubscribeHandler::OnFailed | ( | const SIP_PDU & | response | ) | [virtual] |
Reimplemented from SIPHandler.
virtual PBoolean SIPSubscribeHandler::OnReceivedNOTIFY | ( | SIP_PDU & | response | ) | [virtual] |
Reimplemented from SIPHandler.
virtual void SIPSubscribeHandler::OnReceivedOK | ( | SIPTransaction & | transaction, | |
SIP_PDU & | response | |||
) | [virtual] |
Reimplemented from SIPHandler.
virtual PBoolean SIPSubscribeHandler::SendRequest | ( | SIPHandler::State | state | ) | [protected, virtual] |
Reimplemented from SIPHandler.
void SIPSubscribeHandler::SendStatus | ( | SIP_PDU::StatusCodes | code, | |
State | state | |||
) | [protected] |
void SIPSubscribeHandler::UpdateParameters | ( | const SIPSubscribe::Params & | params | ) |
virtual bool SIPSubscribeHandler::WriteSIPHandler | ( | OpalTransport & | transport, | |
bool | forked | |||
) | [protected, virtual] |
Reimplemented from SIPHandler.
SIPDialogContext SIPSubscribeHandler::m_dialog [protected] |
bool SIPSubscribeHandler::m_unconfirmed [protected] |