| 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
| Public Member Functions | |
|---|---|
| TBool | DoServiceL ( TInt , const RMessage2 &) |
| Protected Member Functions | |
|---|---|
| CScsSubsession ( CScsSession &) | |
| Public Attributes | |
|---|---|
| CScsSession & | iSession |
| IMPORT_C | CScsSubsession | ( | CScsSession & | aSession | ) | [protected] |
This protected constructor prevents the object from being directly instantiated.
| CScsSession & aSession |
| TBool | DoServiceL | ( | TInt | aFunction, |
| const RMessage2 & | aMessage | |||
| ) | [pure virtual] | |||
SCS routes subsession messages to this function; the session object does not have to decode them itself.
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.