|
S60 3rd Edition SDK for Symbian OS Example Applications Guide |
#include <SIPExSIPTerminatingState.h>
Inheritance diagram for CSIPExSIPTerminatingState:

Public Member Functions | |
| virtual IMPORT_C | ~CSIPExSIPTerminatingState () |
| void | LinkStates (CSIPExSIPStateBase &aIdleState) |
| void | ResponseReceivedL (CSIPExSIPEngine &aEngine, CSIPClientTransaction &aTransaction) |
Static Public Member Functions | |
| static IMPORT_C CSIPExSIPTerminatingState * | NewL () |
Private Member Functions | |
| CSIPExSIPTerminatingState () | |
Private Attributes | |
| CSIPExSIPStateBase * | iIdleState |
Definition at line 30 of file SIPExSIPTerminatingState.h.
|
|
Destructor Definition at line 36 of file SIPExSIPTerminatingState.cpp.
|
|
|
C++ default constructor. Definition at line 27 of file SIPExSIPTerminatingState.cpp.
|
|
|
Two-phased constructor. Definition at line 45 of file SIPExSIPTerminatingState.cpp. References CSIPExSIPTerminatingState(). 00046 { 00047 CSIPExSIPTerminatingState* self = 00048 new (ELeave) CSIPExSIPTerminatingState(); 00049 return self; 00050 }
|
|
|
Links the states
Definition at line 57 of file SIPExSIPTerminatingState.cpp. References iIdleState. 00059 { 00060 iIdleState = &aIdleState; 00061 }
|
|
||||||||||||
|
ResponseReceivedL A SIP response has been received from the network.
Reimplemented from CSIPExSIPStateBase. Definition at line 68 of file SIPExSIPTerminatingState.cpp. References CSIPExSIPEngine::ClearClientTx(), iIdleState, CSIPExSIPEngine::Observer(), MSIPExSIPEngineObserver::SessionEnded(), and CSIPExSIPEngine::SetCurrentState(). 00071 { 00072 const CSIPResponseElements* respElem = aTransaction.ResponseElements(); 00073 00074 if ( respElem->StatusCode() == 200 ) 00075 { 00076 aEngine.Observer()->SessionEnded(); 00077 aEngine.ClearClientTx(); 00078 aEngine.SetCurrentState( iIdleState ); 00079 } 00080 else 00081 { 00082 // Hmmm... 00083 } 00084 }
|
|
© Nokia 2006 |