Symbian3/PDK/Source/GUID-5367CF33-86E3-5FA8-8416-403C83DE53BA.dita
author Dominic Pinkman <dominic.pinkman@nokia.com>
Fri, 13 Aug 2010 16:47:46 +0100
changeset 14 578be2adaf3e
parent 5 f345bda72bc4
permissions -rw-r--r--
Week 32 contribution of PDK documentation content. See release notes for details. Fixes bug Bug 3582

<?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 task
  PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd">
<task id="GUID-5367CF33-86E3-5FA8-8416-403C83DE53BA" xml:lang="en"><title>Traffic
Flow Template Tutorial</title><shortdesc>This tutorial describes how to use the traffic flow template functions
in a packet service sub-session. </shortdesc><prolog><metadata><keywords/></metadata></prolog><taskbody>
<steps id="GUID-F8E5D46E-1B95-5516-A588-2B1186B496D7">
<step id="GUID-A900982A-F04E-588F-805B-F27C51BD9074"><cmd/>
<info>Use <xref href="GUID-1CD9122E-B077-39FD-8CAE-45A6AF8F345F.dita#GUID-1CD9122E-B077-39FD-8CAE-45A6AF8F345F/GUID-6F189530-7561-389B-AEE0-5BD612658648"><apiname>RPacketContext::CreateNewTFT()</apiname></xref> to create a new
traffic flow template for a context. </info>
</step>
<step id="GUID-CF705FDE-9EC8-5952-AC24-43E13D51B982"><cmd/>
<info>Use <xref href="GUID-1CD9122E-B077-39FD-8CAE-45A6AF8F345F.dita#GUID-1CD9122E-B077-39FD-8CAE-45A6AF8F345F/GUID-495CEF32-4D10-394F-BF80-9EA597A70544"><apiname>RPacketContext::EnumeratePacketFilters()</apiname></xref> to get
the number of packet filters defined for the context. </info>
</step>
<step id="GUID-15158D4F-A291-5232-B8A1-FBA67D2DDE92"><cmd/>
<info>Use <xref href="GUID-1CD9122E-B077-39FD-8CAE-45A6AF8F345F.dita#GUID-1CD9122E-B077-39FD-8CAE-45A6AF8F345F/GUID-279FD250-7896-3D41-A154-19E87E87741D"><apiname>RPacketContext::GetPacketFilterInfo()</apiname></xref> to retrieve
the information of a packet filter. </info>
</step>
<step id="GUID-E3621237-3162-54C3-8A5C-1514544DD096"><cmd/>
<info>Use <xref href="GUID-1CD9122E-B077-39FD-8CAE-45A6AF8F345F.dita#GUID-1CD9122E-B077-39FD-8CAE-45A6AF8F345F/GUID-37C1CCF0-EC7C-31AC-B12F-EA89800684A4"><apiname>RPacketContext::AddPacketFilter()</apiname></xref> to add or replace
a packet filter used in the context. </info>
</step>
<step id="GUID-BC86A8EA-7E34-5355-AAD2-DB973ACD3E20"><cmd/>
<info>Use<xref href="GUID-1CD9122E-B077-39FD-8CAE-45A6AF8F345F.dita#GUID-1CD9122E-B077-39FD-8CAE-45A6AF8F345F/GUID-1AB9CE8C-BE16-3581-AB8C-A2A25834D369"><apiname> RPacketContext::RemovePacketFilter()</apiname></xref> to remove
a packet filter from the context. </info>
</step>
<step id="GUID-910678D6-DC4C-558E-B471-4EC4CBB9B56C"><cmd/>
<info>Use <xref href="GUID-1CD9122E-B077-39FD-8CAE-45A6AF8F345F.dita#GUID-1CD9122E-B077-39FD-8CAE-45A6AF8F345F/GUID-350B0158-5D38-3E54-92CC-D1BA7CA0E3EF"><apiname>RPacketContext::DeleteTFT()</apiname></xref> to delete a traffic
flow template. </info>
</step>
<step id="GUID-3D95A42A-78C7-539D-AC60-9C37848C7C9A"><cmd/>
<info>Use <xref href="GUID-D8BBA972-82CB-3561-8913-4659103C263C.dita#GUID-D8BBA972-82CB-3561-8913-4659103C263C/GUID-3BF91830-2F1C-3635-B362-AECB5C1D8619"><apiname>RTelSubSessionBase::CancelAsyncRequest()</apiname></xref> to cancel
any of the commands. </info>
</step>
</steps>
</taskbody></task>