Envoy Application Programming Manual

Table Of Contents
TINET Multipoint Supervisor Protocol
Envoy Application Programming Manual427159-001
8-22
Line Action by Procedure Call
Line Action by Procedure Call
This subsection describes the TINET control sequences transmitted because of calls to
file-system procedures. The actions of file-system procedures in response to line states
and the reception of selected control sequences are also described.
This subsection includes:
READ Procedure on page 8-22
WRITE Procedure on page 8-23
CONTROL Procedure (Send EOT) on page 8-25
CONTROL Procedure (Send ENQ) on page 8-25
CONTROL Procedure (Send CAN) on page 8-25
READ Procedure
The READ procedure is used to initiate the polling sequence and to read a message from
a terminal (Example 8-10
).
A READ causes Envoy, on behalf of the application process, to begin polling all
addresses in the poll list. If a terminal does not have a message to send, it responds with
an EOT and polling continues to the next station in the poll list.
Polling continues until a station responds with a message, an error occurs (such as a
nonresponding station), or the specified number of passes through the poll list have been
made. Upon successful receipt of a message from a terminal, a condition code of CCE is
returned. The address list entry number of the terminal that responded with a message is
returned in the message control word, bits 8:15.
Example 8-10. TINET Polling Procedure
Application Process TINET Terminal
CALL READ(...)
| EOT EOT idp ENQ -->
| <-- EOT
| EOT EOT idp ENQ -->
| <-- EOT
| .
| . .
| . .
| .
| EOT EOT idp ENQ -->
| <-- message
(READ completes)
error = 0
Envoy<8:15> contains entry number for station "n"