#include <mw/sipretryafterheader.h>
Link against: sipcodec.lib
class CSIPRetryAfterHeader : public CSIPParameterHeaderBase |
Public Member Functions | |
---|---|
virtual | ~CSIPRetryAfterHeader() |
RPointerArray< CSIPHeaderBase > | BaseDecodeL(const TDesC8 &) |
virtual IMPORT_C CSIPHeaderBase * | CloneL() |
IMPORT_C const TDesC8 & | Comment() |
IMPORT_C CSIPRetryAfterHeader * | DecodeL(const TDesC8 &) |
IMPORT_C TInt | DurationParam() |
IMPORT_C CSIPHeaderBase * | InternalizeValueL(RReadStream &) |
virtual IMPORT_C RStringF | Name() |
IMPORT_C CSIPRetryAfterHeader * | NewL(TUint) |
IMPORT_C CSIPRetryAfterHeader * | NewLC(TUint) |
virtual TPreferredPlace | PreferredPlaceInMessage() |
IMPORT_C TUint | RetryAfter() |
IMPORT_C void | SetDurationParamL(TInt) |
IMPORT_C void | SetRetryAfter(TUint) |
Inherited Attributes | |
---|---|
CSIPHeaderBase::iLink |
Inherited Enumerations | |
---|---|
CSIPHeaderBase:TPreferredPlace |
Class provides functions for setting and getting parameters in SIP "Retry-After" header.
IMPORT_C | ~CSIPRetryAfterHeader | ( | ) | [virtual] |
Destructor, deletes the resources of CSIPRetryAfterHeader.
RPointerArray< CSIPHeaderBase > | BaseDecodeL | ( | const TDesC8 & | aValue | ) | [static] |
IMPORT_C CSIPHeaderBase * | CloneL | ( | ) | const [virtual] |
Reimplemented from CSIPHeaderBase::CloneL()const
From CSIPHeaderBase CloneL
IMPORT_C const TDesC8 & | Comment | ( | ) | const |
Gets the comment value
IMPORT_C CSIPRetryAfterHeader * | DecodeL | ( | const TDesC8 & | aValue | ) | [static] |
Constructs a CSIPRetryAfterHeader from textual representation of the header's value part.
Parameters | |
---|---|
aValue | a value part of a "Retry-After"-header (e.g. "18000;duration=3600") |
IMPORT_C TInt | DurationParam | ( | ) | const |
Gets the value of the "duration"-parameter
IMPORT_C CSIPHeaderBase * | InternalizeValueL | ( | RReadStream & | aReadStream | ) | [static] |
Constructs an instance of a CSIPRetryAfterHeader 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 CSIPRetryAfterHeader * | NewL | ( | TUint | aRetryAfter | ) | [static] |
Creates a new instance of CSIPRetryAfterHeader
Parameters | |
---|---|
aRetryAfter | a retry after value. |
IMPORT_C CSIPRetryAfterHeader * | NewLC | ( | TUint | aRetryAfter | ) | [static] |
Creates a new instance of CSIPRetryAfterHeader On return the new instance has left to the CleanupStack.
Parameters | |
---|---|
aRetryAfter | a retry after value. |
TPreferredPlace | PreferredPlaceInMessage | ( | ) | const [virtual] |
Reimplemented from CSIPHeaderBase::PreferredPlaceInMessage()const
IMPORT_C void | SetDurationParamL | ( | TInt | aDurationParam | ) |
Parameters | |
---|---|
aDurationParam | a "duration"-parameter value to set |
IMPORT_C void | SetRetryAfter | ( | TUint | aValue | ) |
Sets the retry after value
Parameters | |
---|---|
aValue | a new retry after value to set. |