class CQoSParameters : public CBase |
This class contains the generic QoS parameters and optional extensions.
Private Attributes | |
---|---|
TQoSExtensionQueue | iExtensionList |
TName | iName |
TQoSParameters | iQoS |
IMPORT_C | CQoSParameters | ( | ) |
Constructor.
Default constructor.
IMPORT_C | ~CQoSParameters | ( | ) |
Destructor.
Destructor.
Deletes all extensions.
IMPORT_C TBool | AdaptMode | ( | ) | const |
Returns the adaptation mode.
Gets the adaptation mode.
IMPORT_C TInt | AddExtensionL | ( | CExtensionBase & | aExtension | ) |
Copies the extension into the list of extensions. If there already exists an extension with the same type, it is replaced.
Leaves |
if there is no memory available for the extension. |
If there already exists an extension with the same type, it is replaced.
CExtensionBase & aExtension | The extension that is added to the list of extenstions. |
IMPORT_C void | CopyL | ( | CQoSParameters & | aPolicy | ) |
Copies the parameters and extensions from aPolicy into this object.
Leaves |
if there is no memory available for extensions. |
Any existing extensions are deleted.
CQoSParameters & aPolicy | Contains the CQoSParameters object that is copied into this object. |
IMPORT_C TQoSExtensionQueue & | Extensions | ( | ) |
Returns a list of extensions that have been added to this object.
Gets a list of extensions that have been added to this object.
IMPORT_C CExtensionBase * | FindExtension | ( | TInt | aType | ) |
Returns an extension with extension type aType.
Gets an extension with the specified extension type.
TInt aType | The type of extension that is to be searched for from the list of extensions. |
IMPORT_C TInt | GetDownLinkAveragePacketSize | ( | ) | const |
Returns the average packet size for downlink direction. Average packet size is used as the smallest packet size when doing traffic policing and estimating effect of protocol headers.
Gets the average packet size for downlink direction.
Average packet size is used when doing traffic policing and estimating effect of protocol headers.
IMPORT_C TInt | GetDownLinkDelay | ( | ) | const |
Returns the delay for downlink direction.
Gets the delay for downlink direction.
IMPORT_C TInt | GetDownLinkMaximumBurstSize | ( | ) | const |
Returns the maximum burst size for downlink direction. Maximum burst size defines the burst size that the application might send.
Gets the maximum burst size for downlink direction.
Maximum burst size defines the burst size that the application might send.
IMPORT_C TInt | GetDownLinkMaximumPacketSize | ( | ) | const |
Returns the maximum packet size for downlink direction.
Gets the maximum packet size for downlink direction.
IMPORT_C TInt | GetDownLinkPriority | ( | ) | const |
Returns the priority for downlink direction. Priority can be used to prioritise between traffic flows inside the terminal.
Gets the priority for downlink direction.
Priority can be used to prioritise between traffic flows inside the terminal.
IMPORT_C TInt | GetDownlinkBandwidth | ( | ) | const |
Returns the bandwidth for downlink direction. Bandwidth defines the requested transfer rate that the application requests.
Gets the bandwidth for downlink direction.
Bandwidth defines the requested transfer rate that the application requests.
IMPORT_C TBool | GetHeaderMode | ( | ) | const |
Returns the headers included mode.
Returns the headers included mode.
IMPORT_C const TName & | GetName | ( | ) | const |
Returns the name of the flowspec.
Gets the name of the flowspec.
IMPORT_C TInt | GetUpLinkAveragePacketSize | ( | ) | const |
Returns the average packet size for uplink direction. Average packet size is used when doing traffic policing and estimating effect of protocol headers.
Gets the average packet size for uplink direction.
Average packet size is used when doing traffic policing and estimating effect of protocol headers.
IMPORT_C TInt | GetUpLinkDelay | ( | ) | const |
Returns the delay for uplink direction.
Gets the delay for uplink direction.
IMPORT_C TInt | GetUpLinkMaximumBurstSize | ( | ) | const |
Returns the maximum burst size for uplink direction. Maximum burst size defines the burst size that the application might send.
Gets the maximum burst size for uplink direction.
Maximum burst size defines the burst size that the application might send.
IMPORT_C TInt | GetUpLinkMaximumPacketSize | ( | ) | const |
Returns the maximum packet size for uplink direction.
Gets the maximum packet size for uplink direction.
IMPORT_C TInt | GetUpLinkPriority | ( | ) | const |
Returns the priority for uplink direction. Priority can be used to prioritise between traffic flows inside the terminal.
Gets the priority for uplink direction.
Priority can be used to prioritise between traffic flows inside the terminal.
IMPORT_C TInt | GetUplinkBandwidth | ( | ) | const |
Returns the bandwidth for uplink direction. Bandwidth defines the requested transfer rate that the application requests.
Gets the bandwidth for uplink direction.
Bandwidth defines the requested transfer rate that the application requests.
IMPORT_C TInt | RemoveExtension | ( | TInt | aType | ) |
Removes the extension with extension type aType from the list of extensions.
Removes the extension with the specified extension type from the list of extensions.
TInt aType | The type of extension to be removed from the list of extensions. |
IMPORT_C void | SetAdaptMode | ( | TBool | aCanAdapt | ) |
Sets the adaptation mode. If the application is willing to accept lower QoS than requested, it should set the adapt mode on. By default adapt mode is not set.
Sets the adaptation mode.
If the application is willing to accept lower QoS than requested, it should set the adapt mode on. By default adapt mode is not set.
TBool aCanAdapt | The value for adapt mode. |
IMPORT_C void | SetDownLinkAveragePacketSize | ( | TInt | aSize | ) |
Sets the average packet size for downlink direction. Average packet size is used as the smallest packet size when doing traffic policing and estimating effect of protocol headers. The average packet size must be <= maximum packet size.
Sets the average packet size for downlink direction.
Average packet size is used when doing traffic policing and estimating effect of protocol headers. The average packet size must be <= maximum packet size.
TInt aSize | Value (in bytes) to which to set the average packet size for downlink direction. |
IMPORT_C void | SetDownLinkDelay | ( | TInt | aDelay | ) |
Sets the requested delay for downlink direction.
Sets the requested delay for downlink direction.
TInt aDelay | Value (in milliseconds) to which to set the delay for downlink direction. |
IMPORT_C void | SetDownLinkDelayVariation | ( | TInt | aVariation | ) |
TInt aVariation |
IMPORT_C void | SetDownLinkMaximumBurstSize | ( | TInt | aSize | ) |
Sets the maximum burst size for downlink direction. Maximum burst size defines the burst size that the application might send. Maximum burst size must be > 0.
Sets the maximum burst size for downlink direction.
Maximum burst size defines the burst size that the application might send. Maximum burst size must be > 0.
TInt aSize | Value (in bytes) to which to set the maximum burst size for downlink direction. |
IMPORT_C void | SetDownLinkMaximumPacketSize | ( | TInt | aMaxSize | ) |
Sets the maximum packet size for downlink direction.
Sets the maximum packet size for downlink direction.
TInt aMaxSize | Value (in bytes) to which to set the maximum packet size for downlink direction. |
IMPORT_C void | SetDownLinkPriority | ( | TInt | aPriority | ) |
Sets the priority for downlink direction. Priority can be used to prioritise between traffic flows inside the terminal.
Sets the priority for downlink direction.
Priority can be used to prioritise between traffic flows inside the terminal.
TInt aPriority | Value (0-7) to which to set the priority for downlink direction: 0 is the highest priority, 7 is lowest. |
IMPORT_C void | SetDownlinkBandwidth | ( | TInt | aBandwidth | ) |
Sets the bandwidth for downlink direction. Bandwidth defines the requested transfer rate that the application requests. Bandwidth must be > 0.
Sets the bandwidth for downlink direction.
Bandwidth defines the requested transfer rate that the application requests. Bandwidth must be > 0.
TInt aBandwidth | Value (in bytes/second) to which to set the bandwidth for downlink direction. |
IMPORT_C void | SetHeaderMode | ( | TBool | aHeadersIncluded | ) |
Sets the header mode. If the application wants QoS Framework to include network and transport layer header values in bitrate calcutaions or not. By default the mode is set to include the headers in the calculations. Protocols such as RTSP or SIP, which already include the header sizes in their calculations will want to alter the mode so that header values are not included in calculations twice.
Sets the header mode. If the application wants QoS Framework to include network and transport layer header values in bitrate calculations or not. By default the mode is set to include the headers in the calculations. Protocols such as RTSP or SIP, which already include the header sizes in their calculations will want to alter the mode so that header values are not included in calculations twice.
TBool aHeadersIncluded | The value for header mode. |
IMPORT_C void | SetName | ( | const TName & | aName | ) |
Sets the name of the flowspec. This allows application to specify a user friendly name for a flowspec.
Sets the name of the flowspec.
This allows application to specify a user friendly name for a flowspec.
const TName & aName | The name for the flowspec. Maximum length for the name is KMaxName. |
IMPORT_C void | SetUpLinkAveragePacketSize | ( | TInt | aSize | ) |
Sets the average packet size for uplink direction. Average packet size is used when doing traffic policing and estimating effect of protocol headers. The average packet size must be <= maximum packet size.
Sets the average packet size for uplink direction.
Average packet size is used when doing traffic policing and estimating effect of protocol headers. The average packet size must be <= maximum packet size.
TInt aSize | Value (in bytes) to which to set the average packet size for uplink direction. |
IMPORT_C void | SetUpLinkDelay | ( | TInt | aDelay | ) |
Sets the requested delay for uplink direction.
Sets the requested delay for uplink direction.
TInt aDelay | Value (in milliseconds) to which to set the delay for uplink direction. |
IMPORT_C void | SetUpLinkDelayVariation | ( | TInt | aVariation | ) |
TInt aVariation |
IMPORT_C void | SetUpLinkMaximumBurstSize | ( | TInt | aSize | ) |
Sets the maximum burst size for uplink direction. Maximum burst size defines the burst size that the application might send. Maximum burst size must be > 0.
Sets the maximum burst size for uplink direction.
Maximum burst size defines the burst size that the application might send. Maximum burst size must be > 0.
TInt aSize | Value (in bytes) to which to set the maximum burst size for uplink direction. |
IMPORT_C void | SetUpLinkMaximumPacketSize | ( | TInt | aMaxSize | ) |
Sets the maximum packet size for uplink direction.
Sets the maximum packet size for uplink direction.
TInt aMaxSize | Value (in bytes) to which to set the maximum packet size for uplink direction. |
IMPORT_C void | SetUpLinkPriority | ( | TInt | aPriority | ) |
Sets the priority for uplink direction. Priority can be used to prioritise between traffic flows inside the terminal.
Sets the priority for uplink direction.
Priority can be used to prioritise between traffic flows inside the terminal.
TInt aPriority | Value (0-7) to which to set the priority for uplink direction: 0 is the highest priority, 7 is lowest. |
IMPORT_C void | SetUplinkBandwidth | ( | TInt | aBandwidth | ) |
Sets the bandwidth for uplink direction. Bandwidth defines the requested transfer rate that the application requests. Bandwidth must be > 0.
Sets the bandwidth for uplink direction.
Bandwidth defines the requested transfer rate that the application requests. Bandwidth must be > 0.
TInt aBandwidth | Value (in bytes/second) to which to set the bandwidth for uplink direction. |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.