Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <SIP_subconparams.h>
Link against: sipparams.lib
This item is not part of the S60 5th Edition SDK

Class CSubConSIPAuthenticateParamSet

class CSubConSIPAuthenticateParamSet : public CSubConExtensionParameterSet;

Description

This contains the SIP Authenticate parameters that will be passed via subconnection to the SIP stack

Derivation

Members

Defined in CSubConSIPAuthenticateParamSet:


Construction and destruction


NewL(CSubConParameterFamily &,CSubConParameterFamily::TParameterSetType)

static inline CSubConSIPAuthenticateParamSet* NewL(CSubConParameterFamily &aFamily, CSubConParameterFamily::TParameterSetType aType);

Description

Creates a new SubConSIPAuthenticate parameter set object.

Parameters

CSubConParameterFamily &aFamily

CSubConParameterFamily::TParameterSetType aType

Return value

CSubConSIPAuthenticateParamSet *

A pointer to the newly allocated object.

Leave codes

KErrArgument

if the data is not of type TParameterSetType.


NewL()

static inline CSubConSIPAuthenticateParamSet* NewL();

Description

Return value

CSubConSIPAuthenticateParamSet *


CSubConSIPAuthenticateParamSet()

inline CSubConSIPAuthenticateParamSet();

Description

Constructor.


~CSubConSIPAuthenticateParamSet()

virtual ~CSubConSIPAuthenticateParamSet();

Description

Destructor.

[Top]


Member functions


GetUserName()const

inline const TPtrC8 GetUserName() const;

Description

Gets Username field of the SIP header. *

Return value

const TPtrC8


GetPassword()const

inline const TPtrC8 GetPassword() const;

Description

Gets Password field of the SIP header. *

Return value

const TPtrC8


GetRealm()const

inline const TPtrC8 GetRealm() const;

Description

Gets Realm field of the SIP header. *

Return value

const TPtrC8


SetUserNameL(const TPtrC8 &)

inline void SetUserNameL(const TPtrC8 &aUserName);

Description

Sets Username field of the SIP header. *

Parameters

const TPtrC8 &aUserName


SetPasswordL(const TPtrC8 &)

inline void SetPasswordL(const TPtrC8 &aPassword);

Description

Sets Password field of the SIP header. *

Parameters

const TPtrC8 &aPassword


SetRealmL(const TPtrC8 &)

inline void SetRealmL(const TPtrC8 &aRealm);

Description

Sets Realm field of the SIP header. *

Parameters

const TPtrC8 &aRealm


GetVDataTable()const

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

Description

Return value

Meta::SVDataTableEntry const *


GetAttribPtr(const TInt)const

virtual TUint8* GetAttribPtr(const TInt aOffset) const;

Description

Parameters

const TInt aOffset

Return value

TUint8 *


TypeId()

static inline const Meta::STypeId TypeId();

Description

Return value

const Meta::STypeId

[Top]


Member data


iVDataTable

const Meta::SVDataTableEntry iVDataTable[]={ { KSubConSIPParametersUid , reinterpret_cast<Meta::TMetaTypeNewL>( KSubConSIPAuthenticateParamsType ) },
    { (((TInt)&((( CSubConSIPAuthenticateParamSet *)0x1000)-> iUserName ))-0x1000), Meta:: TMetaBuf8 ::NewL },
    { (((TInt)&((( CSubConSIPAuthenticateParamSet *)0x1000)-> iPassword ))-0x1000), Meta:: TMetaBuf8 ::NewL },
    { (((TInt)&((( CSubConSIPAuthenticateParamSet *)0x1000)-> iRealm ))-0x1000), Meta:: TMetaBuf8 ::NewL }, 
{ 0, 0 }};

Description


iUserName

protected: RBuf8 iUserName;

Description

The Username entry of Authenticate field in a SIP header.


iPassword

protected: RBuf8 iPassword;

Description

The Password entry of Authenticate field in a SIP header.


iRealm

protected: RBuf8 iRealm;

Description

The Realm entry of Authenticate field in a SIP header.