6100 ADCCP Programming Manual
Format of Requests and Responses
Writing Applications that Use ADCCP
069225 Tandem Computers Incorporated 4–25
knows a download has occurred, see the description of file system-errors in
Appendix A of this manual.
Canceling a Request
CP6100 supports the Guardian 90 CANCEL procedure call, but ADCCP does not
support a request to cancel a specified earlier request. To cancel all pending data
transfers, flush all outstanding reads from the line, or cancel all pending data transfers
for a given station, use one of the following requests:
STOP OPERATION immediately cancels all data transfers for the line.
RECEIVETEXT has an option to flush all outstanding reads (RECEIVETEXTs)
from the line.
MODE SET, DEFINELIST, or CHANGELIST change the state of a station and
immediately cancels all data transfers in progress for the station.
Format of Requests
and Responses
An application makes requests and receives responses through the buffer parameter of
a WRITEREAD call. The format of the buffer for requests and responses is shown in
Figure 4-1.
Figure 4-1. WRITEREAD Buffer
String
Integer
String
Function
, such as
Send Text
Modifier
to
Function
Request ID
, Unique for All Pending
Requests 1
< reqid < 32767
TextOut
, Size of Text Field in Bytes
TextIn
, Number of Bytes Expected
in Response
Response,
Same
as Function
Status,
OK or
Error Code
Request ID
, Same as in Request
Reserved
, Varies by Protocol
TextIn
, Number of Bytes Received
Outgoing Buffer Format
(Request)
Incoming Buffer Format
(Reply)
•
•
•
•
•
•
•
•
•
•
•
•
Text
, Depends on
Function and Application
Text
, Depends on
Function and Application
012