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_CTObexProtocolPolicy()

Sets up class with default values

Member Functions Documentation

ReceiveMtu()

IMPORT_C TUint16ReceiveMtu()const

Gets the policy's receive packet buffer size

SetReceiveMtu(TUint16)

IMPORT_C TIntSetReceiveMtu(TUint16aReceiveMtu)

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 aReceiveMtuThe new buffer size

SetTransmitMtu(TUint16)

IMPORT_C TIntSetTransmitMtu(TUint16aTransmitMtu)

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

Parameters

TUint16 aTransmitMtuThe new buffer size

TransmitMtu()

IMPORT_C TUint16TransmitMtu()const

Gets the policy's transmit packet buffer size

Version()

IMPORT_C TUint16Version()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]