|
|
|
|
Location:
sipsubscriptionstateheader.h
Link against: sipcodec.lib
class CSIPSubscriptionStateHeader : public CSIPParameterHeaderBase;
Class provides functions for setting and getting SIP "Subscription-State" header fields.
sipcodec.lib
CBase - Base class for all classes to be instantiated on the heap
CSIPHeaderBase - Class provides a generic interface for all the SIP headers
CSIPParameterHeaderBase - A base class for SIP headers that have structure "mandatory part"delimiter"parameters"
CSIPSubscriptionStateHeader - Class provides functions for setting and getting SIP "Subscription-State" header fields
Defined in CSIPSubscriptionStateHeader:
CloneL(), DecodeL(), ExpiresParameter(), InternalizeValueL(), Name(), NewL(), NewLC(), RetryAfterParameter(), SetExpiresParameterL(), SetRetryAfterParameterL(), SetSubStateValueL(), SubStateValue(), ~CSIPSubscriptionStateHeader()
Inherited from CBase:
Delete(),
Extension_(),
operator new()
Inherited from CSIPHeaderBase:
ExternalizeL(),
ExternalizeSupported(),
PushLC(),
ToTextL(),
ToTextLC(),
ToTextValueLC()
Inherited from CSIPParameterHeaderBase:
DeleteParam(),
HasParam(),
Param(),
ParamCount(),
ParamValue(),
SetParamL(),
ToTextValueL()
static IMPORT_C CSIPSubscriptionStateHeader *NewL(const TDesC8 &aSubStateValue);
Creates a new instance of CSIPSubscriptionStateHeader
|
|
static IMPORT_C CSIPSubscriptionStateHeader *NewLC(const TDesC8 &aSubStateValue);
Creates a new instance of CSIPSubscriptionStateHeader and puts it to CleanupStack
|
|
IMPORT_C ~CSIPSubscriptionStateHeader();
Destructor, deletes the resources of CSIPSubscriptionStateHeader.
static IMPORT_C CSIPSubscriptionStateHeader *DecodeL(const TDesC8 &aValue);
Constructs a CSIPSubscriptionStateHeader from textual representation of the header's value part.
|
|
IMPORT_C const TDesC8 &SubStateValue() const;
Gets the substate-value parameter from the "Subscription-State" header
|
IMPORT_C void SetSubStateValueL(const TDesC8 &aSubStateValue);
Sets the substate-value parameter in the "Subscription-State" header;
|
IMPORT_C TInt ExpiresParameter() const;
Gets the value of the "expires"-parameter
|
IMPORT_C void SetExpiresParameterL(TInt aExpiresParam);
aExpiresParam >= 0
Sets the "expires"-parameter
|
IMPORT_C TInt RetryAfterParameter() const;
Gets the value of the "retry-after"-parameter
|
IMPORT_C void SetRetryAfterParameterL(TInt aRetryAfterParam);
aRetryAfterParam >= 0
Sets the "retry-after"-parameter
|
static IMPORT_C CSIPHeaderBase *InternalizeValueL(RReadStream &aReadStream);
Constructs an instance of a CSIPSubscriptionStateHeader from a RReadStream
|
|
virtual IMPORT_C CSIPHeaderBase *CloneL() const;
From CSIPHeaderBase CloneL
|