SipFsm Class Reference

#include <sipfsm.h>

List of all members.


Detailed Description

Definition at line 614 of file sipfsm.h.


Public Member Functions

 SipFsm (QWidget *parent=0, const char *=0)
 ~SipFsm (void)
bool SocketOpenedOk ()
void NewCall (bool audioOnly, QString uri, QString DispName, QString videoMode, bool DisableNat)
void HangUp (void)
void Answer (bool audioOnly, QString videoMode, bool DisableNat)
void ModifyCall (QString audioCodec, QString videoCodec)
void StatusChanged (char *newStatus)
void DestroyFsm (SipFsmBase *Fsm)
void CheckRxEvent ()
SipCallMatchCall (int cr)
SipFsmBaseMatchCallId (SipCallId *CallId)
SipCallCreateCallFsm ()
SipSubscriberCreateSubscriberFsm ()
SipWatcherCreateWatcherFsm (QString Url)
SipIMCreateIMFsm (QString Url="", QString callIdStr="")
SipOptionsCreateOptionsFsm (QString Url="", QString callIdStr="")
void StopWatchers ()
void KickWatcher (SipUrl *Url)
void SendIM (QString destUrl, QString CallId, QString imMsg)
int numCalls ()
int getPrimaryCall ()
int getPrimaryCallState ()
QString OpenSocket (int Port)
void CloseSocket ()
void Transmit (QString Msg, QString destIP, int destPort)
bool Receive (SipMsg &sipMsg)
void SetNotification (QString type, QString url, QString param1, QString param2)
SipTimerTimer ()
void HandleTimerExpiries ()
SipRegistrargetRegistrar ()
bool isRegistered ()
QString registeredTo ()
QString registeredAs ()

Static Public Member Functions

static void Debug (SipDebugEvent::Type t, QString dbg)

Private Member Functions

int MsgToEvent (SipMsg *sipMsg)
QString DetermineNatAddress ()

Private Attributes

int localPort
QPtrList< SipFsmBaseFsmList
QSocketDevice * sipSocket
int callCount
int primaryCall
int lastStatus
SipTimertimerList
SipRegistrarsipRegistrar
SipRegistrationsipRegistration
QString PresenceStatus

Constructor & Destructor Documentation

SipFsm::SipFsm ( QWidget *  parent = 0,
const char *  name = 0 
)

Definition at line 567 of file sipfsm.cpp.

SipFsm::~SipFsm ( void   ) 

Definition at line 610 of file sipfsm.cpp.


Member Function Documentation

bool SipFsm::SocketOpenedOk (  )  [inline]

Definition at line 623 of file sipfsm.h.

Referenced by SipThread::SipThreadWorker().

void SipFsm::Debug ( SipDebugEvent::Type  t,
QString  dbg 
) [static]

void SipFsm::NewCall ( bool  audioOnly,
QString  uri,
QString  DispName,
QString  videoMode,
bool  DisableNat 
)

Definition at line 810 of file sipfsm.cpp.

Referenced by SipThread::CheckUIEvents().

void SipFsm::HangUp ( void   ) 

Definition at line 838 of file sipfsm.cpp.

Referenced by SipThread::CheckUIEvents().

void SipFsm::Answer ( bool  audioOnly,
QString  videoMode,
bool  DisableNat 
)

Definition at line 859 of file sipfsm.cpp.

Referenced by SipThread::CheckUIEvents(), and SipThread::SipThreadWorker().

void SipFsm::ModifyCall ( QString  audioCodec,
QString  videoCodec 
)

Definition at line 847 of file sipfsm.cpp.

Referenced by SipThread::CheckUIEvents().

void SipFsm::StatusChanged ( char *  newStatus  ) 

Definition at line 1148 of file sipfsm.cpp.

Referenced by SipThread::CheckUIEvents().

void SipFsm::DestroyFsm ( SipFsmBase Fsm  ) 

void SipFsm::CheckRxEvent (  ) 

Definition at line 920 of file sipfsm.cpp.

Referenced by SipThread::CheckNetworkEvents().

SipCall * SipFsm::MatchCall ( int  cr  ) 

SipFsmBase * SipFsm::MatchCallId ( SipCallId CallId  ) 

Definition at line 1020 of file sipfsm.cpp.

Referenced by CheckRxEvent(), and SendIM().

SipCall * SipFsm::CreateCallFsm (  ) 

Definition at line 1040 of file sipfsm.cpp.

Referenced by CheckRxEvent().

SipSubscriber * SipFsm::CreateSubscriberFsm (  ) 

Definition at line 1053 of file sipfsm.cpp.

