7.1 Class 1: Basic Error Recovery Class
7.1 PROTOCOL DESCRIPTION OF CLASS 1: BASIC ERROR RECOVERY CLASS
7.1.1 Characteristics of Class 1
The characteristic of this class is that it provides a basic transport connection with minimal overheads.
The main purpose of the class if to recover from network signalled errors (network disconnect or reset).
Selection of this class is usually based on reliability criteria. Class 1 has been designed to be used in association with type B network connections.
7.1.2 Functions of Class 1
Class 1 provides transport connections with flow control based on the network service provided flow control, error recovery, expedited data transfer, disconnection, and also the ability to support consecutive Transport connections on a network connection.
This class provides the functionality of Class 0 plus the ability to recover after a failure signalled by the Network Service, without involving the user of the Transport Service.
7.1.3 Protocol Mechanisms of Class 1
Class 1 protocol mechanisms include Class 0 protocol mechanisms plus the following:
7.1.3.1 User Data in the Connection Phase
Class 1 provides the possibility of conveying data in the connection request and confirm commands.
7.1.3.2 Numbering of Data TPDU
Each Data TPDU transmitted between transport entities for each direction of transmission in a transport connection is sequentially numbered.
7.1.3.3 Release
The "explicit" variant of the release function is used.
7.1.3.4 Error Recovery
The sending Transport entity keeps a copy of transmitted TPDUs until it receives an acknowledgment which allows copies to be released. After a failure is indicated by the nerwork service (Reset, Disconnect), the resynchronization function is used to determine which TPDUs must be retransmitted.
Resynchronization may also be invoked by a transport entity as a local matter. For that purpose the Resynchronization function is used (see note at the end of Section 6.15).
7.1.3.5 Acknowledgement
Acknowledgements are used to release copies of retained TPDUs. Two methods of acknowledgment are provided in the Retention until Acknowledgement of TPDUs function:
-
use of AK TPDU ("AK" variant) - mandatory
Note: The credit field of the AK TPDU is not used in this class (always Set to zero).
-
use of network layer Confirmation of Receipt Service. ('confirmation of receipt' variant) - optional
The variant to be used is negotiated during the Connection Establishment Phase. The default option is the "AK TPDU" variant. Use of Network Layer Receipt Confirmation is allowed only in Class 1, and depends on the availability of the network layer receipt confirmation service, the expected cost reduction, and the agreement of both transport entities to use it.
7.1.4 Connection Establishment Procedures for Class 1
The 'assignment to network connection' and 'connection establishment' mechanisms are used. From the point at which a transport entity issues a CR proposing the use of Class 1 or a CC accepting the use of Class 1 the following mechanisms must be available to deal with signalled errors during connection establishment:
- Reassignment after failure
- Retention until Acknowledgement of TPDUs
- Resynchronization
If no DT or ED TPDU is to be sent, receipt of a CC should be acknowledged.
7.1.5 Data Transfer Phase
Data transfer is accomplished using the 'TPDU transfer' 'Concatenation' and 'DT TPDU Length and Segmenting' mechanisms. 'DT TPDU Numbering' and 'Retention until Acknowledgement of TPDUs' are used in support of error recovery.
7.1.5.1 Behaviour after an error
After receiving a network reset, the Resynchronization mechanism is invoked. After receiving a network disconnect, the 'Reassignment after Failure' mechanism is invoked after which the 'Resynchronization' mechanism is invoked.
The 'Spurious Disconnect' mechanism is used to deal with receipt of a DR TPDU for an unrecognised Transport Connection.
7.1.5.2 Procedure for Expedited Data Transfer
The Expedited Data Transfer mechanism is used. Two methods are possible to provide the function:
-
non network expedited variant
Note: (1) This method is always included in this class.
Note: (2) The EDTPDU-NR of the ED TPDU contains an identification number. This number must be different for successive ED TPDUs. That is, when an ED TPDU has been sent and an EA TPDU for the ED TPDU has been received, the next ED TPDU must have a different value in the EDTPDU-NR field. No other significance is attached to EDTPDU-NR field. It is recommended but not essential, that the values used be consecutive modulo 128.
-
network expedited variant
Note: (1) The use of this method is determined through negotiation during transport connection establishment.
7.1.6 Release Procedures
The 'explicit' variant of the Release mechanism is used.
Receipt of an error indication by a transport entity, which, prior to this event has sent a DR, causes this transport entity to retransmit DR. Only DC and DR will be accepted and interpreted as the completion of the connection release sequence. The related Reference will become unassigned.
7.1.7 Treatment of Unknown TPDUs
The 'Treatment of Protocol Errors' mechanism is used.
7.1.8 Supported Options
Use of network receipt confirmation.
Use of network expedited.