Go to the previous, next section.

Interface-Queuer Communicatoins

@everyfooting Author: ensley // Editor: ensley // Texinfo: ensley @| @| 3 December 1994

Overview

This document describes the specifics of the communication between the Interface modules (telnet, email, prospero) and the Queuer.

All interfaces use a common technique so adding additional interfaces later is easy and has no effect on queuer or other module.

They communicate via a named pipe (FIFO) called /tmp/FIFO. Each time an interface recieves a search request, it sends the following ASCII data packet to the FIFO in this order:

@sp2

Let's look at the data packet in more detail.

The data should be sent down the pipe in one statement to avoid munging the data with another interface. The queuer will continually read from the FIFO and queue the requests accordingly.

It might be wise to have functions that write and read from the named pipe that can be shared by all interfaces and the queuer to make maintenance more efficient.

Go to the previous, next section.