Symbian3/PDK/Source/GUID-F7B1D8E7-69EF-54E1-97C7-E5957C8399E0.dita
author Dominic Pinkman <Dominic.Pinkman@Nokia.com>
Tue, 30 Mar 2010 16:16:55 +0100
changeset 6 43e37759235e
parent 5 f345bda72bc4
child 14 578be2adaf3e
permissions -rw-r--r--
Week 12 contribution of example code"

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. -->
<!-- This component and the accompanying materials are made available under the terms of the License 
"Eclipse Public License v1.0" which accompanies this distribution, 
and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
<!-- Initial Contributors:
    Nokia Corporation - initial contribution.
Contributors: 
-->
<!DOCTYPE concept
  PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
<concept id="GUID-F7B1D8E7-69EF-54E1-97C7-E5957C8399E0" xml:lang="en"><title>Modifying
the Transport Buffer Size Specifications for a Specified Bearer Type</title><shortdesc>This tutorial explains how to modify the transport buffer size
specifications for a specified bearer type. </shortdesc><prolog><metadata><keywords/></metadata></prolog><conbody>
<note> Before modifying the transport buffer size specifications for a specified
bearer type, see <xref href="GUID-24860917-0FE2-5C8F-B436-96928350996E.dita#GUID-24860917-0FE2-5C8F-B436-96928350996E/GUID-CC4028E7-ECD9-5045-9057-5BC687C3DF3A">Important
considerations</xref>. </note>
<section><title>Procedure</title> <ol id="GUID-562CDA9C-D697-59D5-9176-BBF704B5C91E">
<li id="GUID-43CCF53F-0682-56C2-A261-77D3CC1B6F14"><p>Create an instance of
the <xref href="GUID-A7EF08E6-82AF-3577-B942-ABD532EDB7FE.dita"><apiname>CEmailAccounts</apiname></xref> class. </p> </li>
<li id="GUID-0D216C37-049E-5303-8DE8-D6326B08A94F"><p>Create an instance of
the <xref href="GUID-1CB521CD-BD46-37BE-B2BB-4817DFF73D73.dita"><apiname>CImapTransportBufferSizes</apiname></xref> class. </p> </li>
<li id="GUID-B79AB772-8000-510E-8F72-DE92BD527B7F"><p>Use the <xref href="GUID-A7EF08E6-82AF-3577-B942-ABD532EDB7FE.dita#GUID-A7EF08E6-82AF-3577-B942-ABD532EDB7FE/GUID-DDE8EB19-CAB9-3AAB-9190-AB2673E53C86"><apiname>CEmailAccounts::LoadImapTransportBufferSizesL()</apiname></xref> function
to populate the <xref href="GUID-1CB521CD-BD46-37BE-B2BB-4817DFF73D73.dita"><apiname>CImapTransportBufferSizes</apiname></xref> class from the
data stored in the central repository (CenRep). </p> </li>
<li id="GUID-C46B529C-448C-57DE-97FD-AF412A51C64F"><p>Use the <xref href="GUID-1CB521CD-BD46-37BE-B2BB-4817DFF73D73.dita#GUID-1CB521CD-BD46-37BE-B2BB-4817DFF73D73/GUID-5AD33946-6418-3258-944D-4AD9FE6CDCD0"><apiname>CImapTransportBufferSizes::AddSizesL()</apiname></xref> function
to specify the max retrieve request size and the number of pipelined retrieve
operations to use. The bearer types for which these settings are to be used
is a bit field, and may specify multiple bearer types. This new setting will
replace the existing settings for the specified bearer types. </p> </li>
<li id="GUID-6F509083-8228-52B0-88D0-2C9D14286524"><p>Use the <xref href="GUID-A7EF08E6-82AF-3577-B942-ABD532EDB7FE.dita#GUID-A7EF08E6-82AF-3577-B942-ABD532EDB7FE/GUID-8C3D1DC0-5EB7-3630-85CB-BDB7AB1FE8DD"><apiname>CEmailAccounts::SaveImapTransportBufferSizesL()</apiname></xref> function
to store the updated <xref href="GUID-1CB521CD-BD46-37BE-B2BB-4817DFF73D73.dita"><apiname>CImapTransportBufferSizes</apiname></xref> setting
class to the CenRep. </p> </li>
</ol> </section>
<section><title>See also</title> <p> <xref href="GUID-24860917-0FE2-5C8F-B436-96928350996E.dita">Bearer
Mobility Overview</xref>  </p> </section>
</conbody></concept>