Den::CWorkerSession Class Reference
class Den::CWorkerSession : public CSession2
|
Public Member Functions
|
|
~CWorkerSession
()
|
void
|
CleanupDeadWorker
(
CommsFW::TWorkerId
)
|
void
|
CompleteDisconnect
()
|
IMPORT_C void
|
ConstructL
(
TProcessId
)
|
void
|
CountSubSessions
(
CWorkerSession
*,
CWorkerSubSession
*,
TInt
,
TAny
*)
|
CCommonDealer *
|
Dealer
()
|
void
|
Disconnect
()
|
IMPORT_C void
|
Disconnect
(const
RMessage2
&)
|
IMPORT_C void
|
DontCompleteCurrentRequest
()
|
IMPORT_C void
|
GetOwnerInfo
(
TProcessId
&,
TUidType
&)
|
IMPORT_C
TBool
|
IsDisconnectListEmpty
()
|
TBool
|
IsPlayerInDisconnectList
(
CommsFW::TWorkerId
)
|
IMPORT_C void
|
LogSubSession
(
CWorkerSession
*,
CWorkerSubSession
*,
TInt
,
TAny
*)
|
IMPORT_C void
|
PanicClient
(const
TDesC
&,
TInt
)
|
CCommonPitBoss &
|
PitBoss
()
|
IMPORT_C void
|
ProcessSubSessions
(
CommsFW::TWorkerId
,
TSubSessionProcessor
,
TAny
*)
|
IMPORT_C void
|
SessionCloseResp
(
CommsFW::TWorkerId
)
|
IMPORT_C void
|
SetReturn
(
TInt
)
|
CSubSessionIx
&
|
SubSessions
()
|
const
CSubSessionIx
&
|
SubSessions
()
|
const
TSessionUniqueId
&
|
UniqueId
()
|
CommsFW::TWorkerId
|
WorkerId
()
|
CCommonWorkerThread
&
|
WorkerThread
()
|
Protected Member Functions
|
|
CWorkerSession
(
TUidType
,
TSessionUniqueId
)
|
void
|
AddPlayerToDisconnectList
(
CommsFW::TWorkerId
)
|
IMPORT_C void
|
CloseAllSessionIpcExtensions
()
|
IMPORT_C void
|
CloseSessionIpcExtension
(const
RSafeMessage
&, const
TApiExtIdentification
&)
|
TIpcExtensionRoutingMessageFromSession *
|
DoIsSessionIpcExtensionSupported
(
TInt
,
TDes8
&)
|
void
|
ForgetSubSession
(
CWorkerSession
*,
CWorkerSubSession
*,
TInt
,
TAny
*)
|
IMPORT_C void
|
ForwardMessageL
(const
RMessage2
&,
CWorkerSubSession
*,
CommsFW::TWorkerId
)
|
IMPORT_C void
|
ForwardMessageL
(const
RMessage2
&,
CWorkerSubSession
&)
|
IMPORT_C TIpcExtensionRoutingMessageFromSession *
|
IsSessionIpcExtensionSupported
(
TInt
,
TDes8
&)
|
const
RMessage2
&
|
Message
()
|
IMPORT_C void
|
OpenSessionIpcExtensionL
(const
RSafeMessage
&, const
TApiExtIdentification
&)
|
void
|
OrphanSubSession
(
CWorkerSession
*,
CWorkerSubSession
*,
TInt
,
TAny
*)
|
IMPORT_C void
|
OrphanSubSessions
()
|
IMPORT_C void
|
ParkIfIndeterminateRequest
(const
RMessage2
&,
TInt
)
|
void
|
RemovePlayerFromDisconnectList
(
CommsFW::TWorkerId
)
|
RSafeMessage
&
|
SafeMessage
()
|
RSafeMessage
&
|
SafeMessage
(const
RMessage2
&)
|
IMPORT_C void
|
SendReceiveSessionIpcExtensionL
(const
RSafeMessage
&, const
TApiExtIdentification
&)
|
IMPORT_C
CWorkerSubSession
*
|
SubSessionFromHandle
(
TUint
,
TSubSessInfo
)
|
Constructor & Destructor Documentation
CWorkerSession(TUidType, TSessionUniqueId)
IMPORT_C
|
CWorkerSession
|
(
|
TUidType
|
aUid,
|
|
TSessionUniqueId
|
aSessionUniqueId
|
|
)
|
[protected]
|
Parameters
TUidType
aUid
|
|
TSessionUniqueId
aSessionUniqueId
|
|
~CWorkerSession()
IMPORT_C
|
~CWorkerSession
|
(
|
)
|
|
Member Functions Documentation
AddPlayerToDisconnectList(CommsFW::TWorkerId)
void
|
AddPlayerToDisconnectList
|
(
|
CommsFW::TWorkerId
|
aPlayerId
|
)
|
[protected]
|
Parameters
CommsFW::TWorkerId
aPlayerId
|
|
CleanupDeadWorker(CommsFW::TWorkerId)
void
|
CleanupDeadWorker
|
(
|
CommsFW::TWorkerId
|
aPeerId
|
)
|
|
Parameters
CommsFW::TWorkerId
aPeerId
|
|
CloseAllSessionIpcExtensions()
IMPORT_C void
|
CloseAllSessionIpcExtensions
|
(
|
)
|
[protected]
|
CloseSessionIpcExtension(const RSafeMessage &, const TApiExtIdentification &)
CompleteDisconnect()
void
|
CompleteDisconnect
|
(
|
)
|
|
ConstructL(TProcessId)
IMPORT_C void
|
ConstructL
|
(
|
TProcessId
|
aProcessId
|
)
|
|
CountSubSessions(CWorkerSession *, CWorkerSubSession *, TInt, TAny *)
Dealer()
CCommonDealer *
|
Dealer
|
(
|
)
|
const [inline]
|
Disconnect(const RMessage2 &)
IMPORT_C void
|
Disconnect
|
(
|
const
RMessage2
&
|
aMessage
|
)
|
[virtual]
|
DoIsSessionIpcExtensionSupported(TInt, TDes8 &)
TIpcExtensionRoutingMessageFromSession *
|
DoIsSessionIpcExtensionSupported
|
(
|
TInt
|
,
|
|
TDes8
&
|
|
|
)
|
[protected, inline, virtual]
|
DontCompleteCurrentRequest()
IMPORT_C void
|
DontCompleteCurrentRequest
|
(
|
)
|
|
ForgetSubSession(CWorkerSession *, CWorkerSubSession *, TInt, TAny *)
ForwardMessageL(const RMessage2 &, CWorkerSubSession *, CommsFW::TWorkerId)
ForwardMessageL(const RMessage2 &, CWorkerSubSession &)
GetOwnerInfo(TProcessId &, TUidType &)
IsDisconnectListEmpty()
IMPORT_C
TBool
|
IsDisconnectListEmpty
|
(
|
)
|
const
|
IsPlayerInDisconnectList(CommsFW::TWorkerId)
TBool
|
IsPlayerInDisconnectList
|
(
|
CommsFW::TWorkerId
|
aPlayerId
|
)
|
const
|
Parameters
CommsFW::TWorkerId
aPlayerId
|
|
IsSessionIpcExtensionSupported(TInt, TDes8 &)
IMPORT_C TIpcExtensionRoutingMessageFromSession *
|
IsSessionIpcExtensionSupported
|
(
|
TInt
|
aInterfaceId,
|
|
TDes8
&
|
aBuff
|
|
)
|
[protected]
|
LogSubSession(CWorkerSession *, CWorkerSubSession *, TInt, TAny *)
Message()
const
RMessage2
&
|
Message
|
(
|
)
|
const [protected, inline]
|
OpenSessionIpcExtensionL(const RSafeMessage &, const TApiExtIdentification &)
OrphanSubSession(CWorkerSession *, CWorkerSubSession *, TInt, TAny *)
OrphanSubSessions()
IMPORT_C void
|
OrphanSubSessions
|
(
|
)
|
[protected]
|
PanicClient(const TDesC &, TInt)
IMPORT_C void
|
PanicClient
|
(
|
const
TDesC
&
|
aCategory,
|
|
TInt
|
aPanic
|
|
)
|
[static]
|
ParkIfIndeterminateRequest(const RMessage2 &, TInt)
IMPORT_C void
|
ParkIfIndeterminateRequest
|
(
|
const
RMessage2
&
|
aMessage,
|
|
TInt
|
aErrorIfConfigured
|
|
)
|
[protected]
|
PitBoss()
CCommonPitBoss &
|
PitBoss
|
(
|
)
|
const [inline]
|
ProcessSubSessions(CommsFW::TWorkerId, TSubSessionProcessor, TAny *)
RemovePlayerFromDisconnectList(CommsFW::TWorkerId)
void
|
RemovePlayerFromDisconnectList
|
(
|
CommsFW::TWorkerId
|
aPlayerId
|
)
|
[protected]
|
Parameters
CommsFW::TWorkerId
aPlayerId
|
|
SafeMessage(const RMessage2 &)
SendReceiveSessionIpcExtensionL(const RSafeMessage &, const TApiExtIdentification &)
SessionCloseResp(CommsFW::TWorkerId)
IMPORT_C void
|
SessionCloseResp
|
(
|
CommsFW::TWorkerId
|
aPlayerId
|
)
|
|
Parameters
CommsFW::TWorkerId
aPlayerId
|
|
SetReturn(TInt)
IMPORT_C void
|
SetReturn
|
(
|
TInt
|
aReturn
|
)
|
|
SubSessionFromHandle(TUint, TSubSessInfo)
UniqueId()
const
TSessionUniqueId
&
|
UniqueId
|
(
|
)
|
const [inline]
|
WorkerId()
CommsFW::TWorkerId
|
WorkerId
|
(
|
)
|
const [inline]
|
Member Type Definitions Documentation
Typedef TSubSessionProcessor
typedef void(*
|
TSubSessionProcessor
|
Member Data Documentation
TApiExtRegister
iApiExtRegister
TBool
iComplete
TBool
|
iComplete
|
[protected]
|
RMessage2
iDisconnectMessage
TUint32
iDisconnectPlayers
TUint32
|
iDisconnectPlayers
|
[protected]
|
const RMessage2 * iOurMessage
TSessionUniqueId
iSessionUniqueId
TSessionUniqueId
|
iSessionUniqueId
|
[private]
|
CSubSessionIx
iSubSessions
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.