SNAX/APC Application Programming Manual

Verb Definitions
SNAX/APC Application Programming Manual138786
3-34
RECEIVE-IMMEDIATE Verb
Reply Details
RESERVED-1
This field is not used by SNAX/APC and should be ignored by the TP.
RIR-REQ-TO-SEND-IND
This field indicates whether the remote TP issued a REQUEST-TO-SEND verb. If
the field contains the letter Y, REQUEST-TO-SEND notification was received from
the remote TP, which requests the local TP to enter the Receive state. The local TP
can use RECEIVE-AND-WAIT or PREPARE-TO RECEIVE to enter the Receive
state when ready.
If the field contains the letter N, the remote TP did not issue a REQUEST-TO-SEND
verb.
RIR-WHAT-RECEIVED
This field indicates what was received from the remote TP. A TP in Receive state
issues RECEIVE-IMMEDIATE (or RECEIVE-AND-WAIT) verbs until the value
in RWR-WHAT-RECEIVED indicates a transition from the Receive state. RIR-
WHAT-RECEIVED returns one of the following values:
WR-DATA (0)
The RI-FILL field in the verb request specified FILL-BUFFER (B), and the
local TP received data.
WR-DATA-COMPLETE (1)
The RI-FILL field in the verb request specified FILL-LL (L), and the local TP
received a complete logical record or the last remaining portion of a logical
record.
WR-DATA-INCOMPLETE (2)
The RI-FILL field in the verb request specified FILL-LL (L), and the local TP
received an incomplete logical record (because the logical record was longer
than RI-MAX-DATA-LENGTH). The local TP should issue another RECEIVE-
IMMEDIATE (or RECEIVE-AND-WAIT) verb to receive the remainder of the
logical record.
WR-SEND (3)
The remote TP entered the Receive state, thereby placing the local TP in the
Send state. No data is received in this reply. The local TP can now issue
SEND-DATA verbs.