RSdpDatabase Class Reference

class RSdpDatabase : public RSdpSubSession

Subsession to the SDP through which service records and their attributes can be added, deleted, and updated.

Inherits from

Public Member Functions
RSdpDatabase()
IMPORT_C voidClose()
IMPORT_C voidCreateServiceRecordL(const TUUID &, TSdpServRecordHandle &)
IMPORT_C voidCreateServiceRecordL(CSdpAttrValueDES &, TSdpServRecordHandle &)
IMPORT_C voidDeleteAttribute(TSdpServRecordHandle, TSdpAttributeID)
IMPORT_C voidDeleteAttributeL(TSdpServRecordHandle, TSdpAttributeID)
IMPORT_C voidDeleteRecord(TSdpServRecordHandle)
IMPORT_C voidDeleteRecordL(TSdpServRecordHandle)
IMPORT_C TIntOpen(RSdp &)
IMPORT_C voidUpdateAttributeL(TSdpServRecordHandle, TSdpAttributeID, CSdpAttrValue &)
IMPORT_C voidUpdateAttributeL(TSdpServRecordHandle, TSdpAttributeID, TUint)
IMPORT_C voidUpdateAttributeL(TSdpServRecordHandle, TSdpAttributeID, const TDesC16 &)
IMPORT_C voidUpdateAttributeL(TSdpServRecordHandle, TSdpAttributeID, const TDesC8 &)
Inherited Functions
RSubSessionBase::CloseSubSession(TInt)
RSubSessionBase::CreateAutoCloseSubSession(RSessionBase &,TInt,const TIpcArgs &)
RSubSessionBase::CreateSubSession(const RSessionBase &,TInt)
RSubSessionBase::CreateSubSession(const RSessionBase &,TInt,const TIpcArgs &)
RSubSessionBase::RSubSessionBase()
RSubSessionBase::Send(TInt)const
RSubSessionBase::Send(TInt,const TIpcArgs &)const
RSubSessionBase::SendReceive(TInt)const
RSubSessionBase::SendReceive(TInt,TRequestStatus &)const
RSubSessionBase::SendReceive(TInt,const TIpcArgs &)const
RSubSessionBase::SendReceive(TInt,const TIpcArgs &,TRequestStatus &)const
RSubSessionBase::Session()const
RSubSessionBase::SubSessionHandle()const
Private Attributes
HBufC8 *iBuffer
TUint32 iPadding1
TUint32 iPadding2

Constructor & Destructor Documentation

RSdpDatabase()

IMPORT_CRSdpDatabase()

Member Functions Documentation

Close()

IMPORT_C voidClose()[virtual]

Closes subsession

CreateServiceRecordL(const TUUID &, TSdpServRecordHandle &)

IMPORT_C voidCreateServiceRecordL(const TUUID &aUUID,
TSdpServRecordHandle &aHandle
)

Parameters

const TUUID & aUUID
TSdpServRecordHandle & aHandle

CreateServiceRecordL(CSdpAttrValueDES &, TSdpServRecordHandle &)

IMPORT_C voidCreateServiceRecordL(CSdpAttrValueDES &aUUIDList,
TSdpServRecordHandle &aHandle
)

Parameters

CSdpAttrValueDES & aUUIDList
TSdpServRecordHandle & aHandle

DeleteAttribute(TSdpServRecordHandle, TSdpAttributeID)

IMPORT_C voidDeleteAttribute(TSdpServRecordHandleaHandle,
TSdpAttributeIDaAttrID
)

Parameters

TSdpServRecordHandle aHandle
TSdpAttributeID aAttrID

DeleteAttributeL(TSdpServRecordHandle, TSdpAttributeID)

IMPORT_C voidDeleteAttributeL(TSdpServRecordHandleaHandle,
TSdpAttributeIDaAttrID
)

Parameters

TSdpServRecordHandle aHandle
TSdpAttributeID aAttrID

DeleteRecord(TSdpServRecordHandle)

IMPORT_C voidDeleteRecord(TSdpServRecordHandleaHandle)

Parameters

TSdpServRecordHandle aHandle

DeleteRecordL(TSdpServRecordHandle)

IMPORT_C voidDeleteRecordL(TSdpServRecordHandleaHandle)

Parameters

TSdpServRecordHandle aHandle

Open(RSdp &)

IMPORT_C TIntOpen(RSdp &aSession)[virtual]

Opens subsession on an RSdp session

Parameters

RSdp & aSessionThe session on which the subsession is being opened.

UpdateAttributeL(TSdpServRecordHandle, TSdpAttributeID, CSdpAttrValue &)

IMPORT_C voidUpdateAttributeL(TSdpServRecordHandleaHandle,
TSdpAttributeIDaAttrID,
CSdpAttrValue &aAttrValue
)

Parameters

TSdpServRecordHandle aHandle
TSdpAttributeID aAttrID
CSdpAttrValue & aAttrValue

UpdateAttributeL(TSdpServRecordHandle, TSdpAttributeID, TUint)

IMPORT_C voidUpdateAttributeL(TSdpServRecordHandleaHandle,
TSdpAttributeIDaAttrID,
TUintaUintValue
)

Parameters

TSdpServRecordHandle aHandle
TSdpAttributeID aAttrID
TUint aUintValue

UpdateAttributeL(TSdpServRecordHandle, TSdpAttributeID, const TDesC16 &)

IMPORT_C voidUpdateAttributeL(TSdpServRecordHandleaHandle,
TSdpAttributeIDaAttrID,
const TDesC16 &aDesCValue
)

Parameters

TSdpServRecordHandle aHandle
TSdpAttributeID aAttrID
const TDesC16 & aDesCValue

UpdateAttributeL(TSdpServRecordHandle, TSdpAttributeID, const TDesC8 &)

IMPORT_C voidUpdateAttributeL(TSdpServRecordHandleaHandle,
TSdpAttributeIDaAttrID,
const TDesC8 &aDesCValue
)

Parameters

TSdpServRecordHandle aHandle
TSdpAttributeID aAttrID
const TDesC8 & aDesCValue

Member Data Documentation

HBufC8 * iBuffer

HBufC8 *iBuffer[private]

TUint32 iPadding1

TUint32 iPadding1[private]

TUint32 iPadding2

TUint32 iPadding2[private]