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

Constructor

TBTServiceSecurityPerDevice(const TBTDevAddr &, const TBTDeviceSecurity &)

IMPORT_CTBTServiceSecurityPerDevice(const TBTDevAddr &aDevice,
const TBTDeviceSecurity &aSecuritySettings
)

Constructor TBTDeviceSecurity

Parameters

const TBTDevAddr & aDeviceThe device to which the security applies
const TBTDeviceSecurity & aSecuritySettingsThe settings for the device

TBTServiceSecurityPerDevice(const TBTServiceSecurityPerDevice &)

IMPORT_CTBTServiceSecurityPerDevice(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 voidExternalizeL(RWriteStream &aStream)const
Externalise object.
leave
This method will leave if an error occurs.

Parameters

RWriteStream & aStreamThe stream to which the object shall be externalized.

InternalizeL(RReadStream &)

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

Parameters

RReadStream & aStreamThe stream from which the object shall be internalized.

SetAddress(const TBTDevAddr &)

IMPORT_C voidSetAddress(const TBTDevAddr &aAddress)

Reset device address

Parameters

const TBTDevAddr & aAddressThe new address

SetDeviceSecurity(const TBTDeviceSecurity &)

IMPORT_C voidSetDeviceSecurity(const TBTDeviceSecurity &aSecuritySettings)

Reset the device security

Parameters

const TBTDeviceSecurity & aSecuritySettingsthe new security settings

operator!=(const TBTServiceSecurityPerDevice &)

IMPORT_C TBooloperator!=(const TBTServiceSecurityPerDevice &aServiceSecurityPerDevice)const

Inequality operator

Parameters

const TBTServiceSecurityPerDevice & aServiceSecurityPerDeviceThe instance to which this will be compared

operator=(const TBTServiceSecurityPerDevice &)

IMPORT_C voidoperator=(const TBTServiceSecurityPerDevice &aServiceSecurityPerDevice)

Assignment operator

Parameters

const TBTServiceSecurityPerDevice & aServiceSecurityPerDeviceThe instance to which this will be assigned

operator==(const TBTServiceSecurityPerDevice &)

IMPORT_C TBooloperator==(const TBTServiceSecurityPerDevice &aServiceSecurityPerDevice)const

Equality operator

Parameters

const TBTServiceSecurityPerDevice & aServiceSecurityPerDeviceThe instance to which this will be compared

Member Data Documentation

const TUint32 KStreamVersion

const TUint32KStreamVersion[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]