RThreadClient Class Reference

List of all members.

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

Detailed Description

Client interface for thread server

Definition at line 40 of file threadclient.h.


Member Function Documentation

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 83 of file threadclient.cpp.

EXPORT_C TInt RThreadClient::OpenDriver (  ) 

Opens the device driver's logical channel

Open the device driver's logical channel

Returns:
KErrNone if successful, otherwise one of the other system wide error codes.

Definition at line 121 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)

Parameters:
aBuf A descriptor which contains the data to be sent
aStatus A TRequestStatus reference

Definition at line 130 of file threadclient.cpp.

EXPORT_C void RThreadClient::SendCancel (  ) 

Cancels sending request

Cancel sending request

Definition at line 137 of file threadclient.cpp.

EXPORT_C TInt RThreadClient::UnloadDeviceDriver (  ) 

Unloads device driver

Unload Device Driver

Returns:
KErrNone if successful, otherwise one of the other system wide error codes.

Definition at line 145 of file threadclient.cpp.

EXPORT_C TInt RThreadClient::LoadDeviceDriver (  ) 

Loads device driver

Load Device Driver

Returns:
KErrNone if successful, otherwise one of the other system wide error codes.

Definition at line 153 of file threadclient.cpp.


Generated by  doxygen 1.6.2