SipFsmBase Class Reference

#include <sipfsm.h>

Inheritance diagram for SipFsmBase:

SipCall SipIM SipOptions SipRegistrar SipRegistration SipSubscriber SipWatcher

List of all members.


Detailed Description

Definition at line 378 of file sipfsm.h.


Public Member Functions

 SipFsmBase (SipFsm *p)
virtual ~SipFsmBase ()
virtual int FSM (int Event, SipMsg *sipMsg=0, void *Value=0)
virtual QString type ()
virtual SipUrlgetUrl ()
virtual int getCallRef ()
QString callId ()

Protected Member Functions

void BuildSendStatus (int Code, QString Method, int statusCseq, int Option=0, int statusExpires=-1, QString sdp="")
void ParseSipMsg (int Event, SipMsg *sipMsg)
bool Retransmit (bool force)
void DebugFsm (int event, int old_state, int new_state)
QString EventtoString (int Event)
QString StatetoString (int S)

Protected Attributes

QString retx
QString retxIp
int retxPort
int t1
bool sentAuthenticated
SipFsmparent
SipCallId CallId
QString viaIp
int viaPort
int rxedTimestamp
QString myTag
QString remoteTag
QString remoteEpid
QString rxedTo
QString rxedFrom
QString RecRoute
QString Via
SipUrlremoteUrl
SipUrltoUrl
SipUrlcontactUrl
SipUrlrecRouteUrl
SipUrlMyUrl
SipUrlMyContactUrl

Constructor & Destructor Documentation

SipFsmBase::SipFsmBase ( SipFsm p  ) 

Definition at line 1167 of file sipfsm.cpp.

SipFsmBase::~SipFsmBase (  )  [virtual]

Definition at line 1185 of file sipfsm.cpp.


Member Function Documentation

virtual int SipFsmBase::FSM ( int  Event,
SipMsg sipMsg = 0,
void *  Value = 0 
) [inline, virtual]

virtual QString SipFsmBase::type ( void   )  [inline, virtual]

virtual SipUrl* SipFsmBase::getUrl (  )  [inline, virtual]

Reimplemented in SipSubscriber, and SipWatcher.

Definition at line 385 of file sipfsm.h.

Referenced by SipFsm::KickWatcher().

virtual int SipFsmBase::getCallRef (  )  [inline, virtual]

Reimplemented in SipCall.

Definition at line 386 of file sipfsm.h.

Referenced by SipFsm::DestroyFsm(), and SipFsm::MatchCall().

QString SipFsmBase::callId (  )  [inline]

Definition at line 387 of file sipfsm.h.

Referenced by SipFsm::MatchCallId().

void SipFsmBase::BuildSendStatus ( int  Code,
QString  Method,
int  statusCseq,
int  Option = 0,
int  statusExpires = -1,
QString  sdp = "" 
) [protected]

void SipFsmBase::ParseSipMsg ( int  Event,
SipMsg sipMsg 
) [protected]

bool SipFsmBase::Retransmit ( bool  force  )  [protected]

Definition at line 1208 of file sipfsm.cpp.

Referenced by SipIM::FSM(), SipWatcher::FSM(), SipSubscriber::FSM(), and SipCall::FSM().

void SipFsmBase::DebugFsm ( int  event,
int  old_state,
int  new_state 
) [protected]

Definition at line 1308 of file sipfsm.cpp.

Referenced by SipIM::FSM(), SipWatcher::FSM(), SipSubscriber::FSM(), and SipCall::FSM().

QString SipFsmBase::EventtoString ( int  Event  )  [protected]

QString SipFsmBase::StatetoString ( int  S  )  [protected]

Definition at line 1359 of file sipfsm.cpp.

Referenced by DebugFsm(), SipIM::FSM(), SipWatcher::FSM(), SipSubscriber::FSM(), and SipCall::FSM().


Member Data Documentation

QString SipFsmBase::retx [protected]

QString SipFsmBase::retxIp [protected]

int SipFsmBase::retxPort [protected]

int SipFsmBase::t1 [protected]

SipFsm* SipFsmBase::parent [protected]

QString SipFsmBase::viaIp [protected]

Definition at line 405 of file sipfsm.h.

Referenced by BuildSendStatus(), and ParseSipMsg().

int SipFsmBase::viaPort [protected]

Definition at line 406 of file sipfsm.h.

Referenced by BuildSendStatus(), and ParseSipMsg().

int SipFsmBase::rxedTimestamp [protected]

Definition at line 407 of file sipfsm.h.

Referenced by BuildSendStatus(), ParseSipMsg(), and SipFsmBase().

QString SipFsmBase::myTag [protected]

QString SipFsmBase::remoteTag [protected]

QString SipFsmBase::remoteEpid [protected]

Definition at line 410 of file sipfsm.h.

Referenced by ParseSipMsg(), SipIM::SendMessage(), SipSubscriber::SendNotify(), and SipFsmBase().

QString SipFsmBase::rxedTo [protected]

Definition at line 411 of file sipfsm.h.

Referenced by SipCall::BuildSendBye(), BuildSendStatus(), ParseSipMsg(), and SipFsmBase().

QString SipFsmBase::rxedFrom [protected]

Definition at line 412 of file sipfsm.h.

Referenced by SipCall::BuildSendBye(), BuildSendStatus(), ParseSipMsg(), and SipFsmBase().

QString SipFsmBase::RecRoute [protected]

Definition at line 413 of file sipfsm.h.

Referenced by BuildSendStatus(), and ParseSipMsg().

QString SipFsmBase::Via [protected]

Definition at line 414 of file sipfsm.h.

Referenced by BuildSendStatus(), and ParseSipMsg().

SipUrl* SipFsmBase::toUrl [protected]

Definition at line 416 of file sipfsm.h.

Referenced by SipCall::ForwardMessage(), SipCall::FSM(), ParseSipMsg(), SipFsmBase(), and ~SipFsmBase().

SipUrl* SipFsmBase::MyUrl [protected]


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

Generated on Sat Dec 18 05:16:11 2010 for MythTV by  doxygen 1.5.5