Referenced by CheckRxEvent().

SipWatcher * SipFsm::CreateWatcherFsm ( QString  Url  ) 

Definition at line 1060 of file sipfsm.cpp.

Referenced by SipThread::CheckUIEvents().

SipIM * SipFsm::CreateIMFsm ( QString  Url = "",
QString  callIdStr = "" 
)

Definition at line 1067 of file sipfsm.cpp.

Referenced by CheckRxEvent(), and SendIM().

SipOptions * SipFsm::CreateOptionsFsm ( QString  Url = "",
QString  callIdStr = "" 
)

Definition at line 1074 of file sipfsm.cpp.

Referenced by CheckRxEvent().

void SipFsm::StopWatchers (  ) 

Definition at line 1081 of file sipfsm.cpp.

Referenced by SipThread::CheckUIEvents().

void SipFsm::KickWatcher ( SipUrl Url  ) 

Definition at line 1094 of file sipfsm.cpp.

Referenced by SipSubscriber::FSM().

void SipFsm::SendIM ( QString  destUrl,
QString  CallId,
QString  imMsg 
)

Definition at line 1109 of file sipfsm.cpp.

Referenced by SipThread::CheckUIEvents().

int SipFsm::numCalls (  ) 

Definition at line 1138 of file sipfsm.cpp.

Referenced by SipCall::FSM(), and NewCall().

int SipFsm::getPrimaryCall (  )  [inline]

Definition at line 643 of file sipfsm.h.

Referenced by SipThread::ChangePrimaryCallState().

int SipFsm::getPrimaryCallState (  ) 

QString SipFsm::OpenSocket ( int  Port  ) 

Definition at line 631 of file sipfsm.cpp.

Referenced by SipFsm().

void SipFsm::CloseSocket (  ) 

Definition at line 681 of file sipfsm.cpp.

Referenced by ~SipFsm().

void SipFsm::Transmit ( QString  Msg,
QString  destIP,
int  destPort 
)

bool SipFsm::Receive ( SipMsg sipMsg  ) 

Definition at line 793 of file sipfsm.cpp.

Referenced by CheckRxEvent().

void SipFsm::SetNotification ( QString  type,
QString  url,
QString  param1,
QString  param2 
)

Definition at line 955 of file sipfsm.cpp.

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

SipTimer* SipFsm::Timer (  )  [inline]

void SipFsm::HandleTimerExpiries (  ) 

Definition at line 875 of file sipfsm.cpp.

Referenced by SipThread::SipThreadWorker().

SipRegistrar* SipFsm::getRegistrar (  )  [inline]

Definition at line 652 of file sipfsm.h.

Referenced by SipCall::FSM().

bool SipFsm::isRegistered (  )  [inline]

Definition at line 653 of file sipfsm.h.

Referenced by SipThread::CheckRegistrationStatus().

QString SipFsm::registeredTo (  )  [inline]

Definition at line 654 of file sipfsm.h.

Referenced by SipThread::CheckRegistrationStatus().

QString SipFsm::registeredAs (  )  [inline]

Definition at line 655 of file sipfsm.h.

Referenced by SipThread::CheckRegistrationStatus().

int SipFsm::MsgToEvent ( SipMsg sipMsg  )  [private]

Definition at line 971 of file sipfsm.cpp.

Referenced by CheckRxEvent().

QString SipFsm::DetermineNatAddress (  )  [private]

Definition at line 692 of file sipfsm.cpp.

Referenced by SipFsm().


Member Data Documentation

int SipFsm::localPort [private]

QPtrList<SipFsmBase> SipFsm::FsmList [private]

QSocketDevice* SipFsm::sipSocket [private]

Definition at line 666 of file sipfsm.h.

Referenced by CheckRxEvent(), CloseSocket(), OpenSocket(), Receive(), SipFsm(), and Transmit().

int SipFsm::callCount [private]

Definition at line 667 of file sipfsm.h.

Referenced by CreateCallFsm(), NewCall(), and SipFsm().

int SipFsm::primaryCall [private]

int SipFsm::lastStatus [private]

Definition at line 669 of file sipfsm.h.

Definition at line 670 of file sipfsm.h.

Referenced by DestroyFsm(), HandleTimerExpiries(), SipFsm(), and ~SipFsm().

Definition at line 671 of file sipfsm.h.

Referenced by CheckRxEvent(), SipFsm(), and ~SipFsm().

QString SipFsm::PresenceStatus [private]

Definition at line 673 of file sipfsm.h.

Referenced by CreateSubscriberFsm(), SipFsm(), and StatusChanged().


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