datacommsserver/esockserver/inc/ss_threadtransport.inl
changeset 0 dfb7c4ff071f
equal deleted inserted replaced
-1:000000000000 0:dfb7c4ff071f
       
     1 // Copyright (c) 2004-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 // @file
       
    15 // @internalTechnology
       
    16 // 
       
    17 //
       
    18 
       
    19 inline TRequestWrapper::operator TRequestStatus*()
       
    20 	{
       
    21 	return iStatus;
       
    22 	}
       
    23 inline void TRequestWrapper::SetPeerThread(const RThread& aPeerThread)
       
    24 	{
       
    25 	iPeerThread = &aPeerThread;
       
    26 	}
       
    27 
       
    28 inline const RThread& TRequestWrapper::PeerThread () const
       
    29 	{
       
    30 	return *iPeerThread;
       
    31 	}
       
    32 
       
    33 inline TTransportUserStorage::TTransportUserStorage()
       
    34 : iStorage(NULL)
       
    35 	{
       
    36 	}
       
    37 inline TAny* TTransportUserStorage::Ptr() const
       
    38 	{
       
    39 	return iStorage;
       
    40 	}
       
    41 inline TAny*& TTransportUserStorage::RefPtr()
       
    42 	{
       
    43 	return iStorage;
       
    44 	}
       
    45 
       
    46 inline TTransportUser::TTransportUser()
       
    47 : iUser(NULL),
       
    48   iUserStorage(NULL)
       
    49 	{
       
    50 	}
       
    51 
       
    52 inline TTransportReceiverFactoryArgs::TTransportReceiverFactoryArgs(TTransportUserStorage* aStorage, CommsFW::TWorkerId aWorkerId)
       
    53 :	iStorage(aStorage),
       
    54 	iWorkerId(aWorkerId)
       
    55 	{
       
    56 	}
       
    57