SNAX/APC Application Programming Manual

Interprocess Communications and Units of Work
SNAX/APC Application Programming Manual138786
2-12
UOW Classes
TP-END
This releases all resources allocated to a TP by one TP-READY, essentially
canceling the TP-READY. A local TP must issue a TP-END verb request when it
has completed the last conversation associated with a TP-READY. This results in
the destruction of the TP instance.
Control Operator Verb UOWs
Control operator verbs are defined by LU 6.2. As a category, control operator verbs
perform functions that aid operators in controlling LUs. The control operator verbs
supported by SNAX/APC are ACTIVATE-SESSION and DEACTIVATE-SESSION:
ACTIVATE-SESSION
activates an LU-LU session between the local LU and a specified partner LU. An
operator TP might use ACTIVATE-SESSION to establish all sessions between LUs
before application TPs request services from SNAX/APC.
DEACTIVATE-SESSION
deactivates an LU-LU session. An operator TP could use DEACTIVATE-SESSION
to deactivate a hung session.
Conversational Verb UOWs
TPs use the conversational verbs to communicate with SNAX/APC. SNAX/APC
processes the verb request and returns the status of the verb request in a reply message.
SNAX/APC defines the following basic and mapped conversation verbs:
ALLOCATE and MC-ALLOCATE
establishes a conversation with a remote TP. A TP that issues ALLOCATE is called
the source TP and starts in the Send state. In this case, the other TP is called the
target TP, and it starts in the Receive state.
CONFIRM and MC-CONFIRM
requests that the remote TP send an explicit confirmation of some event or action,
such as receipt of data.
CONFIRMED and MC-CONFIRMED
responds to a CONFIRM verb request, indicating that the event or action has been
performed.
DEALLOCATE and MC-DEALLOCATE
terminates a conversation with a remote TP.
FLUSH and MC-FLUSH
transmits the contents of the local LU’s send buffer to the remote LU.
GET-ATTRIBUTES and MC-GET ATTRIBUTES