RProcessClient Class Reference

Inherits RSessionBase.

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 process server

Definition at line 25 of file processclient.h.


Member Function Documentation

EXPORT_C TInt RProcessClient::Connect (  ) 

Connects to the server, attempting to start it if necessary.

Returns:
The error value.

Definition at line 67 of file processclient.cpp.

EXPORT_C TInt RProcessClient::OpenDriver (  ) 

Opens the device driver's logical channel.

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

Definition at line 105 of file processclient.cpp.

EXPORT_C void RProcessClient::Send ( const TDesC8 &  aBuf,
TRequestStatus &  aStatus 
)

Sends data to device (asynchronous request).

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

Definition at line 114 of file processclient.cpp.

EXPORT_C void RProcessClient::SendCancel (  ) 

Cancels sending request.

Definition at line 121 of file processclient.cpp.

EXPORT_C TInt RProcessClient::UnloadDeviceDriver (  ) 

Unloads the device driver.

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

Definition at line 129 of file processclient.cpp.

EXPORT_C TInt RProcessClient::LoadDeviceDriver (  ) 

Loads the device driver.

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

Definition at line 137 of file processclient.cpp.


Generated by  doxygen 1.6.2