datacommsserver/esockserver/inc/SS_PMAN.INL
changeset 0 dfb7c4ff071f
equal deleted inserted replaced
-1:000000000000 0:dfb7c4ff071f
       
     1 // Copyright (c) 1997-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
       
    18  @internalComponent 
       
    19 */
       
    20 
       
    21 inline void CProtocolRef::LoadAndBindL()
       
    22 	{LoadL(EFalse);}
       
    23 
       
    24 inline CProtocolBase* CProtocolRef::Protocol()
       
    25 	{ return iProtocol;}
       
    26 
       
    27 inline void CProtocolRef::ProtocolClosed()
       
    28 	{
       
    29 	iProtocol=NULL;
       
    30 	iFlags=0;
       
    31 	iFamily->Close();
       
    32 	}
       
    33 
       
    34 inline void CProtocolRef::Close()
       
    35 	{
       
    36 	if (iProtocol)
       
    37 		iProtocol->Close();
       
    38 	}
       
    39 
       
    40 inline TPtrC CProtocolRef::Tag()
       
    41 	{ return iTag->Des();}
       
    42 
       
    43 inline TServerProtocolDesc& CProtocolRef::Info()
       
    44 	{ return iInfo; }
       
    45 	
       
    46 inline void CProtocolFamilyRef::Close()
       
    47 	{
       
    48 	if (iProtocolFamily)
       
    49 		iProtocolFamily->Close();
       
    50 	}
       
    51 
       
    52 inline void CProtocolFamilyRef::FamilyClosed()
       
    53 	{
       
    54 	iProtocolFamily=NULL;
       
    55 	iFlags=0;
       
    56 	}
       
    57 
       
    58 inline CProtocolFamilyBase* CProtocolRef::Family()
       
    59 	{ return &(iFamily->ProtocolFamilyL()); }