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

Definition at line 30 of file SIPExSIPServerEstablishingState.h.
Public Member Functions |
|
| virtual IMPORT_C | ~CSIPExSIPServerEstablishingState () |
| void | LinkStates (CSIPExSIPStateBase &aEstablishedState, CSIPExSIPStateBase &aTerminatedState) |
| void | AckReceivedL (CSIPExSIPEngine &aEngine, CSIPServerTransaction &aTransaction) |
| void | ByeReceivedL (CSIPExSIPEngine &aEngine, CSIPServerTransaction &aTransaction) |
| void | CancelReceivedL (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 | ResponseReceivedL (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 CSIPExSIPServerEstablishingState * | NewL () |
Private Member Functions |
|
| CSIPExSIPServerEstablishingState () | |
Private Attributes |
|
| CSIPExSIPStateBase * | iEstablishedState |
| CSIPExSIPStateBase * | iTerminatedState |
|
|
Destructor Definition at line 39 of file SIPExSIPServerEstablishingState.cpp.
|
|
|
C++ default constructor. Definition at line 30 of file SIPExSIPServerEstablishingState.cpp. Referenced by NewL().
|
|
|
Two-phased constructor. Definition at line 48 of file SIPExSIPServerEstablishingState.cpp. References CSIPExSIPServerEstablishingState(). Referenced by CSIPExSIPEngine::ConstructL(). 00049 { 00050 CSIPExSIPServerEstablishingState* self = 00051 new (ELeave) CSIPExSIPServerEstablishingState(); 00052 return self; 00053 }
|
|
||||||||||||
|
Links the states
Definition at line 60 of file SIPExSIPServerEstablishingState.cpp. References iEstablishedState, and iTerminatedState. Referenced by CSIPExSIPEngine::ConstructL(). 00063 { 00064 iEstablishedState = &aEstablishedState; 00065 iTerminatedState = &aTerminatedState; 00066 }
|
|
||||||||||||
|
AckReceivedL ACK has been received.
Reimplemented from CSIPExSIPStateBase. Definition at line 106 of file SIPExSIPServerEstablishingState.cpp. References iEstablishedState, MSIPExSIPEngineObserver::InviteAcceptedByUs(), CSIPExSIPEngine::Observer(), and CSIPExSIPEngine::SetCurrentState(). 00109 { 00110 aEngine.Observer()->InviteAcceptedByUs(); 00111 aEngine.SetCurrentState( iEstablishedState ); 00112 }
|
|
||||||||||||
|
ByeReceivedL BYE has been received.
Reimplemented from CSIPExSIPStateBase. Definition at line 72 of file SIPExSIPServerEstablishingState.cpp. References iTerminatedState, CSIPExSIPEngine::Observer(), MSIPExSIPEngineObserver::SessionEnded(), and CSIPExSIPEngine::SetCurrentState(). 00075 { 00076 // Create and send response 00077 CSIPResponseElements* elem = 00078 CSIPResponseElements::NewLC( 00079 200, SIPStrings::StringF( SipStrConsts::EPhraseOk ) ); 00080 aTransaction.SendResponseL( elem ); 00081 CleanupStack::Pop( elem ); 00082 00083 // Inform observer 00084 aEngine.Observer()->SessionEnded(); 00085 00086 // Set state 00087 aEngine.SetCurrentState( iTerminatedState ); 00088 }
|
|
||||||||||||
|
CancelReceivedL CANCEL has been received.
Reimplemented from CSIPExSIPStateBase. Definition at line 94 of file SIPExSIPServerEstablishingState.cpp. References iTerminatedState, CSIPExSIPEngine::Observer(), MSIPExSIPEngineObserver::SessionEnded(), and CSIPExSIPEngine::SetCurrentState(). 00097 { 00098 aEngine.Observer()->SessionEnded(); 00099 aEngine.SetCurrentState( iTerminatedState ); 00100 }
|
|
||||||||||||
|
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().
|
|
||||||||||||
|
ResponseReceivedL A SIP response has been received from the network.
Reimplemented in CSIPExSIPClientEstablishingState, CSIPExSIPClientOfferingState, CSIPExSIPEstablishedState, and CSIPExSIPTerminatingState. Definition at line 98 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 |