Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Since all the events published by the application are tied to its well-known name, the application must make its well-known name available to other applications that wish to use its service. The well-known name can be thought of as the Namespace within which the application's events and RPC methods live. This name must be declared in the application's public header file. In our example, this file is irMgr.h

Code Block
 #define IARM_BUS_IRMGR_NAME "IRMgr"

...


 Naming Convention: IARM_BUS_<Manager>_NAME "Manager"

When the application initialize with IARM-Bus, it provides its well-known name:

...

Code Block
IARM_Bus_Init(IARM_BUS_IRMGR_NAME);

...


IARM_Bus_Connect();

...

Applications should use the defined macro of the owner's well-known name (IARM_BUS_IRMGR_NAME in this example) when sending or listening for events.

...