diff -r 000000000000 -r 307788aac0a8 realtimenetprots/rtp/cfrtp/inc/rtpscprstates.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/realtimenetprots/rtp/cfrtp/inc/rtpscprstates.h Tue Feb 02 01:03:15 2010 +0200 @@ -0,0 +1,80 @@ +// Copyright (c) 2008-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: +// RTPSCPR States +// +// + +/** + @file + @internalComponent +*/ + +#ifndef SYMBIAN_RTPSCPRSTATES_H +#define SYMBIAN_RTPSCPRSTATES_H + +#include +#include +#include +#include +#include "rtpscpr.h" + + +//-========================================================= +// +// States +// +//-========================================================= +namespace RtpSCprStates +{ +enum { + KRtp = 1, + KNoRtp + }; + +typedef MeshMachine::TNodeContext TContext; + + +DECLARE_SMELEMENT_HEADER( TNoTagOrErrorTag, MeshMachine::TStateFork, NetStateMachine::MStateFork, TContext ) + virtual TInt TransitionTag(); +DECLARE_SMELEMENT_FOOTER( TNoTagOrErrorTag ) + +DECLARE_SMELEMENT_HEADER( TSendCommsBinderToCntrlProv, MeshMachine::TStateTransition, NetStateMachine::MStateTransition, TContext ) + virtual void DoL(); +DECLARE_SMELEMENT_FOOTER( TSendCommsBinderToCntrlProv ) + +DECLARE_SMELEMENT_HEADER( TCreateDataClient, MeshMachine::TStateTransition, NetStateMachine::MStateTransition, TContext ) + virtual void DoL(); + virtual void InitLocalParameterBundleL(CSubConRTPGenericParamSet* aReqGenericParams); +DECLARE_SMELEMENT_FOOTER( TCreateDataClient ) + +DECLARE_SMELEMENT_HEADER( TRequestCommsBinder, MeshMachine::TStateTransition, NetStateMachine::MStateTransition, TContext ) + virtual void DoL(); +DECLARE_SMELEMENT_FOOTER( TRequestCommsBinder ) + +DECLARE_SMELEMENT_HEADER( TAwaitingReadyForBind, MeshMachine::TState, NetStateMachine::MState, TContext ) + virtual TBool Accept(); +DECLARE_SMELEMENT_FOOTER( TAwaitingReadyForBind ) + +DECLARE_SMELEMENT_HEADER( TAwaitingBinderRequest, MeshMachine::TState, NetStateMachine::MState, TContext ) + virtual TBool Accept(); +DECLARE_SMELEMENT_FOOTER( TAwaitingBinderRequest ) + +DECLARE_SMELEMENT_HEADER( TSetPostedToFlow, MeshMachine::TStateTransition, NetStateMachine::MStateTransition, TContext ) + virtual void DoL(); +DECLARE_SMELEMENT_FOOTER( TSetPostedToFlow ) + +typedef MeshMachine::TRetryTransition TRequestCommsBinderRetry; +} + +#endif // SYMBIAN_RTPSCPRSTATES_H