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 CSubConSIPSubscribeParamSet

class CSubConSIPSubscribeParamSet : public CSubConExtensionParameterSet;

Description

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

Derivation

Members

Defined in CSubConSIPSubscribeParamSet:


Construction and destruction


NewL(CSubConParameterFamily &,CSubConParameterFamily::TParameterSetType)

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

Description

Creates a new SubConSIPSubscribe parameter set object.

Parameters

CSubConParameterFamily &aFamily

CSubConParameterFamily::TParameterSetType aType

Return value

CSubConSIPSubscribeParamSet *

A pointer to the newly allocated object.

Leave codes

KErrArgument

if the data is not of type TParameterSetType.


NewL()

static inline CSubConSIPSubscribeParamSet* NewL();

Description

Return value

CSubConSIPSubscribeParamSet *


CSubConSIPSubscribeParamSet()

inline CSubConSIPSubscribeParamSet();

Description

Constructor.


~CSubConSIPSubscribeParamSet()

virtual ~CSubConSIPSubscribeParamSet();

Description

Destructor.

[Top]


Member functions


GetRequestUri()const

inline const TPtrC8 GetRequestUri() const;

Description

Gets Request URI field of the SIP header. *

Return value

const TPtrC8


GetFrom()const

inline const TPtrC8 GetFrom() const;

Description

Gets From field of the SIP header. *

Return value

const TPtrC8


GetTo()const

inline const TPtrC8 GetTo() const;

Description

Gets To field of the SIP header. *

Return value

const TPtrC8


GetContact()const

inline const TPtrC8 GetContact() const;

Description

Gets Contact field of the SIP header. *

Return value

const TPtrC8


GetEventType()const

inline const TPtrC8 GetEventType() const;

Description

Gets Event Type field of the SIP header. *

Return value

const TPtrC8


GetAcceptType()const

inline const TPtrC8 GetAcceptType() const;

Description

Gets Accept Type field of the SIP header. *

Return value

const TPtrC8


GetAcceptSubType()const

inline const TPtrC8 GetAcceptSubType() const;

Description

Gets Accept Sub Type field of the SIP header. *

Return value

const TPtrC8


GetExpires()const

inline const TInt GetExpires() const;

Description

Gets Expires field of the SIP header. *

Return value

const TInt


GetAutoRefresh()const

inline const TBool GetAutoRefresh() const;

Description

Gets Auto Refresh field of the SIP header. *

Return value

const TBool


SetRequestUriL(const TPtrC8 &)

inline void SetRequestUriL(const TPtrC8 &aReqUri);

Description

Sets Request URI field of the SIP header. *

Parameters

const TPtrC8 &aReqUri


SetFromL(const TPtrC8 &)

inline void SetFromL(const TPtrC8 &aFrom);

Description

Sets From field of the SIP header. *

Parameters

const TPtrC8 &aFrom


SetToL(const TPtrC8 &)

inline void SetToL(const TPtrC8 &aTo);

Description

Sets To field of the SIP header. *

Parameters

const TPtrC8 &aTo


SetContactL(const TPtrC8 &)

inline void SetContactL(const TPtrC8 &aContact);

Description

Sets Contact field of the SIP header. *

Parameters

const TPtrC8 &aContact


SetEventTypeL(const TPtrC8 &)

inline void SetEventTypeL(const TPtrC8 &aEventType);

Description

Sets Event Type field of the SIP header. *

Parameters

const TPtrC8 &aEventType


SetAcceptTypeL(const TPtrC8 &)

inline void SetAcceptTypeL(const TPtrC8 &aAcceptType);

Description

Sets Accept Type field of the SIP header. *

Parameters

const TPtrC8 &aAcceptType


SetAcceptSubTypeL(const TPtrC8 &)

inline void SetAcceptSubTypeL(const TPtrC8 &aAcceptSubType);

Description

Sets Accept Sub Type field of the SIP header. *

Parameters

const TPtrC8 &aAcceptSubType


SetExpires(TInt)

inline void SetExpires(TInt aExpires);

Description

Sets Expires Sub Type field of the SIP header. *

Parameters

TInt aExpires


SetAutoRefresh(TBool)

inline void SetAutoRefresh(TBool aAutoRefresh);

Description

Sets AutoRfresh field of the SIP header. *

Parameters

TBool aAutoRefresh


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>( KSubConSIPSubscribeParamsType ) },
    { (((TInt)&((( CSubConSIPSubscribeParamSet *)0x1000)-> iReqUri ))-0x1000), Meta:: TMetaBuf8 ::NewL },
    { (((TInt)&((( CSubConSIPSubscribeParamSet *)0x1000)-> iFrom ))-0x1000), Meta:: TMetaBuf8 ::NewL },
    { (((TInt)&((( CSubConSIPSubscribeParamSet *)0x1000)-> iTo ))-0x1000), Meta:: TMetaBuf8 ::NewL },
    { (((TInt)&((( CSubConSIPSubscribeParamSet *)0x1000)-> iContact ))-0x1000), Meta:: TMetaBuf8 ::NewL },
    { (((TInt)&((( CSubConSIPSubscribeParamSet *)0x1000)-> iEventType ))-0x1000), Meta:: TMetaBuf8 ::NewL },
    { (((TInt)&((( CSubConSIPSubscribeParamSet *)0x1000)-> iAcceptType ))-0x1000), Meta:: TMetaBuf8 ::NewL },
    { (((TInt)&((( CSubConSIPSubscribeParamSet *)0x1000)-> iAcceptSubType ))-0x1000), Meta:: TMetaBuf8 ::NewL },
    { (((TInt)&((( CSubConSIPSubscribeParamSet *)0x1000)-> iExpires ))-0x1000), Meta:: TMeta<TInt> ::NewL },
    { (((TInt)&((( CSubConSIPSubscribeParamSet *)0x1000)-> iAutoRefresh ))-0x1000), Meta:: TMeta<TBool> ::NewL },     
{ 0, 0 }};

Description


iReqUri

protected: RBuf8 iReqUri;

Description

The Request URI field of the SIP header.


iFrom

protected: RBuf8 iFrom;

Description

The From field of the SIP header.


iTo

protected: RBuf8 iTo;

Description

The To field of the SIP header.


iContact

protected: RBuf8 iContact;

Description

The Contact field of the SIP header.


iEventType

protected: RBuf8 iEventType;

Description

The Event Type field of the SIP header.


iAcceptType

protected: RBuf8 iAcceptType;

Description

The Accept Type field of the SIP header.


iAcceptSubType

protected: RBuf8 iAcceptSubType;

Description

The Accept Sub Type field of the SIP header.


iExpires

protected: TInt iExpires;

Description

The Expires field of the SIP header.


iAutoRefresh

protected: TBool iAutoRefresh;

Description

The AutoRefresh field of the SIP header.