epoc32/include/comms-infras/ss_roles.inl
branchSymbian2
changeset 2 2fe1408b6811
equal deleted inserted replaced
1:666f914201fb 2:2fe1408b6811
       
     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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 inline CPitBoss& CPlayer::PitBoss() const
       
    17 	{
       
    18 	return WorkerThread().PitBoss();
       
    19 	}
       
    20 
       
    21 inline TWorkerId CPlayer::WorkerId() const
       
    22 	{
       
    23 	return WorkerThread().WorkerId();
       
    24 	}
       
    25 
       
    26 inline const RMessage2& CPlayer::Message() const
       
    27 	{
       
    28 	return *iCurrentMessage;
       
    29 	}
       
    30 
       
    31 inline CSockSession* CPlayer::CurrentSession() const
       
    32 	{
       
    33 	return iSession;
       
    34 	}
       
    35 
       
    36 inline CPlayer::TSubSessionContainer& CPlayer::SubSessions()
       
    37 	{
       
    38 	return iSubSessions;
       
    39 	}
       
    40 
       
    41 inline TSockManData* CPlayer::SockManGlobals() const
       
    42 	{
       
    43 	return WorkerThread().SockManGlobals();
       
    44 	}