TObexProtocolPolicy Class Reference

class TObexProtocolPolicy

Contains information about OBEX packet sizing policy, defining the maximum buffer size for receive and transmit packets

Constructor & Destructor Documentation

TObexProtocolPolicy()

IMPORT_C TObexProtocolPolicy ( )

Sets up class with default values

Member Functions Documentation

ReceiveMtu()

IMPORT_C TUint16 ReceiveMtu ( ) const

Gets the policy's receive packet buffer size

SetReceiveMtu(TUint16)

IMPORT_C TInt SetReceiveMtu ( TUint16 aReceiveMtu )

Sets the maximum size of the receive packet buffer for the policy. For the IrDA transport, if the new receive buffer size is different to KObexPacketDefaultSize the receive packet size is set to equal the new buffer size. Otherwise the packet size is set to the protocol defined limit.

Parameters

TUint16 aReceiveMtu The new buffer size

SetTransmitMtu(TUint16)

IMPORT_C TInt SetTransmitMtu ( TUint16 aTransmitMtu )

Sets the maximum size of the transmit packet buffer for the policy

Parameters

TUint16 aTransmitMtu The new buffer size

TransmitMtu()

IMPORT_C TUint16 TransmitMtu ( ) const

Gets the policy's transmit packet buffer size

Version()

IMPORT_C TUint16 Version ( ) const

Gets the version of the protocol policy format that this class supports

Member Data Documentation

TUint32 iPadding1

TUint32 iPadding1 [private]

TUint32 iPadding2

TUint32 iPadding2 [private]

TUint32 iPadding3

TUint32 iPadding3 [private]

TUint32 iPadding4

TUint32 iPadding4 [private]

TUint16 iReceiveMtu

TUint16 iReceiveMtu [private]

TUint16 iTransmitMtu

TUint16 iTransmitMtu [private]

TUint16 iVersion

TUint16 iVersion [private]