|
Nokia N97 SDK Example Applications Guide |
#include <SIPExSIPTerminatingState.h>
Inheritance diagram for CSIPExSIPTerminatingState:

Definition at line 30 of file SIPExSIPTerminatingState.h.
Public Member Functions |
|
| virtual IMPORT_C | ~CSIPExSIPTerminatingState () |
| void | LinkStates (CSIPExSIPStateBase &aIdleState) |
| void | ResponseReceivedL (CSIPExSIPEngine &aEngine, CSIPClientTransaction &aTransaction) |
| virtual void | SendInviteL (CSIPExSIPEngine &aEngine, const TDesC8 &aSipUri) |
| virtual void | CancelInviteL (CSIPExSIPEngine &aEngine) |
| virtual void | AcceptInviteL (CSIPExSIPEngine &aEngine) |
| virtual void | DeclineInviteL (CSIPExSIPEngine &aEngine) |
| virtual void | EndSessionL (CSIPExSIPEngine &aEngine) |
| virtual void | AckReceivedL (CSIPExSIPEngine &aEngine, CSIPServerTransaction &aTransaction) |
| virtual void | ByeReceivedL (CSIPExSIPEngine &aEngine, CSIPServerTransaction &aTransaction) |
| virtual void | CancelReceivedL (CSIPExSIPEngine &aEngine, CSIPClientTransaction &aTransaction) |
| virtual void | InviteReceivedL (CSIPExSIPEngine &aEngine, CSIPServerTransaction *aTransaction) |
| virtual void | ErrorOccured (CSIPExSIPEngine &aEngine, TInt aError) |
Static Public Member Functions |
|
| static IMPORT_C CSIPExSIPTerminatingState * | NewL () |
Private Member Functions |
|
| CSIPExSIPTerminatingState () | |
Private Attributes |
|
| CSIPExSIPStateBase * | iIdleState |
|
|
Destructor Definition at line 36 of file SIPExSIPTerminatingState.cpp.
|
|
|
C++ default constructor. Definition at line 27 of file SIPExSIPTerminatingState.cpp. Referenced by NewL().
|
|
|
Two-phased constructor. Definition at line 45 of file SIPExSIPTerminatingState.cpp. References CSIPExSIPTerminatingState(). Referenced by CSIPExSIPEngine::ConstructL(). 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. Referenced by CSIPExSIPEngine::ConstructL(). 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 }
|
|
||||||||||||
|
SendInviteL Sends an INVITE to peer.
Reimplemented in CSIPExSIPIdleState. Definition at line 43 of file SIPExSIPStateBase.cpp. Referenced by CSIPExSIPEngine::SendInviteL().
|
|
|
CancelInviteL Cancel an INVITE sent previously.
Reimplemented in CSIPExSIPClientEstablishingState, and CSIPExSIPClientOfferingState. Definition at line 54 of file SIPExSIPStateBase.cpp. Referenced by CSIPExSIPEngine::CancelInviteL().
|
|
|
AcceptInviteL Send 200 (OK) as response to an INVITE received from peer.
Reimplemented in CSIPExSIPServerOfferingState. Definition at line 65 of file SIPExSIPStateBase.cpp. Referenced by CSIPExSIPEngine::AcceptInviteL().
|
|
|
DeclineInviteL Send 486 (Busy Here) as response to an INVITE received from peer.
Reimplemented in CSIPExSIPServerOfferingState. Definition at line 76 of file SIPExSIPStateBase.cpp. Referenced by CSIPExSIPEngine::DeclineInviteL().
|
|
|
EndSessionL Send BYE in an established session.
Reimplemented in CSIPExSIPEstablishedState. Definition at line 88 of file SIPExSIPStateBase.cpp. Referenced by CSIPExSIPEngine::EndSessionL().
|
|
||||||||||||
|
AckReceivedL ACK has been received.
Reimplemented in CSIPExSIPEstablishedState, and CSIPExSIPServerEstablishingState. Definition at line 110 of file SIPExSIPStateBase.cpp. Referenced by CSIPExSIPEngine::IncomingRequest().
|
|
||||||||||||
|
ByeReceivedL BYE has been received.
Reimplemented in CSIPExSIPEstablishedState, CSIPExSIPServerEstablishingState, and CSIPExSIPServerOfferingState. Definition at line 122 of file SIPExSIPStateBase.cpp. Referenced by CSIPExSIPEngine::IncomingRequest().
|
|
||||||||||||
|
CancelReceivedL CANCEL has been received.
Reimplemented in CSIPExSIPServerEstablishingState, and CSIPExSIPServerOfferingState. Definition at line 134 of file SIPExSIPStateBase.cpp.
|
|
||||||||||||
|
InviteReceivedL INVITE has been received.
Reimplemented in CSIPExSIPIdleState. Definition at line 146 of file SIPExSIPStateBase.cpp. Referenced by CSIPExSIPEngine::IncomingRequest().
|
|
||||||||||||
|
An asynchronous error has occured related to a periodical refresh that relates to a registration.
Definition at line 159 of file SIPExSIPStateBase.cpp.
|
|
© Nokia 2009 |