Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: ES_SOCK.H
Link against: esock.lib

Class CSubConNotificationEvent

class CSubConNotificationEvent : public Meta::SMetaDataECom;

Description

Derivation

Members

Defined in CSubConNotificationEvent:
GroupId(), Id(), IsGeneric(), NewL(), NewL()


Construction and destruction


NewL()

static IMPORT_C CSubConNotificationEvent *NewL(const STypeId &aTypeId);

Description

Creates a new sub-connection event using ECOM to load the DLL plugin that implements the event.

Parameters

const STypeId &aTypeId

Id of the class (Composed of Uid of the implementation and an integer sub-type)

Return value

CSubConNotificationEvent *

a generic pointer to a specific event if successful, otherwise leaves with system error code.


NewL()

static IMPORT_C CSubConNotificationEvent *NewL(const TNotificationEventBuf &aEventBuffer);

Description

Creates a new sub-connection event using ECOM to load the DLL plugin that implements the event.

Parameters

const TNotificationEventBuf &aEventBuffer

A Buffer containing the serialised form of the event object

Return value

CSubConNotificationEvent *

a generic pointer to a specific event if successful, otherwise leaves with system error code.

[Top]


Member functions


IsGeneric()

IMPORT_C TBool IsGeneric() const;

Description

Check whether an event is a generic event (not an extension)

Return value

TBool

ETrue if the event is generic, otherwise EFalse


GroupId()

IMPORT_C TInt32 GroupId() const;

Description

Provides the group id (Uid) of the event

Return value

TInt32

Group id in the form of a UId (Could be generic or any extension uid)


Id()

IMPORT_C TUint32 Id() const;

Description

Provides the sub-type Id of the event

Return value

TUint32

sub-type id