Back to index

lightning-sunbird  0.9+nobinonly
Static Public Member Functions
TestModule Struct Reference

List of all members.

Static Public Member Functions

static void Init ()
static void Shutdown ()
static void HandleMsg (ipcClientHandle client, const nsID &target, const void *data, PRUint32 dataLen)
static void ClientUp (ipcClientHandle client)
static void ClientDown (ipcClientHandle client)

Detailed Description

Definition at line 13 of file TestModule.cpp.


Member Function Documentation

static void TestModule::ClientDown ( ipcClientHandle  client) [inline, static]

Definition at line 41 of file TestModule.cpp.

    {
        printf("*** TestModule::ClientDown [%u]\n", IPC_GetClientID(client));
    }

Here is the call graph for this function:

static void TestModule::ClientUp ( ipcClientHandle  client) [inline, static]

Definition at line 36 of file TestModule.cpp.

    {
        printf("*** TestModule::ClientUp [%u]\n", IPC_GetClientID(client));
    }

Here is the call graph for this function:

static void TestModule::HandleMsg ( ipcClientHandle  client,
const nsID target,
const void data,
PRUint32  dataLen 
) [inline, static]

Definition at line 25 of file TestModule.cpp.

    {
        printf("*** TestModule::HandleMsg [%s]\n", (const char *) data);

        static const char buf[] = "pong";
        IPC_SendMsg(client, kTestModuleID, buf, sizeof(buf));
    }

Here is the call graph for this function:

static void TestModule::Init ( void  ) [inline, static]

Definition at line 15 of file TestModule.cpp.

    {
        printf("*** TestModule::Init\n");
    }
static void TestModule::Shutdown ( ) [inline, static]

Definition at line 20 of file TestModule.cpp.

    {
        printf("*** TestModule::Shutdown\n");
    }

The documentation for this struct was generated from the following file: