4. Die Primitive
Das Protokoll setzt voraus, dass TCP [RFC793] die folgenden Service-Primitive anbietet:
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)
Diese Memo beschreibt, wie diese Dienste verwendet werden, um die folgenden Service-Primitive nachzubilden, die von [ISO8073] gefordert werden:
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
Das Protokoll bietet dem TS-User die folgenden Service-Primitive an, wie in [ISO8072] definiert:
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