Passa al contenuto principale

4. Le primitive

Il protocollo presuppone che il TCP [RFC793] offra le seguenti primitive di servizio:

                             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)

Questo memo descrive come usare questi servizi per emulare le seguenti primitive di servizio, richieste da [ISO8073]:

                          Events

N-CONNECT.INDICATION
- An NS-user (responder) is notified that
connection establishment is in progress

N-CONNECT.CONFIRMATION
- An NS-user (responder) is notified that
the connection has been established

N-DATA.INDICATION
- An NS-user is notified that data can be
read from the connection

N-DISCONNECT.INDICATION
- An NS-user is notified that the connection
is closed

Actions

N-CONNECT.REQUEST
- An NS-user (initiator) indicates that it
wants to establish a connection

N-CONNECT.RESPONSE
- An NS-user (responder) indicates that it
will honor the request

N-DATA.REQUEST - An NS-user sends data

N-DISCONNECT.REQUEST
- An NS-user indicates that the connection
is to be closed

Il protocollo offre al TS-user le seguenti primitive di servizio, così come definite in [ISO8072]:

                             Events

T-CONNECT.INDICATION
- a TS-user (responder) is notified that
connection establishment is in progress

T-CONNECT.CONFIRMATION
- a TS-user (initiator) 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

T-DISCONNECT.INDICATION
- a TS-user is notified that the connection
is closed

Actions

T-CONNECT.REQUEST
- a TS-user (initiator) indicates that it
wants to establish a connection

T-CONNECT.RESPONSE
- a TS-user (responder) indicates that it
will honor the request

T-DATA.REQUEST - a TS-user sends data

T-EXPEDITED DATA.REQUEST
- a TS-user sends "expedited" data

T-DISCONNECT.REQUEST
- a TS-user indicates that the connection
is to be closed