TBTServiceSecurityPerDevice Class Reference
Link against: btdevice.lib
class TBTServiceSecurityPerDevice |
Detailed Description
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 | ( | ) | |
TBTServiceSecurityPerDevice ( const TBTDevAddr &, const TBTDeviceSecurity & )
Parameter | Description | aDevice | The device to which the security applies |
aSecuritySettings | The settings for the device |
TBTServiceSecurityPerDevice ( const TBTServiceSecurityPerDevice & )
Parameter | Description | | The object to be copied. |
Member Function Documentation
DeviceAddress ( )
Returns: The device address
DeviceSecurity ( )
Returns: The device security
ExternalizeL ( RWriteStream & )
Externalise object.
- leave
- This method will leave if an error occurs.
Parameter | Description | aStream | The stream to which the object shall be externalized. |
InternalizeL ( RReadStream & )
Internalise object.
- leave
- This method will leave if an error occurs.
Parameter | Description | aStream | The stream from which the object shall be internalized. |
SetAddress ( const TBTDevAddr & )
IMPORT_C void | SetAddress | ( | const TBTDevAddr & | aAddress | ) | |
Parameter | Description | aAddress | The new address |
SetDeviceSecurity ( const TBTDeviceSecurity & )
Reset the device security
Parameter | Description | aSecuritySettings | the new security settings |
operator!= ( const TBTServiceSecurityPerDevice & )
Parameter | Description | aServiceSecurityPerDevice | The instance to which this will be compared |
Returns: ETrue if this does not equal aServiceSecurityPerDevice
operator= ( const TBTServiceSecurityPerDevice & )
Parameter | Description | aServiceSecurityPerDevice | The instance to which this will be assigned |
operator== ( const TBTServiceSecurityPerDevice & )
Parameter | Description | aServiceSecurityPerDevice | The instance to which this will be compared |
Returns: ETrue if this equals aServiceSecurityPerDevice