Skip to main content

4. The Primitives

The protocol assumes that the TCP [RFC-793] offers the following service primitives:

Events

connected       - open succeeded (either ACTIVE or PASSIVE)

connect fails - ACTIVE open failed

data ready - data can be read from the connection

errored - the connection has errored and is now closed

closed - an orderly disconnection has started

Actions

listen on port  - PASSIVE open on the given port

open port - ACTIVE open to the given port

read data - data is read from the connection

send data - data is sent on the connection

close - the connection is closed (pending data is sent)

The protocol offers the following service primitives, as defined in [ISO-8072], to the TS-user:

Events

T-CONNECT.INDICATION

- a TS-user (server) is notified that connection establishment
is in progress

T-DISCONNECT.INDICATION

- a TS-user is notified that the connection is closed

T-CONNECT.CONFIRMATION

- a TS-user (client) is notified that the connection has been
established

T-DATA.INDICATION

- a TS-user is notified that data can be read from the
connection

T-EXPEDITED DATA.INDICATION

- a TS-user is notified that "expedited" data can be read from
the connection

Actions

T-CONNECT.RESPONSE

- a TS-user (server) indicates that it will honor the request

T-DISCONNECT.REQUEST

- a TS-user indicates that the connection is to be closed

T-CONNECT.REQUEST

- a TS-user (client) indicates that it wants to establish a
connection

T-DATA.REQUEST

- a TS-user sends data

T-EXPEDITED DATA.REQUEST

- a TS-user sends "expedited" data