diff -r f345bda72bc4 -r 43e37759235e Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/class_c_process_server.html --- a/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/class_c_process_server.html Tue Mar 30 11:56:28 2010 +0100 +++ b/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/class_c_process_server.html Tue Mar 30 16:16:55 2010 +0100 @@ -1,141 +1,115 @@ - -
-Public Types | |
enum | TDriverState { - EStateUnknown, -EDriverLoaded, -ELogicalChannelOpened, -ESendingData, - - ELogicalChannelClosed, -EDriverUnloaded - - } |
Public Member Functions | |
~CProcessServer () | |
CSession2 * | NewSessionL (const TVersion &aVersion, const RMessage2 &aMessage) const |
void | IncrementRefCount () |
void | DecrementRefCount () |
TInt | LoadDevice () |
TInt | UnloadDevice () |
TInt | OpenLogicalChannel () |
void | CloseLogicalChannel () |
TInt | SendDataToDevice (TRequestStatus &aStatus, const TDesC8 &aData) |
Public Types | |
enum | TDriverState { + EStateUnknown, +EDriverLoaded, +ELogicalChannelOpened, +ESendingData, + + ELogicalChannelClosed, +EDriverUnloaded + + } |
Public Member Functions | |
~CProcessServer () | |
CSession2 * | NewSessionL (const TVersion &aVersion, const RMessage2 &aMessage) const |
void | IncrementRefCount () |
void | DecrementRefCount () |
TInt | LoadDevice () |
TInt | UnloadDevice () |
TInt | OpenLogicalChannel () |
void | CloseLogicalChannel () |
TInt | SendDataToDevice (TRequestStatus &aStatus, const TDesC8 &aData) |
void | CancelSendData () |
void | UpdateDriverState (TDriverState aState) |
Static Public Member Functions | |
static void | NewLC () |
Interface for process server.
-Definition at line 29 of file processserver.h.
-Definition at line 29 of file processserver.h.
+enum CProcessServer::TDriverState | +enum CProcessServer::TDriverState |
Enumeration of states of driver.
--Enumeration of states of driver.
EStateUnknown | - |
EDriverLoaded | - |
ELogicalChannelOpened | - |
ESendingData | - |
ELogicalChannelClosed | - |
EDriverUnloaded | - |
Definition at line 35 of file processserver.h.
+Definition at line 35 of file processserver.h.
-
CProcessServer::~CProcessServer | +CProcessServer::~CProcessServer | ( | -+ | ) | -+ |
Destructor, The device driver will be unloaded when the server destructor is called.
+Destructor
--Destructor, The device driver will be unloaded when the server destructor is called.
-Destructor -
Definition at line 50 of file processserver.cpp.
+Definition at line 50 of file processserver.cpp.
-
void CProcessServer::NewLC | +void CProcessServer::NewLC | ( | -+ | ) | - [static] |
+ [static] |
Two phase constructor.
--Two phase constructor. -
Definition at line 24 of file processserver.cpp.
+Definition at line 24 of file processserver.cpp.
CSession2 * CProcessServer::NewSessionL | +CSession2 * CProcessServer::NewSessionL | ( | const TVersion & | aVersion, | @@ -149,167 +123,162 @@|||
) | -const | +const |
-Creates a server-side session object.
Creates a server-side session object.
+Creates a new server-side session
+aVersion | Version argument | |
aMessage | The message to process |
Definition at line 67 of file processserver.cpp.
+Definition at line 67 of file processserver.cpp.
void CProcessServer::IncrementRefCount | +void CProcessServer::IncrementRefCount | ( | -+ | ) | -+ |
Increases reference count and cancels shutdown timer. This function is called when a new session is created.
+Increment the count for the number of clients connected
--Increases reference count and cancels shutdown timer. This function is called when a new session is created.
-Increment the count for the number of clients connected -
Definition at line 86 of file processserver.cpp.
+Definition at line 86 of file processserver.cpp.
void CProcessServer::DecrementRefCount | +void CProcessServer::DecrementRefCount | ( | -+ | ) | -+ |
Decreases reference count and starts shutdown timer. This function is called when a session is destroyed.
+Decrement the count for the number of clients connected
--Decreases reference count and starts shutdown timer. This function is called when a session is destroyed.
-Decrement the count for the number of clients connected -
Definition at line 95 of file processserver.cpp.
+Definition at line 95 of file processserver.cpp.
TInt CProcessServer::LoadDevice | +TInt CProcessServer::LoadDevice | ( | -+ | ) | -+ |
Loads the device, including sample PDD and LDD.
+Load both LDD and PDD
+-Loads the device, including sample PDD and LDD.
-Load both LDD and PDD
Definition at line 107 of file processserver.cpp.
+Definition at line 107 of file processserver.cpp.
TInt CProcessServer::UnloadDevice | +TInt CProcessServer::UnloadDevice | ( | -+ | ) | -+ |
Unloads the device, including sample LDD and PDD.
+Unload both LDD and PDD
+-Unloads the device, including sample LDD and PDD.
-Unload both LDD and PDD
Definition at line 132 of file processserver.cpp.
+Definition at line 132 of file processserver.cpp.
TInt CProcessServer::OpenLogicalChannel | +TInt CProcessServer::OpenLogicalChannel | ( | -+ | ) | -+ |
Opens device's logical channel.
+Open LDD
+-Opens device's logical channel.
-Open LDD
Definition at line 158 of file processserver.cpp.
+Definition at line 158 of file processserver.cpp.
void CProcessServer::CloseLogicalChannel | +void CProcessServer::CloseLogicalChannel | ( | -+ | ) | -+ |
Closes device's logical channel.
+Close LDD
--Closes device's logical channel.
-Close LDD -
Definition at line 172 of file processserver.cpp.
+Definition at line 172 of file processserver.cpp.
TInt CProcessServer::SendDataToDevice | +TInt CProcessServer::SendDataToDevice | ( | TRequestStatus & | aStatus, | @@ -323,78 +292,78 @@|||
) | -+ |
-Sends data to device asynchronously.
-Send data to LDD device
Sends data to device asynchronously.
+Send data to LDD device
+aStatus | A TRequestStatus reference | |
aData | Data to be sent |
Definition at line 186 of file processserver.cpp.
+Definition at line 186 of file processserver.cpp.
void CProcessServer::CancelSendData | +void CProcessServer::CancelSendData | ( | -+ | ) | -+ |
Cancels send data operation.
+Cancel sending data
--Cancels send data operation.
-Cancel sending data -
Definition at line 203 of file processserver.cpp.
+Definition at line 203 of file processserver.cpp.
void CProcessServer::UpdateDriverState | +void CProcessServer::UpdateDriverState | ( | -TDriverState | -aState | +TDriverState | +aState | ) | -+ |
-Updates device state.
-Update the states of the driver
Updates device state.
+Update the states of the driver
+aState | State of the driver to be updated |
Definition at line 212 of file processserver.cpp.
+Definition at line 212 of file processserver.cpp.
-