datacommsserver/esockserver/ssock/ss_mmnode.cpp
changeset 0 dfb7c4ff071f
child 23 cbb19216b74d
equal deleted inserted replaced
-1:000000000000 0:dfb7c4ff071f
       
     1 // Copyright (c) 2005-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 //
       
    15 
       
    16 /**
       
    17  @file SS_MMNODE.CPP
       
    18 */
       
    19 
       
    20 #include <comms-infras/ss_log.h>
       
    21 #include <comms-infras/ss_mmnode.h>
       
    22 
       
    23 using namespace NetStateMachine;
       
    24 using namespace Messages;
       
    25 using namespace MeshMachine;
       
    26 using namespace ESock;
       
    27 
       
    28 
       
    29 EXPORT_C void ACFMMNodeBase::HandlePassThroughMessage(TNodeContextBase& aContext)
       
    30     {
       
    31 	MeshMachine::AMMNodeBase::HandlePassThroughMessage(aContext);
       
    32     }
       
    33 EXPORT_C NetInterfaces::TInterfaceControl* ACFMMNodeBase::FetchNodeInterfaceControlL(TInt aInterfaceId)
       
    34     {
       
    35     LOG(ESockLog::Printf(KESockMeshMachine, _L8("ACFMMNodeBase::FetchNodeInterfaceControlL: aInterfaceId = %d"), aInterfaceId));
       
    36     FetchInterfaceL(aInterfaceId); //To verify we are the right control
       
    37     return this;
       
    38     }
       
    39 
       
    40 EXPORT_C NetInterfaces::TInterfaceControl* ACFMMNodeIdBase::FetchNodeInterfaceControlL(TInt aInterfaceId)
       
    41     {
       
    42     LOG(ESockLog::Printf(KESockMeshMachine, _L8("ACFMMNodeIdBase::FetchNodeInterfaceControlL: aInterfaceId = %d"), aInterfaceId));
       
    43     FetchInterfaceL(aInterfaceId); //To verify we are the right control
       
    44     return this;
       
    45     }
       
    46 
       
    47