⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sipexsipidlestate.h

📁 基于SYMBIAN手机操作系统
💻 H
字号:
/*
* ==============================================================================
*  Name        : SIPExSIPIdleState.h
*
* ==============================================================================
*/

#ifndef _SIPEXSIPIDLESTATE_H_
#define _SIPEXSIPIDLESTATE_H_


//  INCLUDES
#include "SIPExSIPStateBase.h"

// FORWARD DECLARATIONS
class CSIPExSIPEngine;


// CLASS DECLARATION
/**
* Reacts to events that are possible in 
* "Idle" state.
*/
class CSIPExSIPIdleState: public CSIPExSIPStateBase
	{
	public:// Constructors and destructor
        /**
        * Two-phased constructor.
        */
		IMPORT_C static CSIPExSIPIdleState* NewL();

		/**
		* Destructor
		*/
		IMPORT_C virtual ~CSIPExSIPIdleState();

	public://new functions
		/**
		* Links the states
		* @param aClientEstablishingState Invitation with media parameters is sent to peer.
		* @param aServerOfferingState Invitation with media parameters is received from peer.
		*/
		void LinkStates(
			CSIPExSIPStateBase& aClientEstablishingState,
			CSIPExSIPStateBase& aServerOfferingState );

	public://functions from base class
	
		/**
		* SendInviteL
		* Sends an INVITE to peer.
		* @param aEngine Reference to SIP Engine.
		* @param aSipUri uri of recipient.
		*/
		void SendInviteL( CSIPExSIPEngine& aEngine,
						  const TDesC8& aSipUri );
			
		/**
		* InviteReceivedL
		* INVITE has been received.
		* @param aEngine Reference to SIP Engine.
		* @param aTransaction Contains response elements.
		* The ownership is transferred.
		*/
		void InviteReceivedL(
			CSIPExSIPEngine& aEngine,
			CSIPServerTransaction* aTransaction );

	private:
	    /**
		* C++ default constructor.
		*/
		CSIPExSIPIdleState();

	private:	//data members
		CSIPExSIPStateBase* iClientEstablishingState;
		CSIPExSIPStateBase* iServerOfferingState;
	};

#endif // _SIPEXSIPINITSTATE_H_

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -