OPAL Version 3.10.2
SIPNotifyHandler Class Reference

#include <handlers.h>

Inheritance diagram for SIPNotifyHandler:
SIPHandler

Public Types

enum  Reasons {
  Deactivated, Probation, Rejected, Timeout,
  GiveUp, NoResource
}

Public Member Functions

 SIPNotifyHandler (SIPEndPoint &ep, const PString &targetAddress, const SIPEventPackage &eventPackage, const SIPDialogContext &dialog)
 ~SIPNotifyHandler ()
virtual SIPTransactionCreateTransaction (OpalTransport &)
virtual SIPEventPackage GetEventPackage () const
virtual void SetBody (const PString &body)
virtual bool IsDuplicateCSeq (unsigned sequenceNumber)
virtual bool SendNotify (const PObject *body)

Protected Member Functions

virtual PBoolean SendRequest (SIPHandler::State state)
virtual bool WriteSIPHandler (OpalTransport &transport, bool forked)

Protected Attributes

SIPEventPackage m_eventPackage
SIPDialogContext m_dialog
Reasons m_reason
SIPEventPackageHandlerm_packageHandler
PString m_body

Member Enumeration Documentation

Enumerator:
Deactivated 
Probation 
Rejected 
Timeout 
GiveUp 
NoResource 

Constructor & Destructor Documentation

SIPNotifyHandler::SIPNotifyHandler ( SIPEndPoint ep,
const PString &  targetAddress,
const SIPEventPackage eventPackage,
const SIPDialogContext dialog 
)
SIPNotifyHandler::~SIPNotifyHandler ( )

Member Function Documentation

virtual SIPTransaction* SIPNotifyHandler::CreateTransaction ( OpalTransport ) [virtual]

Implements SIPHandler.

virtual SIPEventPackage SIPNotifyHandler::GetEventPackage ( ) const [inline, virtual]

Reimplemented from SIPHandler.

References m_eventPackage.

virtual bool SIPNotifyHandler::IsDuplicateCSeq ( unsigned  sequenceNumber) [inline, virtual]

Reimplemented from SIPHandler.

References SIPDialogContext::IsDuplicateCSeq(), and m_dialog.

virtual bool SIPNotifyHandler::SendNotify ( const PObject *  body) [virtual]

Reimplemented from SIPHandler.

virtual PBoolean SIPNotifyHandler::SendRequest ( SIPHandler::State  state) [protected, virtual]

Reimplemented from SIPHandler.

virtual void SIPNotifyHandler::SetBody ( const PString &  body) [inline, virtual]

Reimplemented from SIPHandler.

References m_body.

virtual bool SIPNotifyHandler::WriteSIPHandler ( OpalTransport transport,
bool  forked 
) [protected, virtual]

Reimplemented from SIPHandler.


Field Documentation

PString SIPNotifyHandler::m_body [protected]

Referenced by SetBody().


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