CScsSubsession Class Reference
class CScsSubsession : public CObject |
If the server implementation supports subsessions, they must derive from this class.
WARNING: Because this class derives from CObject you must not simply delete an instance of a class derived from this class (ie. your subsession), instead you MUST Close() it.
In practise this probably means you need a ConstructL like this:- CFred *self = new(ELeave) CFred(....); CleanupClosePushL(*self); // Note use of CleanupClosePushL and of *self self->ConstructL(...); CleanupStack::Pop(self); // Note use of *self instead of self
Constructor & Destructor Documentation
CScsSubsession(CScsSession &)
IMPORT_C | CScsSubsession | ( | CScsSession & | aSession | ) | [protected] |
This protected constructor prevents the object from being directly instantiated.
Member Functions Documentation
DoServiceL(TInt, const RMessage2 &)
SCS routes subsession messages to this function; the session object does not have to decode them itself.
Parameters
TInt aFunction | Implementation function, i.e. the function identifier with the SCS field removed. |
const RMessage2 & aMessage | Standard server message object. |
Member Data Documentation
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.