Main Page Compound List File List Compound Members
tmIPCModule Class Reference
#include <tmIPCModule.h>
List of all members.
Detailed Description
Basically an interface between the
tmTransactionManager and the IPC daemon. Does little else than format the data from one party into a format understandable to the other.
The reason for this class is to try and abstract the transportation layer the transaction service uses. As it is, I think some dependancies on the IPC daemon impl have creeped into the tmTransactionManager and it's support classes, but they are minor and if need be can surely be removed.
Member Function Documentation
void tmIPCModule::HandleMsg |
( |
ipcClientHandle |
client, |
|
|
const nsID & |
target, |
|
|
const void * |
data, |
|
|
PRUint32 |
dataLen |
|
) |
[static] |
|
|
Receives a message from the IPC daemon, creates a transaction and sends it to the TM to deal with. |
void tmIPCModule::Init |
( |
|
) |
[static] |
|
|
Check the TM, create it if neccessary. |
nsresult tmIPCModule::InitInternal |
( |
|
) |
[static, protected] |
|
|
tm should be null coming into this method. This does NOT delete tm first.
- Returns:
- NS_OK if everything succeeds
NS_ERROR_OUT_OF_MEMORY if creating the TM fails
NS_ERROR_FAILURE if something else fails creating the TM
|
void tmIPCModule::SendMsg |
( |
PRUint32 |
aDestClientIPCID, |
|
|
tmTransaction * |
aTransaction |
|
) |
[static] |
|
|
Sends the message to the IPC daemon to be deliverd to the client arg. |
void tmIPCModule::Shutdown |
( |
|
) |
[static] |
|
The documentation for this class was generated from the following file:
Generated on Mon Feb 24 10:22:50 2003 for transaction manager by
1.3-rc3