VortexGE IPC


Back to Main Index

The IPC Classes These are the classes used for IPC in VortexGE :

  1. CMQServer
  2. CMQClient
Note that any application that uses VortexGE IPC should not incorrectly interrupted/aborted (for example: via Ctrl-C) because the shared resource(s) may not deleted properly and can result in system resource lack. If any of those kind of applications is happen to be incorrectly interrupted/aborted, always use the provided utility "util/ipcrem" to remove the left resources (or manually using "ipcs" and then "ipcrm" command from console).

The IPC Transaction IPC transaction is divided into two types :

  1. Transaction performed by server :
  2. Transaction performed by client :
Below are tables to explain those transactions :

Client's Requests Server's Responses
Connection Connection accepted
Connection rejected (when the maximum number of allowed client has been reached)
Disconnection N/A (server just remove the client from its client list)
Enumerate by UID Send a list of clients with the requested UID

Server's Notification Client's Action
Shut down Since the server is about to terminate, client must no longer perform any IPC transaction with the server or with other clients enumerated from the server using the "Enumerate by UID" request


For some examples of how to use the VortexGE IPC, see the topic "About The Examples".


Back to Main Index