epoc32/include/mw/obextransportinfo.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:27:01 +0100
branchSymbian2
changeset 3 e1b950c65cb4
parent 2 epoc32/include/obextransportinfo.h@2fe1408b6811
child 4 837f303aceeb
permissions -rw-r--r--
Attempt to represent the S^2->S^3 header reorganisation as a series of "hg rename" operations
williamr@2
     1
// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
williamr@2
     2
// All rights reserved.
williamr@2
     3
// This component and the accompanying materials are made available
williamr@2
     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
williamr@2
     5
// which accompanies this distribution, and is available
williamr@2
     6
// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
williamr@2
     7
//
williamr@2
     8
// Initial Contributors:
williamr@2
     9
// Nokia Corporation - initial contribution.
williamr@2
    10
//
williamr@2
    11
// Contributors:
williamr@2
    12
//
williamr@2
    13
// Description:
williamr@2
    14
//
williamr@2
    15
williamr@2
    16
#ifndef __OBEXTRANSPORTINFO_H__
williamr@2
    17
#define __OBEXTRANSPORTINFO_H__
williamr@2
    18
williamr@2
    19
#include <e32std.h>
williamr@2
    20
williamr@2
    21
/**
williamr@2
    22
This class is a combination of the TObexProtocolInfo and TObexProtocolPolicy 
williamr@2
    23
classes.
williamr@2
    24
This class is designed for licensee derivation, to support novel transport 
williamr@2
    25
controllers. Existing superclasses include @c TObexUsbTransportInfo, @c 
williamr@2
    26
TObexUsbV2TransportInfo, @c TObexBtTransportInfo and @c TObexIrTransportInfo. 
williamr@2
    27
It is also designed for 3rd party instantiation, for use when creation a 
williamr@2
    28
CObexServer or a CObexClient.
williamr@2
    29
williamr@2
    30
Note that, being a T-type, this type and all derived types must hold data by 
williamr@2
    31
value, to support bitwise copying.
williamr@2
    32
williamr@2
    33
@publishedAll
williamr@2
    34
@released
williamr@2
    35
*/
williamr@2
    36
class TObexTransportInfo
williamr@2
    37
	{
williamr@2
    38
public:
williamr@2
    39
	/**
williamr@2
    40
	The type of the transport over which obex will run.
williamr@2
    41
	The size of the buffer is chosen for historical reasons. This is the size 
williamr@2
    42
	originally used by TObexProtocolInfo.
williamr@2
    43
	@publishedAll
williamr@2
    44
	@released
williamr@2
    45
	*/
williamr@2
    46
	TBuf<60> iTransportName; 
williamr@2
    47
	
williamr@2
    48
	/**
williamr@2
    49
	The version of the protocol policy format that this class supports
williamr@2
    50
	@publishedAll
williamr@2
    51
	@released
williamr@2
    52
	*/
williamr@2
    53
	TUint16 iVersion;
williamr@2
    54
	
williamr@2
    55
	/**
williamr@2
    56
	The maximum size of the receive packet buffer for the policy
williamr@2
    57
	@publishedAll
williamr@2
    58
	@released
williamr@2
    59
	*/
williamr@2
    60
	TUint16 iReceiveMtu;
williamr@2
    61
	
williamr@2
    62
	/**
williamr@2
    63
	The maximum size of the transmit packet buffer for the policy
williamr@2
    64
	@publishedAll
williamr@2
    65
	@released
williamr@2
    66
	*/
williamr@2
    67
	TUint16 iTransmitMtu;
williamr@2
    68
	
williamr@2
    69
	/**	*/
williamr@2
    70
	TUint16 iFuture1;
williamr@2
    71
	
williamr@2
    72
	/**	*/
williamr@2
    73
	TUint32 iFuture2;
williamr@2
    74
	
williamr@2
    75
	/**	*/
williamr@2
    76
	TInt iFuture3;
williamr@2
    77
	
williamr@2
    78
	/**	*/
williamr@2
    79
	TInt iFuture4;
williamr@2
    80
	};
williamr@2
    81
williamr@2
    82
#endif // __OBEXTRANSPORTINFO_H__