Conversation state
CPI Communications uses conversation state to determine what the next set of actions will be.
Examples of conversation states are:
- RESET
- The initial state before communications begin.
- SEND
- The program can send or optionally receive.
- RECEIVE
- The program must receive or abort.
- CONFIRM
- The program must respond to a partner.
The basic rules for APPC verbs are:
- The program that initiates the conversation speaks first.
- Only one APPC verb can be outstanding at time.
- Programs take turns sending and receiving.
- The state of the conversation determines the verbs a program can issue.