williamr@2: // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). williamr@2: // All rights reserved. williamr@2: // This component and the accompanying materials are made available williamr@2: // 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: // which accompanies this distribution, and is available williamr@2: // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". williamr@2: // williamr@2: // Initial Contributors: williamr@2: // Nokia Corporation - initial contribution. williamr@2: // williamr@2: // Contributors: williamr@2: // williamr@2: // Description: williamr@2: // williamr@2: williamr@2: #ifndef __OBEXTRANSPORTINFO_H__ williamr@2: #define __OBEXTRANSPORTINFO_H__ williamr@2: williamr@2: #include williamr@2: williamr@2: /** williamr@2: This class is a combination of the TObexProtocolInfo and TObexProtocolPolicy williamr@2: classes. williamr@2: This class is designed for licensee derivation, to support novel transport williamr@2: controllers. Existing superclasses include @c TObexUsbTransportInfo, @c williamr@2: TObexUsbV2TransportInfo, @c TObexBtTransportInfo and @c TObexIrTransportInfo. williamr@2: It is also designed for 3rd party instantiation, for use when creation a williamr@2: CObexServer or a CObexClient. williamr@2: williamr@2: Note that, being a T-type, this type and all derived types must hold data by williamr@2: value, to support bitwise copying. williamr@2: williamr@2: @publishedAll williamr@2: @released williamr@2: */ williamr@2: class TObexTransportInfo williamr@2: { williamr@2: public: williamr@2: /** williamr@2: The type of the transport over which obex will run. williamr@2: The size of the buffer is chosen for historical reasons. This is the size williamr@2: originally used by TObexProtocolInfo. williamr@2: @publishedAll williamr@2: @released williamr@2: */ williamr@2: TBuf<60> iTransportName; williamr@2: williamr@2: /** williamr@2: The version of the protocol policy format that this class supports williamr@2: @publishedAll williamr@2: @released williamr@2: */ williamr@2: TUint16 iVersion; williamr@2: williamr@2: /** williamr@2: The maximum size of the receive packet buffer for the policy williamr@2: @publishedAll williamr@2: @released williamr@2: */ williamr@2: TUint16 iReceiveMtu; williamr@2: williamr@2: /** williamr@2: The maximum size of the transmit packet buffer for the policy williamr@2: @publishedAll williamr@2: @released williamr@2: */ williamr@2: TUint16 iTransmitMtu; williamr@2: williamr@2: /** */ williamr@2: TUint16 iFuture1; williamr@2: williamr@2: /** */ williamr@2: TUint32 iFuture2; williamr@2: williamr@2: /** */ williamr@2: TInt iFuture3; williamr@2: williamr@2: /** */ williamr@2: TInt iFuture4; williamr@2: }; williamr@2: williamr@2: #endif // __OBEXTRANSPORTINFO_H__