class RNetDatabase : public RSubSessionBase |
Provides an interface to network databases, such as LM-IAS with IrDA, that may be provided by particular protocol modules.
Before making any queries, a connection to a socket server session must be made.
Each function is available in both synchronous and asynchronous versions.
A single RNetDatabase can only perform one request of any type at once. A client is panicked if it makes two requests.
Particular database access services will specify the format of queries and of responses.
Public Member Functions | |
---|---|
IMPORT_C void | Add(const TDesC8 &, TRequestStatus &) |
IMPORT_C TInt | Add(const TDesC8 &) |
IMPORT_C void | Cancel() |
IMPORT_C void | Close() |
IMPORT_C TInt | Open(RSocketServ &, TUint, TUint) |
IMPORT_C void | Query(const TDesC8 &, TDes8 &, TRequestStatus &) |
IMPORT_C TInt | Query(const TDesC8 &, TDes8 &) |
IMPORT_C void | Remove(const TDesC8 &, TRequestStatus &) |
IMPORT_C TInt | Remove(const TDesC8 &) |
IMPORT_C void | Add | ( | const TDesC8 & | anItem, |
TRequestStatus & | aStat | |||
) |
const TDesC8 & anItem | |
TRequestStatus & aStat |
IMPORT_C TInt | Open | ( | RSocketServ & | aSocketServer, |
TUint | anAddrFamily, | |||
TUint | aProtocol | |||
) |
RSocketServ & aSocketServer | |
TUint anAddrFamily | |
TUint aProtocol |
IMPORT_C void | Query | ( | const TDesC8 & | aQuery, |
TDes8 & | aResult, | |||
TRequestStatus & | aStat | |||
) |
const TDesC8 & aQuery | |
TDes8 & aResult | |
TRequestStatus & aStat |
IMPORT_C void | Remove | ( | const TDesC8 & | anItem, |
TRequestStatus & | aStat | |||
) |
const TDesC8 & anItem | |
TRequestStatus & aStat |