|
1 // Copyright (c) 2010 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 // Tier Manager Mesh States |
|
15 // (management plane) |
|
16 // |
|
17 // |
|
18 // |
|
19 // This is a 3-plane comms layer implementation example, which has been customised to be a test layer which gobbles and releases ESOCK MBUFs. |
|
20 // The MBuf gobbling functionality can be disabled by undefining the macro SYMBIAN_COMMSFW_MBUF_GOBBLER which is specified in mbufgobblerproviders.mmp. |
|
21 // When SYMBIAN_COMMSFW_MBUF_GOBBLER is undefined, the source code specified by mbufgobblerproviders.mmp becomes a pass through layer i.e. it passes the data |
|
22 // through to the layer above or below without altering it. This makes it useful as a starting point for implementing your own layers / providers; |
|
23 // useful documentation on how to customise your own passthrough layer can be found in ..\docs\MbufGobblerLayer.doc |
|
24 // |
|
25 |
|
26 /** |
|
27 @file |
|
28 @internalComponent |
|
29 */ |
|
30 |
|
31 #include "mbufgobblertiermanagerstates.h" |
|
32 #include "mbufgobblerlog.h" |
|
33 |
|
34 CMbufGobblerTierManagerMeshStates::CMbufGobblerTierManagerMeshStates() |
|
35 { |
|
36 // No implementation required |
|
37 } |
|
38 |
|
39 CMbufGobblerTierManagerMeshStates::~CMbufGobblerTierManagerMeshStates() |
|
40 { |
|
41 } |
|
42 |
|
43 CMbufGobblerTierManagerMeshStates* CMbufGobblerTierManagerMeshStates::NewLC() |
|
44 { |
|
45 CMbufGobblerTierManagerMeshStates* self = |
|
46 new (ELeave) CMbufGobblerTierManagerMeshStates(); |
|
47 CleanupStack::PushL(self); |
|
48 self->ConstructL(); |
|
49 return self; |
|
50 } |
|
51 |
|
52 CMbufGobblerTierManagerMeshStates* CMbufGobblerTierManagerMeshStates::NewL() |
|
53 { |
|
54 CMbufGobblerTierManagerMeshStates* self = |
|
55 CMbufGobblerTierManagerMeshStates::NewLC(); |
|
56 CleanupStack::Pop(); // self; |
|
57 return self; |
|
58 } |
|
59 |
|
60 void CMbufGobblerTierManagerMeshStates::ConstructL() |
|
61 { |
|
62 |
|
63 } |