7.2 Class 2: Multiplexing Class (Part 1)
7.2 PROTOCOL DESCRIPTION OF CLASS 2: MULTIPLEXING CLASS
7.2.1 Characteristics of Class 2
The characteristic of this class is to provide a way to multiplex several transport connections onto a single network connection. This class has been designed to be used in association with type A network connections.
Use of Explicit Flow Control
The objective is to provide flow control to help avoid congestion at end-points and on the network connection. Typical use is when traffic is heavy and continuous, or when there is intensive multiplexing. Use of flow control can optimize response times and resource utilization.
Non Use of Explicit Flow Control (optional)
The objective is to provide a basic transport connection with minimal overheads suitable when independence of transport and network connection lifetime is desirable. The class would typically be used for unsophisticated terminals, and when no multiplexing onto network connections is required. Expedited data is never available.
7.2.2 Functions of Class 2
Class 2 provides transport connections with or without individual flow control - no error detection or error recovery is provided.
If the network resets or clears, the transport connection is terminated without the transport clearing sequence and the transport user is informed.
When explicit flow control is used a credit mechanism is defined allowing the receiver to inform the sender of the exact amount of data he is willing to receive and expedited data transfer is available.
7.2.3 Protocol Mechanisms of Class 2
7.2.3.1 Connection Establishment Phase
The connection establishment function shall be used.
7.2.3.1.1 User Data in the Connection Phase
Class 2 provides the possibility to convey data in the connection request and confirm commands.
7.2.3.2 Connection Identification
In Class 2 each TPDU conveys a Destination Reference. This uniquely identifies the transport connection within the receiving transport entity and thus allows multiplexing.
7.2.3.3 Release Phase
The release of a transport connection results either from the use of the 'explicit' variant of the release function or from the Implicit Termination function.
7.2.3.4 Protocol Mechanisms when Explicit Flow Control is used.
The following mechanisms are provided:
7.2.3.4.1 Numbering of Data TPDU
Each Data TPDU transmitted between transport entities for each direction of transmission in a transport connection is sequentially numbered.
Each Data TPDU contains a Send Sequence Number T(S).
7.2.3.4.2 Flow Control Principles
The receiver of data TPDUs holds a count of the sequence number of the next expected TPDU. This count is called the Receive Sequence Number, T(R). The receiver indicated to the sender the number of Data TPDUs he is ready to receive by means of a 'credit' mechanism. Credits are given using the credit field in the AK TPDU. The value of the credit field, in conjunction with the value of T(R) transported by the YR-TU-NR (your TPDU number) field of the AK TPDU, is used by the receiver of the AK TPDU to determine whether and how many Data TPDUs may be accepted by the sender of the AK TPDU. Precise definition of flow control principles appears in Section 7.2.5.5.3.
7.2.3.4.3 Expedited Flow
The non network expedited variant is used. Normal flow is the flow of data subject to the flow control mechanism, expedited flow is the flow of data that the sender may send without explicit agreement of the receiver. This expedited flow has a limited capability and could for example be used to carry session supervisory commands.
The number of expedited data units outstanding at any time is limited to one and the amount of TS-user data is limited (up to 16 octets).
An expedited data may arrive before normal data which was submitted earlier. Normal data submitted after the expedited data will arrive after the expedited data.
7.2.4 Connection Establishment Procedures for Class 2
7.2.4.1 References
See Section 6.5 for reference assignment. Receipt of any TPDU with a reference that is not assigned to a transport connection other than a Disconnect Request (DR) or Connection Request (CR) will be ignored.
Receipt of a Disconnect Request (DR) for an unassigned Reference will result in a Disconnect Confirm (DC) response.
7.2.4.2 Connection Eastablishment
This phase is achieved by exchange of CR/CC TPDU using the 'connection establishment' function. Since the multiplexing function is in use, then more than one transport connection may be assigned to the same network connection concurrently. The restrictions of Class 0 does not apply to this class and the other higher classes.
7.2.5 Data Transfer Procedures for Class 2
The data transfer procedures described in the following section apply independently to each transport connection existing between two transport entities.
7.2.5.1 TPDU Maximum Length and Segmenting
The general rules defined in Section 6.3 apply.
7.2.5.2 Concatenation
The general rules defined in Section 6.4 apply.
7.2.5.3 Sending Data TPDU (No Explicit Flow Control Option)
In this case the data TPDU is built in accordance with the rules stated in Section 6.2 and 6.3 and sent without any additional mechanisms. Thus, the DT TPDU NR field may take any value and no AK TPDU is used.