sipproviderplugins/sipprovider/sipstatemachine/inc/StateSessionInitiation.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 16 Apr 2010 15:18:54 +0300
changeset 15 8248b03a2669
parent 0 307788aac0a8
permissions -rw-r--r--
Revision: 201011 Kit: 201015

// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description:
// CStateSessionInitiation definition file
// 
//

/**
 @file
 @internalComponent
*/

#ifndef STATE_SESSION_INITIATION_H
#define STATE_SESSION_INITIATION_H

#include "SipStateMachine.h"

#ifdef __FLOG_ACTIVE
	// This will do the logging if logging is enabled
    #include <comms-infras/ss_log.h>
#endif

/**
This state is genrally follows the State Idle and Initaites a 
connection process between end points
*/
class CStateSessionInitiation : public CSipStateBase
	{
public:
	static CStateSessionInitiation * NewL(CSipStateMachine * aStateMachine);
	~CStateSessionInitiation();
	CSipStateBase * ProcessClientL(TRequestStatus & aStatus);
	CSipStateBase * ProcessServerL(TRequestStatus & aStatus);
	CSipStateBase * ProcessServerErrorL(TRequestStatus & aStatus);
private:
	// For Logging
	__FLOG_DECLARATION_MEMBER;
	CStateSessionInitiation(CSipStateMachine * aStateMachine);	
	};

#endif