Inherits RSessionBase.
Public Member Functions | |
IMPORT_C TInt | Connect () |
IMPORT_C TInt | OpenDriver () |
IMPORT_C void | Send (const TDesC8 &aBuf, TRequestStatus &aStatus) |
IMPORT_C void | SendCancel () |
IMPORT_C TInt | UnloadDeviceDriver () |
IMPORT_C TInt | LoadDeviceDriver () |
Client interface for thread server
Definition at line 25 of file threadclient.h.
EXPORT_C TInt RThreadClient::Connect | ( | ) |
Connects to the server, attempting to start it if necessary
Connect to the server, attempting to start it if necessary
Definition at line 68 of file threadclient.cpp.
EXPORT_C TInt RThreadClient::OpenDriver | ( | ) |
Opens the device driver's logical channel
Open the device driver's logical channel
Definition at line 106 of file threadclient.cpp.
EXPORT_C void RThreadClient::Send | ( | const TDesC8 & | aBuf, | |
TRequestStatus & | aStatus | |||
) |
Sends data to device (asynchronous request)
Send data to device (asynchronous request)
aBuf | A descriptor which contains the data to be sent | |
aStatus | A TRequestStatus reference |
Definition at line 115 of file threadclient.cpp.
EXPORT_C void RThreadClient::SendCancel | ( | ) |
EXPORT_C TInt RThreadClient::UnloadDeviceDriver | ( | ) |
Unloads device driver
Unload Device Driver
Definition at line 130 of file threadclient.cpp.
EXPORT_C TInt RThreadClient::LoadDeviceDriver | ( | ) |
Loads device driver
Load Device Driver
Definition at line 138 of file threadclient.cpp.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.