SIPNotifyHandler Class Reference

#include <handlers.h>

Inheritance diagram for SIPNotifyHandler:

SIPHandler

Public Types

 Deactivated
 Probation
 Rejected
 Timeout
 GiveUp
 NoResource
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

enum SIPNotifyHandler::Reasons

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.

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

Reimplemented from SIPHandler.

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.

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

Reimplemented from SIPHandler.


Field Documentation

PString SIPNotifyHandler::m_body [protected]

SIPDialogContext SIPNotifyHandler::m_dialog [protected]

SIPEventPackage SIPNotifyHandler::m_eventPackage [protected]

SIPEventPackageHandler* SIPNotifyHandler::m_packageHandler [protected]

Reasons SIPNotifyHandler::m_reason [protected]


The documentation for this class was generated from the following file:
Generated on Sun Nov 21 20:20:54 2010 for OPAL by  doxygen 1.4.7