TBTServiceSecurityPerDevice Class Reference

class TBTServiceSecurityPerDevice

Class to tie a service uid with a device security setting.

This allows us to have service-specific security settings for a device.

Constructor & Destructor Documentation

TBTServiceSecurityPerDevice()

IMPORT_C TBTServiceSecurityPerDevice ( )

Constructor

TBTServiceSecurityPerDevice(const TBTDevAddr &, const TBTDeviceSecurity &)

IMPORT_C TBTServiceSecurityPerDevice ( const TBTDevAddr & aDevice,
const TBTDeviceSecurity & aSecuritySettings
)

Parameters

const TBTDevAddr & aDevice The device to which the security applies
const TBTDeviceSecurity & aSecuritySettings The settings for the device

TBTServiceSecurityPerDevice(const TBTServiceSecurityPerDevice &)

IMPORT_C TBTServiceSecurityPerDevice ( const TBTServiceSecurityPerDevice & )

Copy constructor.

Parameters

const TBTServiceSecurityPerDevice & The object to be copied.

Member Functions Documentation

DeviceAddress()

IMPORT_C const TBTDevAddr & DeviceAddress ( ) const

Get the device address.

DeviceSecurity()

IMPORT_C const TBTDeviceSecurity & DeviceSecurity ( ) const

Get the device security.

ExternalizeL(RWriteStream &)

IMPORT_C void ExternalizeL ( RWriteStream & aStream ) const
Externalise object.
leave
This method will leave if an error occurs.

Parameters

RWriteStream & aStream The stream to which the object shall be externalized.

InternalizeL(RReadStream &)

IMPORT_C void InternalizeL ( RReadStream & aStream )
Internalise object.
leave
This method will leave if an error occurs.

Parameters

RReadStream & aStream The stream from which the object shall be internalized.

SetAddress(const TBTDevAddr &)

IMPORT_C void SetAddress ( const TBTDevAddr & aAddress )

Reset device address

Parameters

const TBTDevAddr & aAddress The new address

SetDeviceSecurity(const TBTDeviceSecurity &)

IMPORT_C void SetDeviceSecurity ( const TBTDeviceSecurity & aSecuritySettings )

Reset the device security

Parameters

const TBTDeviceSecurity & aSecuritySettings the new security settings

operator!=(const TBTServiceSecurityPerDevice &)

IMPORT_C TBool operator!= ( const TBTServiceSecurityPerDevice & aServiceSecurityPerDevice ) const

Inequality operator

Parameters

const TBTServiceSecurityPerDevice & aServiceSecurityPerDevice The instance to which this will be compared

operator=(const TBTServiceSecurityPerDevice &)

IMPORT_C void operator= ( const TBTServiceSecurityPerDevice & aServiceSecurityPerDevice )

Assignment operator

Parameters

const TBTServiceSecurityPerDevice & aServiceSecurityPerDevice The instance to which this will be assigned

operator==(const TBTServiceSecurityPerDevice &)

IMPORT_C TBool operator== ( const TBTServiceSecurityPerDevice & aServiceSecurityPerDevice ) const

Equality operator

Parameters

const TBTServiceSecurityPerDevice & aServiceSecurityPerDevice The instance to which this will be compared

Member Data Documentation

const TUint32 KStreamVersion

const TUint32 KStreamVersion [private, static]

TBTDevAddr iDeviceAddress

TBTDevAddr iDeviceAddress [private]

the address of the device for the overriding security

TBTDeviceSecurity iDeviceSecurity

TBTDeviceSecurity iDeviceSecurity [private]

the overriding security

TUint32 iPadding1

TUint32 iPadding1 [private]

TUint32 iPadding2

TUint32 iPadding2 [private]