Inspirel banner

Programming Distributed Systems with YAMI4

12.3 Callbacks

Sending the message, as explained in the previous section, is the only action that the user application can do actively with regard to messaging. Everything else happens in reaction to I/O events and is propagated to the application in terms of callbacks.

Those callbacks that are of interest to the application should be implemented in terms of functions of specific signatures in C++ or in terms of interface implementation in Ada. It is not necessary to use all available callback types.

Every possible callback is explained in its own subsection.

12.3.1 Incoming Connection

12.3.2 Incoming Connection Closing

12.3.3 Message Progress

12.3.4 Incoming Message