|
1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // UPnPControlDeftScprActivities.h |
|
15 // @file |
|
16 // @internalComponent |
|
17 // |
|
18 // |
|
19 |
|
20 #ifndef __UPNPCONTROLDEFAULTSCPRACTIVITIES_H |
|
21 #define __UPNPCONTROLDEFAULTSCPRACTIVITIES_H |
|
22 |
|
23 #include "upnpctrldeftscpr.h" |
|
24 #include <comms-infras/corescprstates.h> |
|
25 #include <comms-infras/corescpractivities.h> |
|
26 |
|
27 |
|
28 using namespace ESock; |
|
29 |
|
30 |
|
31 namespace UPnPControlDefaultSCprActivities |
|
32 { |
|
33 DECLARE_ACTIVITY_MAP(activityMap) |
|
34 } |
|
35 |
|
36 namespace UPnPDefaultSCprLeaveActivity |
|
37 { |
|
38 typedef MeshMachine::TNodeContext<CUPnPControlDefaultSubConnectionProvider, CoreStates::TContext> TContext; |
|
39 |
|
40 DECLARE_SMELEMENT_HEADER ( TNoTagOrDataClientIdle, MeshMachine::TStateFork<TContext>, NetStateMachine::MStateFork, TContext ) |
|
41 virtual TInt TransitionTag ( ); |
|
42 DECLARE_SMELEMENT_FOOTER ( TNoTagOrDataClientIdle ) |
|
43 |
|
44 DECLARE_AGGREGATED_TRANSITION2 ( |
|
45 TProcessClientLeave, |
|
46 MeshMachine::TRemoveClient, |
|
47 CoreNetStates::TSendLeaveCompleteIfRequest |
|
48 ) |
|
49 |
|
50 } |
|
51 |
|
52 |
|
53 #endif // UPNPCONTROLDEFAULTSCPRACTIVITIES_H |