#include <sipfsm.h>

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 SipUrl * | getUrl () |
| 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 |
| SipFsm * | parent |
| SipCallId | CallId |
| QString | viaIp |
| int | viaPort |
| int | rxedTimestamp |
| QString | myTag |
| QString | remoteTag |
| QString | remoteEpid |
| QString | rxedTo |
| QString | rxedFrom |
| QString | RecRoute |
| QString | Via |
| SipUrl * | remoteUrl |
| SipUrl * | toUrl |
| SipUrl * | contactUrl |
| SipUrl * | recRouteUrl |
| SipUrl * | MyUrl |
| SipUrl * | MyContactUrl |
| SipFsmBase::SipFsmBase | ( | SipFsm * | p | ) |
Definition at line 1167 of file sipfsm.cpp.
| SipFsmBase::~SipFsmBase | ( | ) | [virtual] |
Definition at line 1185 of file sipfsm.cpp.
| virtual int SipFsmBase::FSM | ( | int | Event, | |
| SipMsg * | sipMsg = 0, |
|||
| void * | Value = 0 | |||
| ) | [inline, virtual] |
Reimplemented in SipRegistration, SipCall, SipSubscriber, SipWatcher, SipIM, SipOptions, and SipRegistrar.
Definition at line 383 of file sipfsm.h.
Referenced by SipFsm::CheckRxEvent(), SipFsm::HandleTimerExpiries(), SipFsm::KickWatcher(), SipFsm::SendIM(), SipFsm::StatusChanged(), and SipFsm::StopWatchers().
| virtual QString SipFsmBase::type | ( | void | ) | [inline, virtual] |
Reimplemented in SipRegistration, SipCall, SipSubscriber, SipWatcher, SipIM, SipOptions, and SipRegistrar.
Definition at line 384 of file sipfsm.h.
Referenced by SipFsm::DestroyFsm(), SipFsm::KickWatcher(), SipFsm::MatchCall(), SipFsm::numCalls(), SipFsm::SendIM(), SipFsm::StatusChanged(), and SipFsm::StopWatchers().
| 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] |
| void SipFsmBase::BuildSendStatus | ( | int | Code, | |
| QString | Method, | |||
| int | statusCseq, | |||
| int | Option = 0, |
|||
| int | statusExpires = -1, |
|||
| QString | sdp = "" | |||
| ) | [protected] |
Definition at line 1263 of file sipfsm.cpp.
Referenced by SipOptions::FSM(), SipIM::FSM(), SipWatcher::FSM(), SipSubscriber::FSM(), and SipCall::FSM().
| void SipFsmBase::ParseSipMsg | ( | int | Event, | |
| SipMsg * | sipMsg | |||
| ) | [protected] |
Definition at line 1222 of file sipfsm.cpp.
Referenced by SipOptions::FSM(), SipIM::FSM(), SipWatcher::FSM(), SipSubscriber::FSM(), and SipCall::FSM().
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] |
Definition at line 1315 of file sipfsm.cpp.
Referenced by DebugFsm(), SipIM::FSM(), SipWatcher::FSM(), SipSubscriber::FSM(), SipRegistration::FSM(), and SipCall::FSM().
| 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().
QString SipFsmBase::retx [protected] |
Definition at line 397 of file sipfsm.h.
Referenced by SipCall::BuildSendAck(), SipCall::BuildSendBye(), SipCall::BuildSendCancel(), SipCall::BuildSendInvite(), SipCall::BuildSendReInvite(), BuildSendStatus(), Retransmit(), SipIM::SendMessage(), SipSubscriber::SendNotify(), and SipWatcher::SendSubscribe().
QString SipFsmBase::retxIp [protected] |
Definition at line 398 of file sipfsm.h.
Referenced by SipCall::BuildSendAck(), SipCall::BuildSendBye(), SipCall::BuildSendCancel(), SipCall::BuildSendInvite(), SipCall::BuildSendReInvite(), BuildSendStatus(), Retransmit(), SipIM::SendMessage(), SipSubscriber::SendNotify(), and SipWatcher::SendSubscribe().
int SipFsmBase::retxPort [protected] |
Definition at line 399 of file sipfsm.h.
Referenced by SipCall::BuildSendAck(), SipCall::BuildSendBye(), SipCall::BuildSendCancel(), SipCall::BuildSendInvite(), SipCall::BuildSendReInvite(), BuildSendStatus(), Retransmit(), SipIM::SendMessage(), SipSubscriber::SendNotify(), and SipWatcher::SendSubscribe().
int SipFsmBase::t1 [protected] |
Definition at line 400 of file sipfsm.h.
Referenced by SipCall::BuildSendBye(), SipCall::BuildSendCancel(), SipCall::BuildSendInvite(), SipCall::BuildSendReInvite(), BuildSendStatus(), SipIM::FSM(), SipWatcher::FSM(), SipSubscriber::FSM(), SipCall::FSM(), Retransmit(), SipIM::SendMessage(), SipSubscriber::SendNotify(), and SipWatcher::SendSubscribe().
bool SipFsmBase::sentAuthenticated [protected] |
Definition at line 401 of file sipfsm.h.
Referenced by SipCall::BuildSendBye(), SipCall::BuildSendCancel(), SipCall::BuildSendInvite(), SipCall::BuildSendReInvite(), SipIM::FSM(), SipWatcher::FSM(), SipSubscriber::FSM(), SipCall::FSM(), SipIM::SendMessage(), SipSubscriber::SendNotify(), SipRegistration::SendRegister(), SipWatcher::SendSubscribe(), and SipFsmBase().
SipFsm* SipFsmBase::parent [protected] |
Definition at line 402 of file sipfsm.h.
Referenced by SipRegistrar::add(), SipCall::BuildSendAck(), SipCall::BuildSendBye(), SipCall::BuildSendCancel(), SipCall::BuildSendInvite(), SipCall::BuildSendReInvite(), BuildSendStatus(), SipCall::ForwardMessage(), SipIM::FSM(), SipWatcher::FSM(), SipSubscriber::FSM(), SipRegistration::FSM(), SipCall::FSM(), SipRegistrar::remove(), Retransmit(), SipIM::SendMessage(), SipSubscriber::SendNotify(), SipRegistration::SendRegister(), SipRegistrar::SendResponse(), SipWatcher::SendSubscribe(), SipFsmBase(), SipRegistration::SipRegistration(), SipIM::~SipIM(), SipRegistrar::~SipRegistrar(), SipRegistration::~SipRegistration(), SipSubscriber::~SipSubscriber(), and SipWatcher::~SipWatcher().
SipCallId SipFsmBase::CallId [protected] |
Definition at line 404 of file sipfsm.h.
Referenced by SipCall::BuildSendAck(), SipCall::BuildSendBye(), SipCall::BuildSendCancel(), SipCall::BuildSendInvite(), SipCall::BuildSendReInvite(), BuildSendStatus(), SipIM::FSM(), ParseSipMsg(), SipIM::SendMessage(), SipSubscriber::SendNotify(), SipRegistration::SendRegister(), SipWatcher::SendSubscribe(), SipIM::SipIM(), SipOptions::SipOptions(), SipRegistration::SipRegistration(), and SipWatcher::SipWatcher().
QString SipFsmBase::viaIp [protected] |
int SipFsmBase::viaPort [protected] |
int SipFsmBase::rxedTimestamp [protected] |
Definition at line 407 of file sipfsm.h.
Referenced by BuildSendStatus(), ParseSipMsg(), and SipFsmBase().
QString SipFsmBase::myTag [protected] |
Definition at line 408 of file sipfsm.h.
Referenced by SipCall::BuildSendAck(), SipCall::BuildSendBye(), SipCall::BuildSendCancel(), SipCall::BuildSendInvite(), SipCall::BuildSendReInvite(), BuildSendStatus(), SipIM::SendMessage(), SipSubscriber::SendNotify(), SipRegistration::SendRegister(), SipRegistrar::SendResponse(), SipWatcher::SendSubscribe(), and SipFsmBase().
QString SipFsmBase::remoteTag [protected] |
Definition at line 409 of file sipfsm.h.
Referenced by SipCall::BuildSendAck(), SipCall::BuildSendBye(), SipCall::BuildSendCancel(), ParseSipMsg(), SipIM::SendMessage(), SipSubscriber::SendNotify(), and SipFsmBase().
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] |
QString SipFsmBase::Via [protected] |
SipUrl* SipFsmBase::remoteUrl [protected] |
Definition at line 415 of file sipfsm.h.
Referenced by SipCall::BuildSendAck(), SipCall::BuildSendBye(), SipCall::BuildSendCancel(), SipCall::BuildSendInvite(), SipCall::BuildSendReInvite(), BuildSendStatus(), SipIM::FSM(), SipCall::FSM(), ParseSipMsg(), SipFsmBase(), and ~SipFsmBase().
SipUrl* SipFsmBase::toUrl [protected] |
Definition at line 416 of file sipfsm.h.
Referenced by SipCall::ForwardMessage(), SipCall::FSM(), ParseSipMsg(), SipFsmBase(), and ~SipFsmBase().
SipUrl* SipFsmBase::contactUrl [protected] |
Definition at line 417 of file sipfsm.h.
Referenced by SipCall::BuildSendBye(), SipCall::BuildSendCancel(), ParseSipMsg(), SipSubscriber::SendNotify(), SipFsmBase(), and ~SipFsmBase().
SipUrl* SipFsmBase::recRouteUrl [protected] |
Definition at line 418 of file sipfsm.h.
Referenced by SipCall::BuildSendBye(), SipCall::BuildSendCancel(), ParseSipMsg(), SipIM::SendMessage(), SipSubscriber::SendNotify(), SipFsmBase(), and ~SipFsmBase().
SipUrl* SipFsmBase::MyUrl [protected] |
Definition at line 419 of file sipfsm.h.
Referenced by SipCall::BuildSendAck(), SipCall::BuildSendBye(), SipCall::BuildSendCancel(), SipCall::BuildSendInvite(), SipCall::BuildSendReInvite(), SipCall::FSM(), SipCall::initialise(), SipIM::SendMessage(), SipSubscriber::SendNotify(), SipRegistration::SendRegister(), SipWatcher::SendSubscribe(), SipFsmBase(), SipIM::SipIM(), SipOptions::SipOptions(), SipRegistration::SipRegistration(), SipSubscriber::SipSubscriber(), SipWatcher::SipWatcher(), ~SipFsmBase(), SipIM::~SipIM(), SipOptions::~SipOptions(), SipRegistration::~SipRegistration(), SipSubscriber::~SipSubscriber(), and SipWatcher::~SipWatcher().
SipUrl* SipFsmBase::MyContactUrl [protected] |
Definition at line 420 of file sipfsm.h.
Referenced by SipCall::BuildSendInvite(), SipCall::BuildSendReInvite(), BuildSendStatus(), SipCall::FSM(), SipCall::initialise(), SipIM::SendMessage(), SipSubscriber::SendNotify(), SipRegistration::SendRegister(), SipWatcher::SendSubscribe(), SipFsmBase(), SipIM::SipIM(), SipOptions::SipOptions(), SipRegistration::SipRegistration(), SipSubscriber::SipSubscriber(), SipWatcher::SipWatcher(), ~SipFsmBase(), SipIM::~SipIM(), SipOptions::~SipOptions(), SipRegistration::~SipRegistration(), SipSubscriber::~SipSubscriber(), and SipWatcher::~SipWatcher().
1.5.5