|
S60 3rd Edition SDK for Symbian OS Example Applications Guide |
00001 /* 00002 * ============================================================================== 00003 * Name : SIPExSIPTerminatingState.h 00004 * Part of : SIPExSIPEngineSIPEngine 00005 * Interface : 00006 * Description : 00007 * Version : 00008 * 00009 * Copyright (c) 2004-2006 Nokia Corporation. 00010 * This material, including documentation and any related 00011 * computer programs, is protected by copyright controlled by 00012 * Nokia Corporation. 00013 * ============================================================================== 00014 */ 00015 00016 #ifndef _SIPEXSIPTERMINATINGSTATE_H_ 00017 #define _SIPEXSIPTERMINATINGSTATE_H_ 00018 00019 // INCLUDES 00020 #include "SIPExSIPStateBase.h" 00021 00022 // FORWARD DECLARATIONS 00023 class CSIPExSIPEngine; 00024 00025 // CLASS DECLARATION 00026 /** 00027 * Reacts to events that are possible in 00028 * "Established" state. 00029 */ 00030 class CSIPExSIPTerminatingState: public CSIPExSIPStateBase 00031 { 00032 public:// Constructors and destructor 00033 /** 00034 * Two-phased constructor. 00035 */ 00036 IMPORT_C static CSIPExSIPTerminatingState* NewL(); 00037 00038 /** 00039 * Destructor 00040 */ 00041 IMPORT_C virtual ~CSIPExSIPTerminatingState(); 00042 00043 public://new functions 00044 /** 00045 * Links the states 00046 * @param aTerminatedState SIP Session has been ended. 00047 */ 00048 void LinkStates( CSIPExSIPStateBase& aIdleState ); 00049 00050 public://functions from base class 00051 00052 /** 00053 * ResponseReceivedL 00054 * A SIP response has been received from the network. 00055 * @param aEngine Reference to Engine object. 00056 * @param aTransaction Contains response elements. 00057 */ 00058 void ResponseReceivedL( CSIPExSIPEngine& aEngine, 00059 CSIPClientTransaction& aTransaction ); 00060 00061 00062 00063 private: 00064 /** 00065 * C++ default constructor. 00066 */ 00067 CSIPExSIPTerminatingState(); 00068 00069 private://data members 00070 CSIPExSIPStateBase* iIdleState; 00071 }; 00072 00073 #endif // _SIPEXSIPTERMINATINGSTATE_H_ 00074
|
© Nokia 2006 |