Den::CWorkerSubSession Class Reference
class Den::CWorkerSubSession : public CBase
|
Constructor & Destructor Documentation
CWorkerSubSession(CWorkerSession *, CCommonPlayer *, TSubSessionUniqueId)
~CWorkerSubSession()
IMPORT_C
|
~CWorkerSubSession
|
(
|
)
|
[virtual]
|
Member Functions Documentation
CleanupDeadWorker(CommsFW::TWorkerId)
void
|
CleanupDeadWorker
|
(
|
CommsFW::TWorkerId
|
aWorkerId
|
)
|
|
Parameters
CommsFW::TWorkerId
aWorkerId
|
|
CloseAllSubSessionIpcExtensions()
IMPORT_C void
|
CloseAllSubSessionIpcExtensions
|
(
|
)
|
[protected]
|
CloseSubSessionIpcExtension(const RSafeMessage &, const TApiExtIdentification &)
CompleteMessage(const RMessage2 &, TInt)
IMPORT_C void
|
CompleteMessage
|
(
|
const
RMessage2
&
|
aMessage,
|
|
TInt
|
aResult
|
|
)
|
[protected]
|
ComposeSubSessionName(const CWorkerSubSession *, TName &)
ConstructL()
IMPORT_C void
|
ConstructL
|
(
|
)
|
[protected]
|
DecomposeSubSessionName(const TName &, CommsFW::TWorkerId &, CWorkerSubSession *&)
DeleteMe()
void
|
DeleteMe
|
(
|
)
|
[pure virtual]
|
DoIsSubSessionIpcExtensionSupported(TInt, TDes8 &)
TIpcExtensionRoutingMessageFromSubSession *
|
DoIsSubSessionIpcExtensionSupported
|
(
|
TInt
|
,
|
|
TDes8
&
|
|
|
)
|
[protected, inline, virtual]
|
DontCompleteCurrentRequest()
IMPORT_C void
|
DontCompleteCurrentRequest
|
(
|
)
|
const
|
FetchSubSessionFromName(const TName &, TSubSessInfo, const CCommonWorkerThread &, CWorkerSubSession *&)
FinalCompleteAllBlockedMessages(TInt)
void
|
FinalCompleteAllBlockedMessages
|
(
|
TInt
|
aResult
|
)
|
[pure virtual]
|
Derived objects must implement this to make sure that all
RMessage2
resources are completed when called. It is used in various close/clean-up scenarios.
GetOwnerInfo(TProcessId &, TUidType &, TThreadId &)
IsClosing()
TBool
|
IsClosing
|
(
|
)
|
const [inline]
|
IsSubSessionIpcExtensionSupported(TInt, TDes8 &)
IMPORT_C TIpcExtensionRoutingMessageFromSubSession *
|
IsSubSessionIpcExtensionSupported
|
(
|
TInt
|
aInterfaceId,
|
|
TDes8
&
|
aBuff
|
|
)
|
[protected]
|
KFlagSpecialForwardCase()
Special non-zero subsession pointer, used in a very few cases to select additional behaviour on a forwarded request. For example on creating a subsession this flags that tier resolution is first required
NextScopeUniqueId()
TScopeUniqueId
|
NextScopeUniqueId
|
(
|
)
|
[inline]
|
OpenSubSessionIpcExtensionL(const RSafeMessage &, const TApiExtIdentification &)
PanicClient(TInt)
IMPORT_C void
|
PanicClient
|
(
|
TInt
|
aPanic
|
)
|
[protected]
|
PanicClient(const TDesC &, TInt)
IMPORT_C void
|
PanicClient
|
(
|
const
TDesC
&
|
aCategory,
|
|
TInt
|
aPanic
|
|
)
|
[protected]
|
ProcessMessageL()
void
|
ProcessMessageL
|
(
|
)
|
[pure virtual]
|
Derived objects must implement this to continue the processing of the current message.
RemoveAndDestroy()
void
|
RemoveAndDestroy
|
(
|
)
|
[protected]
|
SendReceiveSubSessionIpcExtensionL(const RSafeMessage &, const TApiExtIdentification &)
SetClosing()
void
|
SetClosing
|
(
|
)
|
[protected, inline]
|
SetReturn(TInt)
IMPORT_C void
|
SetReturn
|
(
|
TInt
|
aReturnValue
|
)
|
const
|
SetSession(CWorkerSession *)
SetSessionProxy(CCommonSessionProxy *)
SetUniqueId(const TSubSessionUniqueId &)
IMPORT_C void
|
SetUniqueId
|
(
|
const
TSubSessionUniqueId
&
|
aUniqueId
|
)
|
|
Parameters
const
TSubSessionUniqueId
& aUniqueId
|
|
StoreOwnerInfo()
IMPORT_C void
|
StoreOwnerInfo
|
(
|
)
|
|
UniqueId()
const
TSubSessionUniqueId
&
|
UniqueId
|
(
|
)
|
const [inline]
|
Member Data Documentation
TApiExtRegister
iApiExtRegister
TBool
iClosing
TBool
|
iClosing
|
[protected]
|
TUint
iNextScopeUniqueId
TUint
|
iNextScopeUniqueId
|
[private]
|
CWorkerSession * iSession
CCommonSessionProxy * iSessionProxy
TSubSessionUniqueId
iSubSessionUniqueId
TSubSessionUniqueId
|
iSubSessionUniqueId
|
[protected]
|
TThreadId
iThreadId
The thread id of the creator of the subsession, part of the OwnerInfo. This can be misleading, since sessions can be shared between threads of a client - to really know what thread is responsible for the current operator query its
RMessage2
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.