UserPromptService::CClientEntity Class Reference

class UserPromptService::CClientEntity : public CBase

Represents an entity executing within a client process e.g. a script or midlet.

The maximum length of the client entity name is KUpsMaxClientEntityLength (32) characters. This is limited to 32 characters because it forms part of the composite key in the decision database and the key is limited to 255 bytes.

Inherits from

  • UserPromptService::CClientEntity

Constructor & Destructor Documentation

CClientEntity()

CClientEntity ( ) [private]

Constructor

~CClientEntity()

~CClientEntity ( )

Destructor

Member Functions Documentation

ConstructL(const TDesC8 &)

void ConstructL ( const TDesC8 & aName ) [private]

Second phase constructor

Parameters

const TDesC8 & aName

Name()

IMPORT_C const TDesC8 & Name ( ) const

Gets the unique name for the client entity.

NewL(const TDesC8 &)

IMPORT_C CClientEntity * NewL ( const TDesC8 & aName ) [static]

Creates a new client entity object.

Parameters

const TDesC8 & aName A name that uniquely identifies the entity within the context of the client process.

NewLC(const TDesC8 &)

IMPORT_C CClientEntity * NewLC ( const TDesC8 & aName ) [static]

Creates a new client entity object and places the pointer on the cleanup stack.

Parameters

const TDesC8 & aName A name that uniquely identifies the entity within the context of the client process.

Member Data Documentation

HBufC8 * iName

HBufC8 * iName [private]

Identifies an entity with the client process