#include <mw/sipsubscriptionstateheader.h>
Link against: sipcodec.lib
class CSIPSubscriptionStateHeader : public CSIPParameterHeaderBase |
Public Member Functions | |
---|---|
~CSIPSubscriptionStateHeader() | |
RPointerArray< CSIPHeaderBase > | BaseDecodeL(const TDesC8 &) |
virtual IMPORT_C CSIPHeaderBase * | CloneL() |
IMPORT_C CSIPSubscriptionStateHeader * | DecodeL(const TDesC8 &) |
IMPORT_C TInt | ExpiresParameter() |
IMPORT_C CSIPHeaderBase * | InternalizeValueL(RReadStream &) |
virtual IMPORT_C RStringF | Name() |
IMPORT_C CSIPSubscriptionStateHeader * | NewL(const TDesC8 &) |
IMPORT_C CSIPSubscriptionStateHeader * | NewLC(const TDesC8 &) |
virtual TPreferredPlace | PreferredPlaceInMessage() |
IMPORT_C TInt | RetryAfterParameter() |
IMPORT_C void | SetExpiresParameterL(TInt) |
IMPORT_C void | SetRetryAfterParameterL(TInt) |
IMPORT_C void | SetSubStateValueL(const TDesC8 &) |
IMPORT_C const TDesC8 & | SubStateValue() |
Inherited Attributes | |
---|---|
CSIPHeaderBase::iLink |
Inherited Enumerations | |
---|---|
CSIPHeaderBase:TPreferredPlace |
Class provides functions for setting and getting SIP "Subscription-State" header fields.
IMPORT_C | ~CSIPSubscriptionStateHeader | ( | ) |
Destructor, deletes the resources of CSIPSubscriptionStateHeader.
RPointerArray< CSIPHeaderBase > | BaseDecodeL | ( | const TDesC8 & | aValue | ) | [static] |
IMPORT_C CSIPHeaderBase * | CloneL | ( | ) | const [virtual] |
Reimplemented from CSIPHeaderBase::CloneL()const
From CSIPHeaderBase CloneL
IMPORT_C CSIPSubscriptionStateHeader * | DecodeL | ( | const TDesC8 & | aValue | ) | [static] |
Constructs a CSIPSubscriptionStateHeader from textual representation of the header's value part.
Parameters | |
---|---|
aValue | a value part of a "Subscription-State"-header |
IMPORT_C TInt | ExpiresParameter | ( | ) | const |
Gets the value of the "expires"-parameter
IMPORT_C CSIPHeaderBase * | InternalizeValueL | ( | RReadStream & | aReadStream | ) | [static] |
Constructs an instance of a CSIPSubscriptionStateHeader from a RReadStream
Parameters | |
---|---|
aReadStream | a stream containing the value of the externalized object (header name not included). |
IMPORT_C RStringF | Name | ( | ) | const [virtual] |
Reimplemented from CSIPHeaderBase::Name()const
From CSIPHeaderBase Name
IMPORT_C CSIPSubscriptionStateHeader * | NewL | ( | const TDesC8 & | aSubStateValue | ) | [static] |
Creates a new instance of CSIPSubscriptionStateHeader
Parameters | |
---|---|
aSubStateValue | a substate-value value |
IMPORT_C CSIPSubscriptionStateHeader * | NewLC | ( | const TDesC8 & | aSubStateValue | ) | [static] |
Creates a new instance of CSIPSubscriptionStateHeader and puts it to CleanupStack
Parameters | |
---|---|
aSubStateValue | a substate-value value |
TPreferredPlace | PreferredPlaceInMessage | ( | ) | const [virtual] |
Reimplemented from CSIPHeaderBase::PreferredPlaceInMessage()const
IMPORT_C TInt | RetryAfterParameter | ( | ) | const |
Gets the value of the "retry-after"-parameter
IMPORT_C void | SetExpiresParameterL | ( | TInt | aExpiresParam | ) |
Parameters | |
---|---|
aExpiresParam | a "expires"-parameter value to set |
IMPORT_C void | SetRetryAfterParameterL | ( | TInt | aRetryAfterParam | ) |
Parameters | |
---|---|
aRetryAfterParam | a "retry-after"-parameter value to set |
IMPORT_C void | SetSubStateValueL | ( | const TDesC8 & | aSubStateValue | ) |
Sets the substate-value parameter in the "Subscription-State" header;
Parameters | |
---|---|
aSubStateValue | a substate-value parameter to set |
IMPORT_C const TDesC8 & | SubStateValue | ( | ) | const |
Gets the substate-value parameter from the "Subscription-State" header