ToolTalk User's Guide

File-Scoped Message Flow

The basic flow of a file-scoped message is as follows:

  1. A file-scoped pattern is registered.

    libtt notifies the database server about the file and the session in which it is registering the pattern.

  2. libtt checks with the database server to find all the sessions that have clients who have registered interest in the specified file.

    • For notices, it communicates with all these sessions directly.

    • For requests, it notifies its session about the message and the list of other sessions involved.

  3. The sessions communicate amongst each other to find a handler.