Envoy Application Programming Manual

Table Of Contents
BISYNC Centralized Multipoint Supervisor Protocol
Envoy Application Programming Manual427159-001
4-8
File-System Procedures
DEFINELIST
Passes the poll and select address lists to Envoy. The format of the address list is
described under Address-List Format on page 4-10. You must call DEFINELIST
after opening the line, but before the first call to READ or WRITE. You may
subsequently redefine the poll and select addresses, if there are no outstanding
operations, by calling the DEFINELIST procedure again. If there is an outstanding
nowait READ, you must first call HALTPOLL, then call AWAITIO to wait for the
completion of the current READ operation before calling DEFINELIST again.
DEVICEINFO
Returns the device type and configured record length for a line.
FILEINFO
Returns error information and characteristics about an open file.
HALTPOLL
Stops the polling function. You use HALTPOLL to stop continuous polling initiated
by a nowait READ call. Following the HALTPOLL call, you must issue an
AWAITIO call to complete the outstanding READ call. The READ completes with
either an error 176 (poll sequence ended with no responder) or an error 0 (operation
successful).
After stopping the polling function, the application process can then select a
tributary and send a message to it. When you call the READ procedure again to
resume polling, the polling function continues from the point in the list where it was
interrupted.
OPEN
Establishes communications with a line. A line can be opened by only one process
(and its backup) at a time.
Table 4-4. CONTROL Operations for BISYNC Multipoint Supervisor
Operation Description
11 Waits for data set ready (DSR)
13 Sends EOT (end of transmission) and, optionally, enables polling of only a
specific station
14 Sends WACK (wait for acknowledgment)
15 Enables RVI (reverse interrupt)
16 Sends TTD (temporary text delay)
20 Monitors the line (without READ); incoming control characters are indi-
cated by file-system errors