epoc32/include/networking/qos3gpp_subconparams.inl
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
equal deleted inserted replaced
3:e1b950c65cb4 4:837f303aceeb
     1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     7 //
     8 // Initial Contributors:
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
     9 // Nokia Corporation - initial contribution.
    10 //
    10 //
    11 // Contributors:
    11 // Contributors:
    13 // Description:
    13 // Description:
    14 // Inline Functions file for the 3GPP SubConnection Extension Parameters
    14 // Inline Functions file for the 3GPP SubConnection Extension Parameters
    15 // 
    15 // 
    16 //
    16 //
    17 
    17 
    18 
       
    19 
       
    20 /**
    18 /**
    21  @file
    19  @file
    22  @publishedAll
    20  @publishedAll
       
    21  @released
    23 */
    22 */
    24 
    23 
    25 
    24 
    26 
    25 
    27 #ifndef QOS3GPP_SUBCONPARAMS_INL
    26 #ifndef QOS3GPP_SUBCONPARAMS_INL
    28 #define QOS3GPP_SUBCONPARAMS_INL
    27 #define QOS3GPP_SUBCONPARAMS_INL
    29 
    28 
    30 /**
    29 /**
    31 @param      aFamily the sub-connection parameter to which the newly created object is to be added
    30 @param      aFamily the sub-connection parameter family to which the newly created object is to be added
    32 @param      aType The type of the set from TParameterSetType (ERequested, EAcceptable or EGranted)
    31 @param      aType The type of the set from TParameterSetType (ERequested, EAcceptable or EGranted)
    33 @return     pointer to the created object
    32 @return     pointer to the created object
       
    33 @publishedAll
       
    34 @released Since 9.3
    34 */
    35 */
    35 CSubConQosR99ParamSet* CSubConQosR99ParamSet::NewL(CSubConParameterFamily& aFamily, CSubConParameterFamily::TParameterSetType aType)
    36 CSubConQosR99ParamSet* CSubConQosR99ParamSet::NewL(CSubConParameterFamily& aFamily, CSubConParameterFamily::TParameterSetType aType)
    36     {
    37     {
    37     CSubConQosR99ParamSet* obj = NewL();
    38     CSubConQosR99ParamSet* obj = NewL();
    38     CleanupStack::PushL(obj);
    39     CleanupStack::PushL(obj);
    40     CleanupStack::Pop(obj);
    41     CleanupStack::Pop(obj);
    41     return obj;
    42     return obj;
    42     }
    43     }
    43 
    44 
    44 /**
    45 /**
    45 @return     pointer to the created object
    46 @param      aFamily the parameter family to which the newly created object is to be added
       
    47 @param      aType The type of the set from TParameterSetType (ERequested, EAcceptable or EGranted)
       
    48 @return     pointer to the created object
       
    49 @publishedAll
       
    50 @released Since 9.3
       
    51 */
       
    52 CSubConQosR99ParamSet* CSubConQosR99ParamSet::NewL(RParameterFamily& aFamily, RParameterFamily::TParameterSetType aType)
       
    53     {
       
    54     CSubConQosR99ParamSet* obj = NewL();
       
    55     CleanupStack::PushL(obj);
       
    56     aFamily.AddParameterSetL(obj, aType);
       
    57     CleanupStack::Pop(obj);
       
    58     return obj;
       
    59     }
       
    60 
       
    61 /**
       
    62 @return     pointer to the created object
       
    63 @publishedAll
       
    64 @released Since 9.3
    46 */
    65 */
    47 CSubConQosR99ParamSet* CSubConQosR99ParamSet::NewL()
    66 CSubConQosR99ParamSet* CSubConQosR99ParamSet::NewL()
    48     {
    67     {
    49     STypeId typeId(KSubCon3GPPExtParamsFactoryUid, KSubConQosR99ParamsType);
    68     STypeId typeId = STypeId::CreateSTypeId(KSubCon3GPPExtParamsFactoryUid, KSubConQosR99ParamsType);
    50     return static_cast<CSubConQosR99ParamSet*>(CSubConParameterSet::NewL(typeId));
    69     return static_cast<CSubConQosR99ParamSet*>(CSubConParameterSet::NewL(typeId));
    51     }
    70     }
    52 
    71 
    53 /**
    72 /**
       
    73 @publishedAll
       
    74 @released Since 9.3
    54 */
    75 */
    55 CSubConQosR99ParamSet::CSubConQosR99ParamSet()
    76 CSubConQosR99ParamSet::CSubConQosR99ParamSet()
    56     : CSubConExtensionParameterSet(),
    77     : CSubConExtensionParameterSet(),
    57     iTrafficClass(RPacketQoS::ETrafficClassUnspecified),
    78     iTrafficClass(RPacketQoS::ETrafficClassUnspecified),
    58     iDeliveryOrder(RPacketQoS::EDeliveryOrderUnspecified),
    79     iDeliveryOrder(RPacketQoS::EDeliveryOrderUnspecified),
    69     {
    90     {
    70     }
    91     }
    71 
    92 
    72 /** Identifies the current traffic class. Traffic class is; Converstional, Streaming, Interactive or Background.
    93 /** Identifies the current traffic class. Traffic class is; Converstional, Streaming, Interactive or Background.
    73 See 3GPP TS 23.107.
    94 See 3GPP TS 23.107.
    74 @return the traffic class */
    95 @return the traffic class
       
    96 @publishedAll
       
    97 @released Since 9.3
       
    98 */
    75 RPacketQoS::TTrafficClass CSubConQosR99ParamSet::GetTrafficClass() const
    99 RPacketQoS::TTrafficClass CSubConQosR99ParamSet::GetTrafficClass() const
    76     {
   100     {
    77     return iTrafficClass;
   101     return iTrafficClass;
    78     }
   102     }
    79 
   103 
    80 /** Current delivery order. Indicates whether the bearer shall provide in-sequence SDU delivery or not.
   104 /** Current delivery order. Indicates whether the bearer shall provide in-sequence SDU delivery or not.
    81 @return Current delivery order. */
   105 @return Current delivery order. 
       
   106 @publishedAll
       
   107 @released Since 9.3
       
   108 */
    82 RPacketQoS::TDeliveryOrder CSubConQosR99ParamSet::GetDeliveryOrder() const
   109 RPacketQoS::TDeliveryOrder CSubConQosR99ParamSet::GetDeliveryOrder() const
    83     {
   110     {
    84     return iDeliveryOrder;
   111     return iDeliveryOrder;
    85     }
   112     }
    86 
   113 
    87 /** Current delivery of erroneous SDUs. Indicates whether SDUs detected as erroneous shall be delivered or discarded.
   114 /** Current delivery of erroneous SDUs. Indicates whether SDUs detected as erroneous shall be delivered or discarded.
    88 @return Current delivery of erroneous SDUs. */
   115 @return Current delivery of erroneous SDUs. 
       
   116 @publishedAll
       
   117 @released Since 9.3
       
   118 */
    89 RPacketQoS::TErroneousSDUDelivery CSubConQosR99ParamSet::GetErroneousSDUDelivery() const
   119 RPacketQoS::TErroneousSDUDelivery CSubConQosR99ParamSet::GetErroneousSDUDelivery() const
    90     {
   120     {
    91     return iDeliveryOfErroneusSdu;
   121     return iDeliveryOfErroneusSdu;
    92     }
   122     }
    93 
   123 
    94 /** Indicates the undetected bit error ratio in the delivered SDUs. If no error detection is
   124 /** Indicates the undetected bit error ratio in the delivered SDUs. If no error detection is
    95 requested, Residual bit error ratio indicates the bit error ratio in
   125 requested, Residual bit error ratio indicates the bit error ratio in
    96 the delivered SDUs.
   126 the delivered SDUs.
    97 @return the residual bit error ratio. */
   127 @return the residual bit error ratio. 
       
   128 @publishedAll
       
   129 @released Since 9.3
       
   130 */
    98 RPacketQoS::TBitErrorRatio CSubConQosR99ParamSet::GetResidualBitErrorRatio() const
   131 RPacketQoS::TBitErrorRatio CSubConQosR99ParamSet::GetResidualBitErrorRatio() const
    99     {
   132     {
   100     return iResidualBer;
   133     return iResidualBer;
   101     }
   134     }
   102 
   135 
   103 /** Indicates the fraction of SDUs lost or detected as erroneous.
   136 /** Indicates the fraction of SDUs lost or detected as erroneous.
   104 @return the SDU error ratio.  */
   137 @return the SDU error ratio.  
       
   138 @publishedAll
       
   139 @released Since 9.3
       
   140 */
   105 RPacketQoS::TSDUErrorRatio CSubConQosR99ParamSet::GetSDUErrorRatio() const
   141 RPacketQoS::TSDUErrorRatio CSubConQosR99ParamSet::GetSDUErrorRatio() const
   106     {
   142     {
   107     return iErrorRatio;
   143     return iErrorRatio;
   108     }
   144     }
   109 
   145 
   110 /** Current traffic handling priority. Specifies the relative importance for handling of all SDUs
   146 /** Current traffic handling priority. Specifies the relative importance for handling of all SDUs
   111 belonging to the UMTS bearer compared to the SDUs of other bearers. This is defined only for
   147 belonging to the UMTS bearer compared to the SDUs of other bearers. This is defined only for
   112 Interactive traffic class. See 3GPP TS 23.107
   148 Interactive traffic class. See 3GPP TS 23.107
   113 @return the traffic handling priority. */
   149 @return the traffic handling priority. 
       
   150 @publishedAll
       
   151 @released Since 9.3
       
   152 */
   114 RPacketQoS::TTrafficHandlingPriority CSubConQosR99ParamSet::GetTrafficHandlingPriority() const
   153 RPacketQoS::TTrafficHandlingPriority CSubConQosR99ParamSet::GetTrafficHandlingPriority() const
   115     {
   154     {
   116     return iPriority;
   155     return iPriority;
   117     }
   156     }
   118 
   157 
   119 /** @return the transfer delay. Indicates maximum delay for 95th percentile of the distribution
   158 /** @return the transfer delay. Indicates maximum delay for 95th percentile of the distribution
   120 of delay for all delivered SDUs during the lifetime of a bearer service, where delay for an SDU
   159 of delay for all delivered SDUs during the lifetime of a bearer service, where delay for an SDU
   121 is defined as the time from a request to transfer an SDU at one SAP to its delivery at the other
   160 is defined as the time from a request to transfer an SDU at one SAP to its delivery at the other
   122 SAP. */
   161 SAP. 
       
   162 @publishedAll
       
   163 @released Since 9.3
       
   164 */
   123 TInt CSubConQosR99ParamSet::GetTransferDelay() const
   165 TInt CSubConQosR99ParamSet::GetTransferDelay() const
   124     {
   166     {
   125     return iTransferDelay;
   167     return iTransferDelay;
   126     }
   168     }
   127 
   169 
   128 /** @return the maximum SDU size. */
   170 /** @return the maximum SDU size. 
       
   171 @publishedAll
       
   172 @released Since 9.3
       
   173 */
   129 TInt CSubConQosR99ParamSet::GetMaxSduSize() const
   174 TInt CSubConQosR99ParamSet::GetMaxSduSize() const
   130     {
   175     {
   131     return iMaxSduSize;
   176     return iMaxSduSize;
   132     }
   177     }
   133 
   178 
   134 /** @return Current maximum bitrate for uplink direction. The traffic is conformant with Maximum
   179 /** @return Current maximum bitrate for uplink direction. The traffic is conformant with Maximum
   135 bitrate as long as it follows a token bucket algorithm where token rate equals Maximum bitrate
   180 bitrate as long as it follows a token bucket algorithm where token rate equals Maximum bitrate
   136 and bucket size equals Maximum SDU size.
   181 and bucket size equals Maximum SDU size.
       
   182 @publishedAll
       
   183 @released Since 9.3
   137 */
   184 */
   138 TInt CSubConQosR99ParamSet::GetMaxBitrateUplink() const
   185 TInt CSubConQosR99ParamSet::GetMaxBitrateUplink() const
   139     {
   186     {
   140     return iMaxBitrateUplink;
   187     return iMaxBitrateUplink;
   141     }
   188     }
   142 
   189 
   143 /** Getter function for the maximum downlink bit rate.
   190 /** Getter function for the maximum downlink bit rate.
   144 @return the maximum downlink bit rate. */
   191 @return the maximum downlink bit rate. 
       
   192 @publishedAll
       
   193 @released Since 9.3
       
   194 */
   145 TInt CSubConQosR99ParamSet::GetMaxBitrateDownlink() const
   195 TInt CSubConQosR99ParamSet::GetMaxBitrateDownlink() const
   146     {
   196     {
   147     return iMaxBitrateDownlink;
   197     return iMaxBitrateDownlink;
   148     }
   198     }
   149 
   199 
   150 /** Getter function for the guaranteed uplink bit rate.
   200 /** Getter function for the guaranteed uplink bit rate.
   151 @return the guaranteed uplink bit rate. */
   201 @return the guaranteed uplink bit rate. 
       
   202 @publishedAll
       
   203 @released Since 9.3
       
   204 */
   152 TInt CSubConQosR99ParamSet::GetGuaBitrateUplink() const
   205 TInt CSubConQosR99ParamSet::GetGuaBitrateUplink() const
   153     {
   206     {
   154     return iGuaBitrateUplink;
   207     return iGuaBitrateUplink;
   155     }
   208     }
   156 
   209 
   157 /** Getter function for the guaranteed downlink bit rate.
   210 /** Getter function for the guaranteed downlink bit rate.
   158 @return the guaranteed downlink bit rate. */
   211 @return the guaranteed downlink bit rate. 
       
   212 @publishedAll
       
   213 @released Since 9.3
       
   214 */
   159 TInt CSubConQosR99ParamSet::GetGuaBitrateDownlink() const
   215 TInt CSubConQosR99ParamSet::GetGuaBitrateDownlink() const
   160     {
   216     {
   161     return iGuaBitrateDownlink;
   217     return iGuaBitrateDownlink;
   162     }
   218     }
   163 
   219 
   164 /** Sets the traffic class.
   220 /** Sets the traffic class.
   165 @param aTrafficClass Value to which to set the traffic class. */
   221 @param aTrafficClass Value to which to set the traffic class. 
       
   222 @publishedAll
       
   223 @released Since 9.3
       
   224 */
   166 void CSubConQosR99ParamSet::SetTrafficClass(RPacketQoS::TTrafficClass aTrafficClass)
   225 void CSubConQosR99ParamSet::SetTrafficClass(RPacketQoS::TTrafficClass aTrafficClass)
   167     {
   226     {
   168     iTrafficClass = aTrafficClass;
   227     iTrafficClass = aTrafficClass;
   169     }
   228     }
   170 
   229 
   171 /** Sets the delivery order. Indicates whether in-sequence SDU delivery shall be provided or not.
   230 /** Sets the delivery order. Indicates whether in-sequence SDU delivery shall be provided or not.
   172 @param aDeliveryOrder Value to which to set the delivery order. */
   231 @param aDeliveryOrder Value to which to set the delivery order. 
       
   232 @publishedAll
       
   233 @released Since 9.3
       
   234 */
   173 void CSubConQosR99ParamSet::SetDeliveryOrder(RPacketQoS::TDeliveryOrder aDeliveryOrder)
   235 void CSubConQosR99ParamSet::SetDeliveryOrder(RPacketQoS::TDeliveryOrder aDeliveryOrder)
   174     {
   236     {
   175     iDeliveryOrder = aDeliveryOrder;
   237     iDeliveryOrder = aDeliveryOrder;
   176     }
   238     }
   177 
   239 
   178 /** Sets the handling of the delivery of erroneous SDUs
   240 /** Sets the handling of the delivery of erroneous SDUs
   179 @param aDeliveryOfErroneusSdu Value to which to set the dilvery of erroneous SDUs.
   241 @param aDeliveryOfErroneusSdu Value to which to set the dilvery of erroneous SDUs.
   180 Indicates whether SUDs detected as erroneous shall be delivered or discarded. */
   242 Indicates whether SUDs detected as erroneous shall be delivered or discarded. 
       
   243 @publishedAll
       
   244 @released Since 9.3
       
   245 */
   181 void CSubConQosR99ParamSet::SetErroneousSDUDelivery(RPacketQoS::TErroneousSDUDelivery aDeliveryOfErroneusSdu)
   246 void CSubConQosR99ParamSet::SetErroneousSDUDelivery(RPacketQoS::TErroneousSDUDelivery aDeliveryOfErroneusSdu)
   182     {
   247     {
   183     iDeliveryOfErroneusSdu = aDeliveryOfErroneusSdu;
   248     iDeliveryOfErroneusSdu = aDeliveryOfErroneusSdu;
   184     }
   249     }
   185 
   250 
   186 /** Sets the residual bit error ratio. Indicates the undetected bit error ratio in the delivered SDUs.
   251 /** Sets the residual bit error ratio. Indicates the undetected bit error ratio in the delivered SDUs.
   187 If no error detection is requested, Residual bit error ratio indicates the bit error ratio in the delivered SDUs.
   252 If no error detection is requested, Residual bit error ratio indicates the bit error ratio in the delivered SDUs.
   188 @param aResidualBer Value to which to set the residual bit error ratio. */
   253 @param aResidualBer Value to which to set the residual bit error ratio. 
       
   254 @publishedAll
       
   255 @released Since 9.3
       
   256 */
   189 void CSubConQosR99ParamSet::SetResidualBitErrorRatio(RPacketQoS::TBitErrorRatio aResidualBer)
   257 void CSubConQosR99ParamSet::SetResidualBitErrorRatio(RPacketQoS::TBitErrorRatio aResidualBer)
   190     {
   258     {
   191     iResidualBer = aResidualBer;
   259     iResidualBer = aResidualBer;
   192     }
   260     }
   193 
   261 
   194 /** Sets the error ratio. Indicates the fraction of SDUs lost or detected as erroneous.
   262 /** Sets the error ratio. Indicates the fraction of SDUs lost or detected as erroneous.
   195 SDU error ratio is defined only for conforming traffic.
   263 SDU error ratio is defined only for conforming traffic.
   196 @param aErrorRatio Sets the error ratio. Indicates the fraction of SDUs lost or detected as erroneous.
   264 @param aErrorRatio Sets the error ratio. Indicates the fraction of SDUs lost or detected as erroneous.
   197 SDU error ratio is defined only for conforming traffic. */
   265 SDU error ratio is defined only for conforming traffic. 
       
   266 @publishedAll
       
   267 @released Since 9.3
       
   268 */
   198 void CSubConQosR99ParamSet::SetSDUErrorRatio(RPacketQoS::TSDUErrorRatio aErrorRatio)
   269 void CSubConQosR99ParamSet::SetSDUErrorRatio(RPacketQoS::TSDUErrorRatio aErrorRatio)
   199     {
   270     {
   200     iErrorRatio = aErrorRatio;
   271     iErrorRatio = aErrorRatio;
   201     }
   272     }
   202 
   273 
   203 /** Sets the traffic handling priority.
   274 /** Sets the traffic handling priority.
   204 @param aPriority Value to which to set the traffic handling priority. */
   275 @param aPriority Value to which to set the traffic handling priority. 
       
   276 @publishedAll
       
   277 @released Since 9.3
       
   278 */
   205 void CSubConQosR99ParamSet::SetTrafficHandlingPriority(RPacketQoS::TTrafficHandlingPriority aPriority)
   279 void CSubConQosR99ParamSet::SetTrafficHandlingPriority(RPacketQoS::TTrafficHandlingPriority aPriority)
   206     {
   280     {
   207     iPriority = aPriority;
   281     iPriority = aPriority;
   208     }
   282     }
   209 
   283 
   210 /** Sets the transfer delay. Indicates maximum delay for 95th percentile of the distribution of delay for
   284 /** Sets the transfer delay. Indicates maximum delay for 95th percentile of the distribution of delay for
   211 all delivered SDUs during the lifetime of a bearer service, where delay for an SDU is defined as the time
   285 all delivered SDUs during the lifetime of a bearer service, where delay for an SDU is defined as the time
   212 from a request to transfer an SDU at one SAP to its delivery at the other SAP.
   286 from a request to transfer an SDU at one SAP to its delivery at the other SAP.
   213 @param aTransferDelay Value to which to set the transfer delay. */
   287 @param aTransferDelay Value to which to set the transfer delay. 
       
   288 @publishedAll
       
   289 @released Since 9.3
       
   290 */
   214 void CSubConQosR99ParamSet::SetTransferDelay(TInt aTransferDelay)
   291 void CSubConQosR99ParamSet::SetTransferDelay(TInt aTransferDelay)
   215     {
   292     {
   216     iTransferDelay = aTransferDelay;
   293     iTransferDelay = aTransferDelay;
   217     }
   294     }
   218 
   295 
   219 /** Sets the maximum SDU size. Defines the maximum allowed SDU size.
   296 /** Sets the maximum SDU size. Defines the maximum allowed SDU size.
   220 @param aMaxSduSize Value to which to set the maximum SDU size. */
   297 @param aMaxSduSize Value to which to set the maximum SDU size. 
       
   298 @publishedAll
       
   299 @released Since 9.3
       
   300 */
   221 void CSubConQosR99ParamSet::SetMaxSduSize(TInt aMaxSduSize)
   301 void CSubConQosR99ParamSet::SetMaxSduSize(TInt aMaxSduSize)
   222     {
   302     {
   223     iMaxSduSize = aMaxSduSize;
   303     iMaxSduSize = aMaxSduSize;
   224     }
   304     }
   225 
   305 
   226 /** Sets the maximum bitrate for uplink direction. The traffic is conformant with Maximum bitrate as
   306 /** Sets the maximum bitrate for uplink direction. The traffic is conformant with Maximum bitrate as
   227 long as it follows a token bucket algorithm where token rate equals Maximum bitrate and bucket size
   307 long as it follows a token bucket algorithm where token rate equals Maximum bitrate and bucket size
   228 equals Maximum SDU size.
   308 equals Maximum SDU size.
   229 @param aMaxBitrate Value to which to set the maximum bitrate for uplink direction.
   309 @param aMaxBitrate Value to which to set the maximum bitrate for uplink direction.
       
   310 @publishedAll
       
   311 @released Since 9.3
   230 */
   312 */
   231 void CSubConQosR99ParamSet::SetMaxBitrateUplink(TInt aMaxBitrateUplink)
   313 void CSubConQosR99ParamSet::SetMaxBitrateUplink(TInt aMaxBitrateUplink)
   232     {
   314     {
   233     iMaxBitrateUplink = aMaxBitrateUplink;
   315     iMaxBitrateUplink = aMaxBitrateUplink;
   234     }
   316     }
   235 
   317 
   236 /** Sets the maximum bitrate for downlink direction. The traffic is conformant with Maximum bitrate as
   318 /** Sets the maximum bitrate for downlink direction. The traffic is conformant with Maximum bitrate as
   237 long as it follows a token bucket algorithm where token rate equals Maximum bitrate and bucket size
   319 long as it follows a token bucket algorithm where token rate equals Maximum bitrate and bucket size
   238 equals Maximum SDU size.
   320 equals Maximum SDU size.
   239 @param aMaxBitrate Value to which to set the maximum bitrate for downlink direction.
   321 @param aMaxBitrate Value to which to set the maximum bitrate for downlink direction.
       
   322 @publishedAll
       
   323 @released Since 9.3
   240 */
   324 */
   241 void CSubConQosR99ParamSet::SetMaxBitrateDownlink(TInt aMaxBitrateDownlink)
   325 void CSubConQosR99ParamSet::SetMaxBitrateDownlink(TInt aMaxBitrateDownlink)
   242     {
   326     {
   243     iMaxBitrateDownlink = aMaxBitrateDownlink;
   327     iMaxBitrateDownlink = aMaxBitrateDownlink;
   244     }
   328     }
   245 
   329 
   246 /** Sets the guaranteed bitrate for uplink direction.
   330 /** Sets the guaranteed bitrate for uplink direction.
   247 @param aGuaBitrateUplink Value to which to set the guaranteed SDU size.
   331 @param aGuaBitrateUplink Value to which to set the guaranteed SDU size.
       
   332 @publishedAll
       
   333 @released Since 9.3
   248 */
   334 */
   249 void CSubConQosR99ParamSet::SetGuaBitrateUplink(TInt aGuaBitrateUplink)
   335 void CSubConQosR99ParamSet::SetGuaBitrateUplink(TInt aGuaBitrateUplink)
   250     {
   336     {
   251     iGuaBitrateUplink = aGuaBitrateUplink;
   337     iGuaBitrateUplink = aGuaBitrateUplink;
   252     }
   338     }
   253 
   339 
   254 /** Sets the guaranteed bitrate for downlink direction.
   340 /** Sets the guaranteed bitrate for downlink direction.
   255 @param aGuaBitrateDownlink Value to which to set the guaranteed SDU size.
   341 @param aGuaBitrateDownlink Value to which to set the guaranteed SDU size.
       
   342 @publishedAll
       
   343 @released Since 9.3
   256 */
   344 */
   257 void CSubConQosR99ParamSet::SetGuaBitrateDownlink(TInt aGuaBitrateDownlink)
   345 void CSubConQosR99ParamSet::SetGuaBitrateDownlink(TInt aGuaBitrateDownlink)
   258     {
   346     {
   259     iGuaBitrateDownlink = aGuaBitrateDownlink;
   347     iGuaBitrateDownlink = aGuaBitrateDownlink;
   260     }
   348     }
   261 
   349 
   262 
   350 
   263 #ifdef SYMBIAN_NETWORKING_UMTSR5
   351 #ifdef SYMBIAN_NETWORKING_UMTSR5
   264 /**
   352 /**
   265 @param aFamily the sub-connection parameter set family to which the newly created object it to be added.
   353 @param aFamily the sub-connection parameter family to which the newly created object is to be added
   266 @param aType The type of the set from TParameterSetType (ERequested, EAcceptable or EGranted)
   354 @param aType The type of the set from TParameterSetType (ERequested, EAcceptable or EGranted)
   267 @return pointer to the created object
   355 @return pointer to the created object
   268 */
   356 */
   269 CSubConImsExtParamSet* CSubConImsExtParamSet::NewL(CSubConParameterFamily& aFamily, CSubConParameterFamily::TParameterSetType aType)
   357 CSubConImsExtParamSet* CSubConImsExtParamSet::NewL(CSubConParameterFamily& aFamily, CSubConParameterFamily::TParameterSetType aType)
   270     {
   358     {
   274     CleanupStack::Pop(obj);
   362     CleanupStack::Pop(obj);
   275     return obj;
   363     return obj;
   276     }
   364     }
   277 
   365 
   278 /**
   366 /**
       
   367 @param      aFamily the parameter family to which the newly created object is to be added
       
   368 @param      aType The type of the set from TParameterSetType (ERequested, EAcceptable or EGranted)
       
   369 @return     pointer to the created object
       
   370 */
       
   371 CSubConImsExtParamSet* CSubConImsExtParamSet::NewL(RParameterFamily& aFamily, RParameterFamily::TParameterSetType aType)
       
   372     {
       
   373     CSubConImsExtParamSet* obj = NewL();
       
   374     CleanupStack::PushL(obj);
       
   375     aFamily.AddParameterSetL(obj, aType);
       
   376     CleanupStack::Pop(obj);
       
   377     return obj;
       
   378     }
       
   379 
       
   380 /**
   279 @return pointer to the created object
   381 @return pointer to the created object
   280 */
   382 */
   281 CSubConImsExtParamSet* CSubConImsExtParamSet::NewL()
   383 CSubConImsExtParamSet* CSubConImsExtParamSet::NewL()
   282     {
   384     {
   283     STypeId typeId(KSubCon3GPPExtParamsFactoryUid, KSubConImsExtParamsType);
   385     STypeId typeId = STypeId::CreateSTypeId(KSubCon3GPPExtParamsFactoryUid, KSubConImsExtParamsType);
   284     return static_cast<CSubConImsExtParamSet*>(CSubConParameterSet::NewL(typeId));
   386     return static_cast<CSubConImsExtParamSet*>(CSubConParameterSet::NewL(typeId));
   285     }
   387     }
   286 
   388 
   287 CSubConImsExtParamSet::CSubConImsExtParamSet()
   389 CSubConImsExtParamSet::CSubConImsExtParamSet()
   288     : iImsSignallingIndicator(EFalse)
   390     : iImsSignallingIndicator(EFalse)
   302     {
   404     {
   303     iImsSignallingIndicator = aImsSignallingIndicator;
   405     iImsSignallingIndicator = aImsSignallingIndicator;
   304     }
   406     }
   305 
   407 
   306 /**
   408 /**
   307 @param      aFamily the sub-connection parameter to which the newly created object is to be added
   409 @param      aFamily the sub-connection parameter family to which the newly created object is to be added
   308 @param      aType The type of the set from TParameterSetType (ERequested, EAcceptable or EGranted)
   410 @param      aType The type of the set from TParameterSetType (ERequested, EAcceptable or EGranted)
   309 @return     pointer to the created object
   411 @return     pointer to the created object
   310 */
   412 */
   311 CSubConQosR5ParamSet* CSubConQosR5ParamSet::NewL(CSubConParameterFamily& aFamily,CSubConParameterFamily::TParameterSetType aType)
   413 CSubConQosR5ParamSet* CSubConQosR5ParamSet::NewL(CSubConParameterFamily& aFamily,CSubConParameterFamily::TParameterSetType aType)
   312     {
   414     {
   316     CleanupStack::Pop(obj);
   418     CleanupStack::Pop(obj);
   317     return obj;
   419     return obj;
   318     }
   420     }
   319 
   421 
   320 /**
   422 /**
       
   423 @param      aFamily the parameter family to which the newly created object is to be added
       
   424 @param      aType The type of the set from TParameterSetType (ERequested, EAcceptable or EGranted)
       
   425 @return     pointer to the created object
       
   426 */
       
   427 CSubConQosR5ParamSet* CSubConQosR5ParamSet::NewL(RParameterFamily& aFamily, RParameterFamily::TParameterSetType aType)
       
   428     {
       
   429     CSubConQosR5ParamSet* obj = NewL();
       
   430     CleanupStack::PushL(obj);
       
   431     aFamily.AddParameterSetL(obj, aType);
       
   432     CleanupStack::Pop(obj);
       
   433     return obj;
       
   434     }
       
   435 
       
   436 /**
   321 @return     pointer to the created object
   437 @return     pointer to the created object
   322 */
   438 */
   323 CSubConQosR5ParamSet* CSubConQosR5ParamSet::NewL()
   439 CSubConQosR5ParamSet* CSubConQosR5ParamSet::NewL()
   324     {
   440     {
   325     STypeId typeId(KSubCon3GPPExtParamsFactoryUid, KSubConQosR5ParamsType);
   441     STypeId typeId = STypeId::CreateSTypeId(KSubCon3GPPExtParamsFactoryUid, KSubConQosR5ParamsType);
   326     return static_cast<CSubConQosR5ParamSet*>(CSubConParameterSet::NewL(typeId));
   442     return static_cast<CSubConQosR5ParamSet*>(CSubConParameterSet::NewL(typeId));
   327     }
   443     }
   328 
   444 
   329 /**
   445 /**
   330 */
   446 */
   373 #endif
   489 #endif
   374 // SYMBIAN_NETWORKING_UMTSR5
   490 // SYMBIAN_NETWORKING_UMTSR5
   375 
   491 
   376 /** the Media Component number as specified in 3GPP TS 29.207
   492 /** the Media Component number as specified in 3GPP TS 29.207
   377 @return the media component number portion of the flow identifier
   493 @return the media component number portion of the flow identifier
       
   494 @publishedAll
       
   495 @released Since 9.3
   378 */
   496 */
   379 TUint16 TFlowId::GetMediaComponentNumber() const
   497 TUint16 TFlowId::GetMediaComponentNumber() const
   380     {
   498     {
   381     return iMediaComponentNumber;
   499     return iMediaComponentNumber;
   382     }
   500     }
   383 
   501 
   384 /** the IP flow number as specified in 3GPP TS 29.207
   502 /** the IP flow number as specified in 3GPP TS 29.207
   385 @return the IP flow portion of the flow identifier
   503 @return the IP flow portion of the flow identifier
       
   504 @publishedAll
       
   505 @released Since 9.3
   386 */
   506 */
   387 TUint16 TFlowId::GetIPFlowNumber() const
   507 TUint16 TFlowId::GetIPFlowNumber() const
   388     {
   508     {
   389     return iIPFlowNumber;
   509     return iIPFlowNumber;
   390     }
   510     }
   391 
   511 
   392 /** Sets the media component number portion of the flow identifier. The Media Component number is specified in 3GPP TS 29.207
   512 /** Sets the media component number portion of the flow identifier. The Media Component number is specified in 3GPP TS 29.207
   393 @param aMediaComponentNumber the media component portion of the flow identifier
   513 @param aMediaComponentNumber the media component portion of the flow identifier
       
   514 @publishedAll
       
   515 @released Since 9.3
   394 */
   516 */
   395 void TFlowId::SetMediaComponentNumber(TUint16 aMediaComponentNumber)
   517 void TFlowId::SetMediaComponentNumber(TUint16 aMediaComponentNumber)
   396     {
   518     {
   397     iMediaComponentNumber = aMediaComponentNumber;
   519     iMediaComponentNumber = aMediaComponentNumber;
   398     }
   520     }
   399 
   521 
   400 /**
   522 /**
   401 @param the IP flow portion of the flow identifier.
   523 @param the IP flow portion of the flow identifier.
       
   524 @publishedAll
       
   525 @released Since 9.3
   402 */
   526 */
   403 void TFlowId::SetIPFlowNumber(TUint16 aIPFlowNumber)
   527 void TFlowId::SetIPFlowNumber(TUint16 aIPFlowNumber)
   404     {
   528     {
   405     iIPFlowNumber = aIPFlowNumber;
   529     iIPFlowNumber = aIPFlowNumber;
   406     }
   530     }
   407 
   531 
   408 
   532 
   409 //===========================
   533 //===========================
   410 // Implementation Extension class
   534 // Implementation Extension class
       
   535 /**
       
   536 @publishedAll
       
   537 @released Since 9.3
       
   538 */
   411 CSubConSBLPR5ExtensionParamSet::CSubConSBLPR5ExtensionParamSet()
   539 CSubConSBLPR5ExtensionParamSet::CSubConSBLPR5ExtensionParamSet()
   412     : CSubConExtensionParameterSet()
   540     : CSubConExtensionParameterSet()
   413     {
   541     {
   414     }
   542     }
   415 
   543 
       
   544 /**
       
   545 @publishedAll
       
   546 @released Since 9.3
       
   547 */
   416 CSubConSBLPR5ExtensionParamSet::~CSubConSBLPR5ExtensionParamSet()
   548 CSubConSBLPR5ExtensionParamSet::~CSubConSBLPR5ExtensionParamSet()
   417     {
   549     {
   418     iFlowIds.Close();
   550     iFlowIds.Close();
   419     }
   551     }
   420 
   552 
   421 /**
   553 /**
   422 @param      aFamily the sub-connection parameter set family that this extension parameter set will be added to.
   554 @param      aFamily the sub-connection parameter family to which the newly created object is to be added
   423 @param      aType The type of the set from TParameterSetType (ERequested, EAcceptable or EGranted)
   555 @param      aType The type of the set from TParameterSetType (ERequested, EAcceptable or EGranted)
   424 @return     pointer to the created object
   556 @return     pointer to the created object
       
   557 @publishedAll
       
   558 @released Since 9.3
   425 */
   559 */
   426 CSubConSBLPR5ExtensionParamSet* CSubConSBLPR5ExtensionParamSet::NewL(CSubConParameterFamily& aFamily, CSubConParameterFamily::TParameterSetType aType)
   560 CSubConSBLPR5ExtensionParamSet* CSubConSBLPR5ExtensionParamSet::NewL(CSubConParameterFamily& aFamily, CSubConParameterFamily::TParameterSetType aType)
   427     {
   561     {
   428     CSubConSBLPR5ExtensionParamSet* sblpExtn = NewL();
   562     CSubConSBLPR5ExtensionParamSet* sblpExtn = NewL();
   429     CleanupStack::PushL(sblpExtn);
   563     CleanupStack::PushL(sblpExtn);
   431     CleanupStack::Pop(sblpExtn);
   565     CleanupStack::Pop(sblpExtn);
   432     return sblpExtn;
   566     return sblpExtn;
   433     }
   567     }
   434 
   568 
   435 /**
   569 /**
   436 @return     pointer to the created object
   570 @param      aFamily the parameter family to which the newly created object is to be added
       
   571 @param      aType The type of the set from TParameterSetType (ERequested, EAcceptable or EGranted)
       
   572 @return     pointer to the created object
       
   573 @publishedAll
       
   574 @released Since 9.3
       
   575 */
       
   576 CSubConSBLPR5ExtensionParamSet* CSubConSBLPR5ExtensionParamSet::NewL(RParameterFamily& aFamily, RParameterFamily::TParameterSetType aType)
       
   577     {
       
   578     CSubConSBLPR5ExtensionParamSet* obj = NewL();
       
   579     CleanupStack::PushL(obj);
       
   580     aFamily.AddParameterSetL(obj, aType);
       
   581     CleanupStack::Pop(obj);
       
   582     return obj;
       
   583     }
       
   584 
       
   585 /**
       
   586 @return     pointer to the created object
       
   587 @publishedAll
       
   588 @released Since 9.3
   437 */
   589 */
   438 CSubConSBLPR5ExtensionParamSet* CSubConSBLPR5ExtensionParamSet::NewL()
   590 CSubConSBLPR5ExtensionParamSet* CSubConSBLPR5ExtensionParamSet::NewL()
   439     {
   591     {
   440     STypeId typeId (KSubCon3GPPExtParamsFactoryUid, KSubConnSBLPR5ExtensionParamsType);
   592     STypeId typeId = STypeId::CreateSTypeId(KSubCon3GPPExtParamsFactoryUid, KSubConnSBLPR5ExtensionParamsType);
   441     return static_cast<CSubConSBLPR5ExtensionParamSet*>(CSubConParameterSet::NewL(typeId));
   593     return static_cast<CSubConSBLPR5ExtensionParamSet*>(CSubConParameterSet::NewL(typeId));
   442     }
   594     }
   443 
   595 
   444 /**
   596 /**
   445 @return     the media authorisation token
   597 @return     the media authorisation token
       
   598 @publishedAll
       
   599 @released Since 9.3
   446 */
   600 */
   447 const TAuthToken& CSubConSBLPR5ExtensionParamSet::GetMAT() const
   601 const TAuthToken& CSubConSBLPR5ExtensionParamSet::GetMAT() const
   448     {
   602     {
   449     return iAuthToken;
   603     return iAuthToken;
   450     }
   604     }
   451 
   605 
   452 /**
   606 /**
   453 @param      aAuthToken sets the media authorisation token
   607 @param      aAuthToken sets the media authorisation token
       
   608 @publishedAll
       
   609 @released Since 9.3
   454 */
   610 */
   455 void CSubConSBLPR5ExtensionParamSet::SetMAT(const TAuthToken& aAuthToken)
   611 void CSubConSBLPR5ExtensionParamSet::SetMAT(const TAuthToken& aAuthToken)
   456     {
   612     {
   457     iAuthToken = aAuthToken;
   613     iAuthToken = aAuthToken;
   458     }
   614     }
   459 
   615 
   460 /**
   616 /**
   461 @return     the number of flow indexes in this session
   617 @return the number of flow indexes in this session
       
   618 @publishedAll
       
   619 @released Since 9.3
   462 */
   620 */
   463 TInt CSubConSBLPR5ExtensionParamSet::GetNumberOfFlowIds() const
   621 TInt CSubConSBLPR5ExtensionParamSet::GetNumberOfFlowIds() const
   464     {
   622     {
   465     return iFlowIds.Count();
   623     return iFlowIds.Count();
   466     }
   624     }
   467 
   625 
   468 /**
   626 /**
   469 @param      aIndex the index of the flow identifier that will be returned.
   627 @param      aIndex the index of the flow identifier that will be returned.
   470 @return     the flow identifier at the index given by aIndex.
   628 @return     the flow identifier at the index given by aIndex.
       
   629 @publishedAll
       
   630 @released Since 9.3
   471 */
   631 */
   472 const TFlowId& CSubConSBLPR5ExtensionParamSet::GetFlowIdAt(TInt aIndex) const
   632 const TFlowId& CSubConSBLPR5ExtensionParamSet::GetFlowIdAt(TInt aIndex) const
   473     {
   633     {
   474     return iFlowIds[aIndex];
   634     return iFlowIds[aIndex];
   475     }
   635     }
   476 
   636 
   477 /**         adds a flow identifier to this session.
   637 /**         adds a flow identifier to this session.
   478 @param      aFlowId the flow indentifier to be added.
   638 @param      aFlowId the flow indentifier to be added.
       
   639 @publishedAll
       
   640 @released Since 9.3
   479 */
   641 */
   480 void CSubConSBLPR5ExtensionParamSet::AddFlowIdL(const TFlowId & aFlowId)
   642 void CSubConSBLPR5ExtensionParamSet::AddFlowIdL(const TFlowId & aFlowId)
   481     {
   643     {
   482     iFlowIds.AppendL(aFlowId);
   644     iFlowIds.AppendL(aFlowId);
   483     }
   645     }
   484 
   646 
   485 #endif
   647 #endif
   486 // QOS3GPP_SUBCONPARAMS_INL
   648 // QOS3GPP_SUBCONPARAMS_INL
       
   649