Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <cs_subconevents.h>
Link against: subconparams.lib

Class CSubConGenEventParamsRejected

class CSubConGenEventParamsRejected : public CSubConNotificationEvent;

Description

Subconnection parameters rejected event.

Provides an interface for rejected parameters event. This event will occur if the negotiation with the network has failed for some reason. It will contain the family type for which rejected event is generated & corresponding error code i.e, the reason for rejecting the parameter set.

Notification of this event occurs after a request to SetParameters() has been made and negotiation with the network has failed for some reason. It could be an error within the handset software/configuration, or that the network could not provide the acceptable (minimum) level of QoS. The reason for failure and the parameter family are presented by the accessor methods CSubConGenEventParamsRejected::Error()const and CSubConGenEventParamsRejected::FamilyId()const. Like the CSubConGenEventParamsGranted event, a notification for CSubConGenEventParamsRejected is received for each family in the parameter bundle that could not be negotiated successfully.

The following operations are also provided:

CSubConGenEventParamsRejected::Error()const/SetError() - Accessor function for error value. CSubConGenEventParamsRejected::FamilyId()const/SetFamilyId() - Accessor function for family parameter type.

Derivation

Members

Defined in CSubConGenEventParamsRejected:

Inherited from CSubConNotificationEvent:


Construction and destruction


NewL()

static inline CSubConGenEventParamsRejected* NewL();

Description

Creates a rejected parameter event sub-connection.

Return value

CSubConGenEventParamsRejected *

CSubConGenEventParamsRejected pointer if successful, otherwise leaves with system error code.


CSubConGenEventParamsRejected()

inline CSubConGenEventParamsRejected();

Description

Empty CSubConGenEventParamsRejected constructor


~CSubConGenEventParamsRejected()

virtual ~CSubConGenEventParamsRejected();

Description

Empty (virtual) sub-connection parameter rejected event destructor

[Top]


Member functions


Error()const

inline TInt Error() const;

Description

Gets Error value.

Return value

TInt

error value.


SetError(TInt)

inline void SetError(TInt aError);

Description

Sets Error value.

Parameters

TInt aError

error value.


FamilyId()const

inline TInt FamilyId() const;

Description

Gets parameter family type.

Return value

TInt

parameter family type.


SetFamilyId(TInt)

inline void SetFamilyId(TInt aFamilyId);

Description

Sets parameter family type.

Parameters

TInt aFamilyId

parameter family type.


GetVDataTable()const

protected: virtual Meta::SVDataTableEntry const* GetVDataTable() const;

Description

Return value

Meta::SVDataTableEntry const *


GetAttribPtr(const TInt)const

protected: virtual TUint8* GetAttribPtr(const TInt aOffset) const;

Description

Parameters

const TInt aOffset

Return value

TUint8 *


TypeId()

protected: static inline const Meta::STypeId TypeId();

Description

Return value

const Meta::STypeId

[Top]


Member data


iVDataTable

protected: const Meta::SVDataTableEntry iVDataTable[]={ { KSubConnGenericEventsImplUid , reinterpret_cast<Meta::TMetaTypeNewL>( KSubConGenericEventParamsRejected ) },
    { (((TInt)&((( CSubConGenEventParamsRejected *)0x1000)-> iError ))-0x1000), Meta:: TMetaNumber ::NewL },
    { (((TInt)&((( CSubConGenEventParamsRejected *)0x1000)-> iFamilyId ))-0x1000), Meta:: TMetaNumber ::NewL },
{ 0, 0 }};

Description


iError

protected: TInt iError;

Description


iFamilyId

protected: TInt iFamilyId;

Description