Summary

  1. Process configuration files (profiles, devices, etc.).
  2. Until the server is shut down, do the following:
  3. 1. Finalize any delivered jobs.
  4. 2. When a device is available and a new job arrives, do the following:
  5. 2.1. Determine the profile to which it is to be sent and the message.
  6. 2.2. Get the next available device and lock it.
  7. 2.3. Filter the message using that profile's filter (if appropriate).
  8. 2.4. Start a subprocess to deliver the page.
  9. Server shut down, so save off any pending jobs.