OSI/FTAM Programming Guide

ISO FTAM Concepts
HP NonStop OSI/FTAM Programming Guide528612-001
2-9
Regimes and Protocol
Regimes and Protocol
The FTAM protocol is built upon a series of nested regimes, or phases of operation.
When the association is in a specific regime, an FTAM application might use only a
particular subset of the FTAM service primitives. ISO defines four regimes:
The FTAM regime, which begins when an association is made and ends when that
association is terminated.
The file-selection regime, which identifies a file whose attributes can be read or
changed, or which can be opened or deleted.
The file-open regime, which exists while a file is available for access or data
transfer.
The data-transfer regime, which allows for data transfer.
The regimes must be established in order. In a data transfer, an application program
must establish the FTAM regime, followed by the file-selection regime, the file-open
regime and, finally, the data-transfer regime. The regimes are then terminated in the
reverse order. Figure 2-3 on page 2-10 illustrates the hierarchical relationship of FTAM
regimes.
End of data
transfer
F-DATA-END No Signifies that data transfer is
complete. Allowed in the
data-transfer regime only.
End of transfer F-TRANSFER-END Yes Terminates the data-transfer regime
and returns to the file-open regime.
Cancel data
transfer
F-CANCEL Yes Cancels any data transfer in
progress, terminates the
data-transfer regime, and returns to
the file-open regime.
Table 2-1. FTAM Services (page3of3)
Service
Associated
Primitive Confirmed Description of Function