home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1997 December / Internet_Info_CD-ROM_Walnut_Creek_December_1997.iso / rfc / rfc2188 < prev    next >
Text File  |  1997-09-09  |  118KB  |  3,196 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7. Network Working Group                                         M. Banan
  8. Request for Comments: 2188                                        Neda
  9. Category: Informational                                      M. Taylor
  10.                                                                    AWS
  11.                                                               J. Cheng
  12.                                                                    AWS
  13.                                                         September 1997
  14.  
  15.  
  16.           AT&T/Neda's Efficient Short Remote Operations (ESRO)
  17.                    Protocol Specification Version 1.2
  18.  
  19.  
  20. Status of this Memo
  21.  
  22.    This memo provides information for the Internet community.  It does
  23.    not specify an Internet standard of any kind.  Distribution of this
  24.    memo is unlimited.
  25.  
  26. IESG Note
  27.  
  28.    This protocol has not had the benefit of IETF Working Group review,
  29.    but a cursory examination reveals several issues which may be
  30.    significant issues for scalability.  A site considering deployment
  31.    should conduct a careful analysis to ensure they understand the
  32.    potential impacts.
  33.  
  34. Abstract
  35.  
  36.   This document specifies the service model, the notation and protocol
  37.   for Efficient Short Remote Operations (ESRO). The ESRO service is
  38.   similar to and is consistent with other Remote Procedure Call
  39.   services.  The emphasis of ESRO service definition and the ESRO
  40.   protocol is on efficiency.  ESRO is designed specifically with
  41.   wireless network (e.g., CDPD) usage in mind.
  42.  
  43.   ESRO protocol provides reliable connectionless remote operation
  44.   services on top of UDP (or any other non-reliable connectionless
  45.   transport service) with minimum overhead.  ESRO protocol supports
  46.   segmentation and reassembly, concatenation and separation as well as
  47.   multiplexing for service users (applications).
  48.  
  49.   ESRO allows for trade-offs between efficiency and reliability by
  50.   specifying both 2-way hand-shake and 3-way hand-shake based protocols.
  51.  
  52.   Encoding mechanisms for presentation of the parameters of remote
  53.   operations are outside the scope of this document.  But,
  54.   identification (tagging) of the encoding mechanism in use (e.g., XDR,
  55.  
  56.  
  57.  
  58. Banan, et. al                Informational                      [Page 1]
  59.  
  60. RFC 2188                          ESRO                    September 1997
  61.  
  62.  
  63.   BER, PER) is supported by ESRO protocol.
  64.  
  65.   A variety of applications can use the ESRO protocol.  Some early
  66.   applications using ESRO include efficient short message submission and
  67.   delivery, credit card authorization and white pages lookup.
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114. Banan, et. al                Informational                      [Page 2]
  115.  
  116. RFC 2188                          ESRO                    September 1997
  117.  
  118.  
  119. Contents
  120.  
  121.   1  INTRODUCTION                                                      4
  122.      1.1 Relationship To Existing Remote Operation Services    .       5
  123.          1.1.1 ESRO and RPC    .   .   .   .   .   .   .   .   .       5
  124.          1.1.2 ESRO and ROSE   .   .   .   .   .   .   .   .   .       5
  125.      1.2 Overview of ESROS     .   .   .   .   .   .   .   .   .       5
  126.      1.3 The Remote Operation Model    .   .   .   .   .   .   .       6
  127.   2  ESRO SERVICE DEFINITIONS                                          8
  128.      2.1 Acknowledged Result Service Mode  .   .   .   .   .   .       9
  129.          2.1.1 Performer side .   .   .   .   .   .   .   .   .        9
  130.          2.1.2 Invoker side    .   .   .   .   .   .   .   .   .      11
  131.      2.2 Non-acknowledged Result   .   .   .   .   .   .   .   .      11
  132.          2.2.1 Performer side .   .   .   .   .   .   .   .   .       12
  133.          2.2.2 Invoker side    .   .   .   .   .   .   .   .   .      12
  134.      2.3 Serialized Use of ESRO Services   .   .   .   .   .   .      12
  135.          2.3.1 Invoker     .   .   .   .   .   .   .   .   .   .      12
  136.          2.3.2 Performer   .   .   .   .   .   .   .   .   .   .      12
  137.      2.4 ESROS-INVOKE Service  .   .   .   .   .   .   .   .   .      13
  138.          2.4.1 Operation-value     .   .   .   .   .   .   .   .      13
  139.          2.4.2 Performer-address   .   .   .   .   .   .   .   .      14
  140.          2.4.3 Invoker-address     .   .   .   .   .   .   .   .      14
  141.          2.4.4 Invoke-argument-encoding-type   .   .   .   .   .      15
  142.          2.4.5 Invoke-argument     .   .   .   .   .   .   .   .      15
  143.          2.4.6 Invoke-ID   .   .   .   .   .   .   .   .   .   .      15
  144.          2.4.7 Failure-value   .   .   .   .   .   .   .   .   .      16
  145.      2.5 ESROS-RESULT Service  .   .   .   .   .   .   .   .   .      16
  146.          2.5.1 Result-argument-encoding-type   .   .   .   .   .      16
  147.          2.5.2 Result-argument     .   .   .   .   .   .   .   .      17
  148.          2.5.3 Invoke-ID   .   .   .   .   .   .   .   .   .   .      17
  149.          2.5.4 Failure-value   .   .   .   .   .   .   .   .   .      18
  150.      2.6 ESROS-ERROR Service   .   .   .   .   .   .   .   .   .      18
  151.          2.6.1 Error-value     .   .   .   .   .   .   .   .   .      18
  152.          2.6.2 Error-argument-encoding-type    .   .   .   .   .      19
  153.          2.6.3 Error-argument .   .   .   .   .   .   .   .   .       19
  154.          2.6.4 Invoke-ID   .   .   .   .   .   .   .   .   .   .      20
  155.          2.6.5 Failure-value   .   .   .   .   .   .   .   .   .      20
  156.      2.7 ESROS-FAILURE Service     .   .   .   .   .   .   .   .      20
  157.          2.7.1 Failure-value   .   .   .   .   .   .   .   .   .      21
  158.          2.7.2 Invoke-ID   .   .   .   .   .   .   .   .   .   .      21
  159.   3  ESRO SERVICE NOTATION                                            21
  160.      3.1 ES-OPERATION Notation     .   .   .   .   .   .   .   .      22
  161.      3.2 Mapping of ESROS Notation     .   .   .   .   .   .   .      22
  162.          3.2.1 Invocation of an Operation .   .   .   .   .   .       22
  163.          3.2.2 Reply of an Operation   .   .   .   .   .   .   .      22
  164.   4  REMOTE OPERATIONS PROTOCOL                                       23
  165.      4.1 Overview of the Protocol  .   .   .   .   .   .   .   .      23
  166.          4.1.1 Service Provision (Invoker User)    .   .   .   .      24
  167.  
  168.  
  169.  
  170. Banan, et. al                Informational                      [Page 3]
  171.  
  172. RFC 2188                          ESRO                    September 1997
  173.  
  174.  
  175.          4.1.2 Service Provision (Performer User) .   .   .   .       24
  176.      4.2 Protocol Procedures   .   .   .   .   .   .   .   .   .      25
  177.          4.2.1 Service Access Point (SAP) Bind Procedure   .   .      25
  178.          4.2.2 Invoke Service Procedure    .   .   .   .   .   .      25
  179.          4.2.3 Invoke ID Assignment Procedure .   .   .   .   .       25
  180.          4.2.4 Functional Unit Selection Procedure     .   .   .      26
  181.      4.3 Connectionless PDU Transfer For Small PDUs    .   .   .      26
  182.          4.3.1 Overview    .   .   .   .   .   .   .   .   .   .      26
  183.          4.3.2 3-Way Handshake Functional Unit     .   .   .   .      28
  184.          4.3.3 2-Way Handshake Functional Unit     .   .   .   .      35
  185.          4.3.4 Segmentation and Reassembly     .   .   .   .   .      40
  186.      4.4 Structure and Encoding of ESROS PDUs  .   .   .   .   .      43
  187.          4.4.1 ESRO-INVOKE-PDU Format .   .   .   .   .   .   .       43
  188.          4.4.2 ESRO-RESULT-PDU Format .   .   .   .   .   .   .       45
  189.          4.4.3 ESRO-ERROR-PDU Format   .   .   .   .   .   .   .      46
  190.          4.4.4 ESRO-ACK-PDU Format     .   .   .   .   .   .   .      47
  191.          4.4.5 ESRO-FAILURE-PDU Format     .   .   .   .   .   .      47
  192.          4.4.6 ESRO-INVOKE-SEGMENTED-PDU Format    .   .   .   .      48
  193.          4.4.7 ESRO-RESULT-SEGMENTED-PDU Format    .   .   .   .      50
  194.          4.4.8 ESRO-ERROR-SEGMENTED-PDU Format     .   .   .   .      51
  195.      4.5 Concatenation and Separation  .   .   .   .   .   .   .      52
  196.          4.5.1 Procedures .   .   .   .   .   .   .   .   .   .       53
  197.          4.5.2 ESRO-CONCATENATED-PDU format    .   .   .   .   .      53
  198.      4.6 ES Remote Operations Protocol Parameters  .   .   .   .      54
  199.          4.6.1 PDU size    .   .   .   .   .   .   .   .   .   .      54
  200.          4.6.2 Timers .   .   .   .   .   .   .   .   .   .   .       55
  201.          4.6.3 Use of lower layers     .   .   .   .   .   .   .      56
  202.   5  ACKNOWLEDGMENTS  .   .   .   .   .   .   .   .   .   .   .   .   56
  203.   6  SECURITY CONSIDERATIONS  .   .   .   .   .   .   .   .   .   .   56
  204.   7  AUTHORS' ADDRESSES   .   .   .   .   .   .   .   .   .   .   .   56
  205.  
  206. 1  INTRODUCTION
  207.  
  208.    Efficient Short Remote Operations (ESRO) provide an efficent
  209.    mechanism for realization of Remote Procedure Call.  This document
  210.    specifies many aspects of ESRO including:
  211.  
  212.      o Service Model
  213.  
  214.      o Service Primitves
  215.  
  216.      o A Notation for user of the Service
  217.  
  218.      o Confirmed Connectionless Protocol (based on a 3-way hand-shake)
  219.  
  220.      o Unconfirmed Connectionless Protocol (based on a 2-way hand-shake)
  221.  
  222.  
  223.  
  224.  
  225.  
  226. Banan, et. al                Informational                      [Page 4]
  227.  
  228. RFC 2188                          ESRO                    September 1997
  229.  
  230.  
  231. 1.1  Relationship To Existing Remote Operation Services
  232.  
  233.    The overall model of ESRO is similar to and consistent with many
  234.    existing protocols.  ESRO's distinguishing characteristic is
  235.    efficiency.
  236.  
  237.    A brief comparison of ESRO and Remote Procedure Calls [7] and Remote
  238.    Operation Service Elements [1] follows.
  239.  
  240. 1.1.1  ESRO and RPC
  241.  
  242.    Remote Procedure Call (RPC) is specified in [7] (RFC-1831) and [6]
  243.    (RFC-1833).
  244.  
  245.    RPC specifications define a remote procedure model that is
  246.    essentially same as ESRO. RPC's notation uses a syntax quite
  247.    different from that of ESRO. RPC can rely on a connection oriented or
  248.    connectionless transport mechanism.  When using the connectionless
  249.    mechanism, the retransmission and reliability issues are considered
  250.    beyond the scope of the RPC specification.  RPC is usually used in
  251.    combination with External Data Representation, XDR [8] (RFC-1832).
  252.  
  253. 1.1.2  ESRO and ROSE
  254.  
  255.    ROSE is specified in [1] and [2].  The service definition for ESRO
  256.    Service (ESROS) specified in this document is similar ROSE's
  257.    Notation.  The Notation specified in this document for ESROS is
  258.    similar ROSE's Notation.  The ESRO protocol specified in this
  259.    document is very different from the ROSE protocol [2].
  260.  
  261.    The operation model for ESRO Service (ESROS) is based on Remote
  262.    Operations Services Element (ROSE) in [1].  In ESROS model both
  263.    entities can invoke operations.
  264.  
  265.    ESRO protocols can accomplish short operations with much less
  266.    overhead than ROSE.
  267.  
  268. 1.2  Overview of ESROS
  269.  
  270.    ESROS provides a service which supports interaction of applications
  271.    based on a remote operation model.  A Remote Operation is invoked by
  272.    one entity; the other entity attempts to perform the Remote Operation
  273.    and then reports the outcome of the attempt.  The ESROS protocol is
  274.    designed such that it could support many applications.
  275.  
  276.  
  277.  
  278.  
  279.  
  280.  
  281.  
  282. Banan, et. al                Informational                      [Page 5]
  283.  
  284. RFC 2188                          ESRO                    September 1997
  285.  
  286.  
  287. 1.3  The Remote Operation Model
  288.  
  289.    ESROS provides for performance of operations between two peer
  290.    sublayers.  Users of the ESROS assume the roles of invoker and
  291.    performer which invoke and perform the operations respectively.  An
  292.    ESROS-User can assume both roles and be an invoker for some
  293.    operations and be a performer for other operations.  The performer is
  294.    expected to report either the result of the operation or an error.  A
  295.    result reply is sent to the invoker if the operation is successful,
  296.    and an error reply is sent if the operation is unsuccessful.  If the
  297.    performer is unreachable, the ESROS sends a failure indication
  298.    primitive to the invoker.
  299.  
  300.    Operations are asynchronous and the invoker may continue to invoke
  301.    further operations without waiting for a reply.  Synchronous or
  302.    serialized operations are also supported as a subset and a special
  303.    case of asynchronous service.  By default the ESRO service provider
  304.    on both invoker and performer sides supports the asynchronous
  305.    operation invocation.  However, if one side is to support only
  306.    serialized (synchronous) mode, it should be in agreement with the
  307.    peer side.
  308.  
  309.    ESROS has no authentication mechanism.  Authentication is the
  310.    responsibility of the performer (which is outside of the scope of
  311.    ESROS) and the performer is not expected to honor the invoker when it
  312.    is not authenticated.
  313.  
  314.    The ESROS operation model is represented in Figure 1.  In this
  315.    example, the ESROS User on the left is the Invoker and the ESROS User
  316.    on the right is the Performer.  The Provider is the entity providing
  317.    a service to the layer above it.
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338. Banan, et. al                Informational                      [Page 6]
  339.  
  340. RFC 2188                          ESRO                    September 1997
  341.  
  342.  
  343.    ESROS      -------------------    -------------------     ESROS
  344.    User      | Layer above ESROS |  | Layer above ESROS |    User
  345.    (Invoker) |                   |  |                   |  (Performer)
  346.               -------------------    -------------------
  347.       ^                |                      |                ^
  348.       |                |                      |                |
  349.       v                |                      |                v
  350.    ESROS     -------------------    -------------------      ESROS
  351.    Provider |       ESROS       |  |       ESROS       |    Provider
  352.              -------------------    -------------------
  353.                        |                      |
  354.                        |                      |
  355.                        |                      |
  356.              -------------------    -------------------
  357.             |    UDP           |   |   UDP             |
  358.              -------------------    -------------------
  359.                      _                    _/
  360.                        _                _/
  361.                          _    .       _/
  362.                            _ . .* . _/
  363.                              . * .* .
  364.                                * . *
  365.  
  366.  
  367.                     Figure 1:  ES Remote Operation Model
  368.  
  369.  
  370.  
  371.  
  372.  
  373.  
  374.  
  375.  
  376.  
  377.  
  378.  
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394. Banan, et. al                Informational                      [Page 7]
  395.  
  396. RFC 2188                          ESRO                    September 1997
  397.  
  398.  
  399.                   Invoker        Performer
  400.                  ESRO SAP         ESRO SAP
  401.                        |               |
  402.                        |               |
  403.    ESROS-INVOKE.req.   |               | ESROS-INVOKE.ind.
  404.    -------->-----------|               |-------->---------
  405.                        |               |
  406.    ESROS-INVOKE-P.conf.|               |
  407.    --------<-----------|               |
  408.                        |               |
  409.                        |               |
  410.                        |               |
  411.    ESROS-RESULT.ind.   |               | ESROS-RESULT.req.
  412.    --------<-----------|               |--------<---------
  413.                        |               |
  414.                        |               | ESROS-RESULT.conf.
  415.                        |               |-------->---------
  416.                        |               |
  417.                        |               |
  418.    ESROS-ERROR.ind.    |               | ESROS-ERROR.req.
  419.    --------<-----------|               |--------<---------
  420.                        |               |
  421.                        |               | ESROS-ERROR.conf.
  422.                        |               |-------->---------
  423.                        |               |
  424.                        |               |
  425.                        |               |
  426.                        |               |
  427.    ESROS-FAILURE.ind.  |               | ESROS-FAILURE.ind.
  428.    --------<-----------|               |-------->---------
  429.                        |               |
  430.  
  431.  
  432.              Figure 2:  Time sequence diagram for ESRO services
  433.  
  434.  
  435.  
  436. 2  ESRO SERVICE DEFINITIONS
  437.  
  438.    ESRO service primitives are illustrated in Figure 2, Table 1 and
  439.    Table 2.  The description of services and primitives comes in the
  440.    following sections.
  441.  
  442.    ESROS-User accesses ESRO services through Efficient Short Remote
  443.    Operations Service Access Point (ESRO-SAP) as shown in Figure 2.
  444.  
  445.    The RESULT.request, ERROR.request and FAILURE.indication service
  446.    primitives can be implemented in two different modes:
  447.  
  448.  
  449.  
  450. Banan, et. al                Informational                      [Page 8]
  451.  
  452. RFC 2188                          ESRO                    September 1997
  453.  
  454.  
  455.     1. Acknowledged Result, and
  456.  
  457.     2. Non-Acknowledged Result
  458.  
  459.                  _____________________________________________
  460.                  | ESRO Service   |Type                      |
  461.                  |________________|__________________________|
  462.                  | ESROS-INVOKE   |Non-confirmed             |
  463.                  | ESROS-INVOKE-P |Provider-initiated        |
  464.                  | ESROS-RESULT   |Confirmed / Non-confirmed |
  465.                  | ESROS-ERROR    |Confirmed / Non-confirmed |
  466.                  | ESROS-FAILURE  |Provider initiated        |
  467.                  |________________|__________________________|
  468.  
  469.                            Table 1:  ESRO Services
  470.  
  471.    as described below.  The difference between different modes is in
  472.    their reliability of service and efficiency.  Reliability of service
  473.    is defined based on the understanding of invoker and performer about
  474.    the success or failure of the operation on the peer side.  Table 3
  475.    and Table 4 summarize understanding of performer about success or
  476.    failure on invoker side in different situations.  In these tables the
  477.    FAILURE.indication refers to the primitive generated by protocol and
  478.    not the failure of local provider.
  479.  
  480. 2.1  Acknowledged Result Service Mode
  481.  
  482.    In this service mode, the result is acknowledged by invoker, but the
  483.    mechanism by which the acknowledgment is accomplished may not be
  484.    reliable.  Table 3 summarizes the relationship between performer and
  485.    invoker in success and failure cases.
  486.  
  487. 2.1.1  Performer side
  488.  
  489.    In this type of service, the RESULT.confirm and ERROR.confirm
  490.    primitives on performer side are generated if the result/error is
  491.    acknowledged by invoker.
  492.  
  493.    The FAILURE.indication on performer side is generated if result/error
  494.    is not acknowledged by invoker or if there is a local failure on
  495.    performer side.
  496.  
  497.    >From the protocol point of view, the FAILURE.indication might be
  498.    because either the result/error PDU or the ack PDU is lost.  The
  499.    outcome of this is that a FAILURE.indication is not robust as the
  500.    operation may have been successful from the invoker's perspective.
  501.    One method of compensating for this shortcoming is having the
  502.    performer verify the FAILURE.indication in a separate operation.
  503.  
  504.  
  505.  
  506. Banan, et. al                Informational                      [Page 9]
  507.  
  508. RFC 2188                          ESRO                    September 1997
  509.  
  510.  
  511.    ____________________________________________________________
  512.    | Primitive                |Parameters                     |
  513.    |--------------------------+-------------------------------|
  514.    |                          |Operation-value                |
  515.    |                          |Performer-address              |
  516.    | ESROS-INVOKE.request     |Invoke-argument-encoding-type  |
  517.    |                          |Invoke-argument                |
  518.    |--------------------------+-------------------------------|
  519.    |                          |Operation-value                |
  520.    |                          |Invoker-address                |
  521.    | ESROS-INVOKE.indication  |Invoke-argument-encoding-type  |
  522.    |                          |Invoke-argument                |
  523.    |                          |Invoke-ID                      |
  524.    |--------------------------+-------------------------------|
  525.    | ESROS-INVOKE-P.confirm   |Invoke-ID                      |
  526.    |==========================================================|
  527.    |                          |                               |
  528.    |                          |Result-argument-encoding-type  |
  529.    | ESROS-RESULT.request     |Result-argument                |
  530.    |                          |Invoke-ID                      |
  531.    |--------------------------+-------------------------------|
  532.    |                          |Result-argument-encoding-type  |
  533.    | ESROS-RESULT.indication  |Result-argument                |
  534.    |                          |Invoke-ID                      |
  535.    |--------------------------+-------------------------------|
  536.    | ESROS-RESULT.confirm     |Invoke-ID                      |
  537.    |==========================================================|
  538.    |                          |                               |
  539.    |                          |Error-value                    |
  540.    |                          |Error-argument-encoding-type   |
  541.    | ESROS-ERROR.request      |Error-argument                 |
  542.    |--------------------------+-------------------------------|
  543.    |                          |Error-value                    |
  544.    |                          |Error-argument-encoding-type   |
  545.    | ESROS-ERROR.indication   |Error-argument                 |
  546.    |                          |Invoke-ID                      |
  547.    |--------------------------+-------------------------------|
  548.    | ESROS-ERROR.confirm      |Invoke-ID                      |
  549.    |==========================================================|
  550.    |                          |                               |
  551.    |                          |Failure-value                  |
  552.    | ESROS-FAILURE.indication |Invoke-ID                      |
  553.    |__________________________|_______________________________|
  554.  
  555.  
  556.     Table 2:  ESRO service primitives and associated parameters
  557.  
  558.  
  559.  
  560.  
  561.  
  562. Banan, et. al                Informational                     [Page 10]
  563.  
  564. RFC 2188                          ESRO                    September 1997
  565.  
  566.  
  567.    ______________________________________________________________
  568.    |Service Mode        |Performer          |Invoker            |
  569.    |--------------------+-------------------+-------------------|
  570.    |Acknowledged Result |RESULT.confirm     |RESULT.indication  |
  571.    |                    |-------------------+-------------------|
  572.    |                    |FAILURE.indication |RESULT.indication  |
  573.    |                    | (protocol)        |                   |
  574.    |                    |-------------------+-------------------|
  575.    |                    |FAILURE.indication |FAILURE.indication |
  576.    |                    | (protocol)        | (protocol)        |
  577.    |____________________|___________________|___________________|
  578.  
  579.  
  580.     Table 3:  Success and Failure in Acknowledged Result Mode
  581.  
  582.  
  583.    __________________________________________________________________
  584.    |Service Mode            |Performer           |Invoker            |
  585.    |------------------------+--------------------+-------------------|
  586.    |Non-acknowledged Result |RESULT.confirm      |RESULT.indication  |
  587.    |                        +--------------------+-------------------|
  588.    |                        |RESULT.confirm      |FAILURE.indication |
  589.    |                        |                    | (protocol)        |
  590.    |                        +--------------------+-------------------|
  591.    |                        |FAILURE.indication  |                   |
  592.    |                        |(protocol)          |                   |
  593.    |                        |does not            |---                |
  594.    |                        |exist               |                   |
  595.    |________________________|____________________|___________________|
  596.  
  597.  
  598.     Table 4:  Success and Failure in Non-acknowledged Result Mode
  599.  
  600.  
  601.  
  602. 2.1.2  Invoker side
  603.  
  604.    When invoker receives failure indication, the performer has the
  605.    failure indication too.
  606.  
  607.    This type of service can be implemented by protocols based on 3-Way
  608.    handshaking.
  609.  
  610. 2.2  Non-acknowledged Result
  611.  
  612.    In this service mode the result is not acknowledged.  Table 4
  613.    summarizes the relationship between performer and invoker in success
  614.    and failure cases.
  615.  
  616.  
  617.  
  618. Banan, et. al                Informational                     [Page 11]
  619.  
  620. RFC 2188                          ESRO                    September 1997
  621.  
  622.  
  623. 2.2.1  Performer side
  624.  
  625.    In this type of service, the RESULT.confirm and ERROR.confirm
  626.    primitives on performer side are generated without receiving
  627.    additional information from the invoker peer.  In other words, these
  628.    Primitives have no protocol-related meaning and convey no
  629.    information, other than end-of-operation.
  630.  
  631.    The FAILURE.indication on performer side is not generated by
  632.    protocol.  The only case that can generate FAILURE.indication on
  633.    performer side is local failure in service provider on performer
  634.    side.
  635.  
  636. 2.2.2  Invoker side
  637.  
  638.    The FAILURE.indication on invoker side can be the resultof not
  639.    receiving result/error/failure from peer performer or it can result
  640.    from failure in local service provider.
  641.  
  642.    This type of service can be implemented by protocols based on 2-Way
  643.    handshaking.
  644.  
  645. 2.3  Serialized Use of ESRO Services
  646.  
  647.    Although the ESRO Services are defined to support asynchronous
  648.    operation invocation in general, they can be used in the special case
  649.    of synchronous (serialized) mode too.  The serialized use of ESRO
  650.    Services is implementation specific.  However, one of the possible
  651.    scenarios is as follows:
  652.  
  653. 2.3.1  Invoker
  654.  
  655.    Invokes an operation after it receives either RESULT.indication,
  656.    ERROR.indication, or FAILURE.indication for the previous operation.
  657.  
  658. 2.3.2  Performer
  659.  
  660.    Considers an operation to be complete and accepts the next operation
  661.    after it receives RESULT.confirm, ERROR.confirm, or
  662.    FAILURE.indication.
  663.  
  664.  
  665.  
  666.  
  667.  
  668.  
  669.  
  670.  
  671.  
  672.  
  673.  
  674. Banan, et. al                Informational                     [Page 12]
  675.  
  676. RFC 2188                          ESRO                    September 1997
  677.  
  678.  
  679.                   Invoker        Performer
  680.                  ESROS AP         ESROS AP
  681.                        |               |
  682.                        |               |
  683.    ESROS-INVOKE.req.   |               | ESROS-INVOKE.ind.
  684.    -------->-----------|               |-------->---------
  685.                        |               |
  686.    ESROS-INVOKE-P.conf.|               |
  687.    --------<-----------|               |
  688.                        |               |
  689.    ESROS-FAILURE.ind.  |               |
  690.    --------<-----------|               |
  691.                        |               |
  692.  
  693.  
  694.    Figure 3:  Time sequence diagram for ESROS-INVOKE service
  695.  
  696.  
  697.  
  698.  
  699. 2.4  ESROS-INVOKE Service
  700.  
  701.    The ESROS-INVOKE service is used by an ESROS-User (the invoker) to
  702.    cause the invocation of an OPERATION to be performed by the other
  703.    ESROS-User (the performer).
  704.  
  705.    ESROS Invoker User issues ESROS-INVOKE.request primitive to invoke an
  706.    operation.
  707.  
  708.    ESROS-INVOKE.indication primitive provides the ESROS Performer User
  709.    with the parameters of the invoked operation.
  710.  
  711.    ESRO Service Provider issues the ESROS-INVOKE-P.confirm primitive to
  712.    provide the ESROS Invoker User with Invoke-ID of the invoked
  713.    operation.
  714.  
  715.    The related service structure consists of three service primitives as
  716.    illustrated in Figure 3 and Table 5.
  717.  
  718. 2.4.1  Operation-value
  719.  
  720.    This value is the identifier of the operation to be invoked.  The
  721.    value is agreed upon between the ESROS Users.  This parameter has to
  722.    be supplied by the invoker of the service.
  723.  
  724.    ESROS Invoker User provides the Operation-value parameter for the
  725.    ESROS-INVOKE.request primitive.  The Operation-value parameter of
  726.    ESROS-INVOKE.indication is provided to the ESROS Performer User.
  727.  
  728.  
  729.  
  730. Banan, et. al                Informational                     [Page 13]
  731.  
  732. RFC 2188                          ESRO                    September 1997
  733.  
  734.  
  735.           _____________________________________________________________
  736.           | Primitive                |Parameters                       |
  737.           |__________________________|_________________________________|
  738.           |                          |Operation-value                  |
  739.           |                          |Performer-address                |
  740.           | ESROS-INVOKE.request     |Invoke-argument-encoding-type    |
  741.           |                          |Invoke-argument                  |
  742.           |__________________________|_________________________________|
  743.           |                          |Operation-value                  |
  744.           |                          |Invoker-address                  |
  745.           |                          |Invoke-argument-encoding-type    |
  746.           | ESROS-INVOKE.indication  |Invoke-argument                  |
  747.           |                          |Invoke-ID                        |
  748.           |__________________________|_________________________________|
  749.           | ESROS-INVOKE-P.confirm   |Invoke-ID                        |
  750.           |                          |Failure-value                    |
  751.           |__________________________|_________________________________|
  752.           | ESROS-FAILURE.indication |Invoke-ID                        |
  753.           |__________________________|_________________________________|
  754.  
  755.  
  756.      Table 5:  ESROS-INVOKE service primitives and associated parameters
  757.  
  758.  
  759.  
  760.  
  761. 2.4.2  Performer-address
  762.  
  763.    This parameter is the address of the ESROS Performer User which
  764.    consists of ESRO Service Access Point (SAP) Selector, Transport
  765.    Service Access Point (TSAP) Selector (e.g., port number), and Network
  766.    Service Access Point (NSAP) address (e.g., IP address).  This
  767.    parameter has to be supplied by the invoker of the service.
  768.  
  769.    ESROS Invoker User provides the Performer-address parameter for the
  770.    ESROS-INVOKE.request primitive.
  771.  
  772. 2.4.3  Invoker-address
  773.  
  774.    This parameter is the address of the ESROS Invoker User which
  775.    consists of ESRO Service Access Point (SAP) Selector, Transport
  776.    Service Access Point (TSAP) Selector (e.g.  port number), and Network
  777.    Service Access Point (NSAP) address (e.g.  IP address).
  778.  
  779.    The Invoker-address parameter of ESROS-INVOKE.indication is provided
  780.    to the ESROS Performer User.
  781.  
  782.  
  783.  
  784.  
  785.  
  786. Banan, et. al                Informational                     [Page 14]
  787.  
  788. RFC 2188                          ESRO                    September 1997
  789.  
  790.  
  791. 2.4.4  Invoke-argument-encoding-type
  792.  
  793.    This parameter identifies the encoding type of the Invoke-argument
  794.    (see next subsection).  The encoding type has to be agreed upon
  795.    between ESROS Users.  This parameter has to be supplied by the
  796.    invoker of the service.
  797.  
  798.    ESROS Invoker User provides the Invoke-argument-encoding-type
  799.    parameter for the ESROS-INVOKE.request primitive.  The Invoke-
  800.    argument-encoding-type parameter of ESROS-INVOKE.indication is
  801.    provided to the ESROS Performer User.
  802.  
  803. 2.4.5  Invoke-argument
  804.  
  805.    This parameter is the argument of the invoked operation.  The type
  806.    has to be agreed between the ESROS Users.  This parameter has to be
  807.    supplied by the invoker of the service.  Encoding type of the
  808.    Invoke-argument is specified through the Invoke-argument-encoding-
  809.    type parameter (see previous subsection).
  810.  
  811.    ESROS Invoker User provides the Invoke-argument parameter for the
  812.    ESROS-INVOKE.request primitive.  The Invoke-argument parameter of
  813.    ESROS-INVOKE.indication is provided to the ESROS Performer User.
  814.  
  815. 2.4.6  Invoke-ID
  816.  
  817.    This parameter identifies the invocation of an ESROS-INVOKE service
  818.    and is used to correlate this invocation with the corresponding
  819.    replies (ESROS-RESULT, ESROS-ERROR, and ESROS-FAILURE services.)
  820.    This parameter has to be supplied by the ESROS provider.
  821.  
  822.    This parameter distinguishes several invocations of the service in
  823.    progress (asynchronous operations).  The ESROS provider may begin to
  824.    reuse Invoke-ID values whenever it chooses, subject to the constraint
  825.    that it may not reuse an Invoke-ID value that was previously assigned
  826.    to an invocation of the service for which it expects, but has not yet
  827.    received a reply.  In other words, the provider does not reuse a
  828.    previously used Invoke-ID unless the corresponding service is fully
  829.    completed.
  830.  
  831.  
  832.  
  833.  
  834.  
  835.  
  836.  
  837.  
  838.  
  839.  
  840.  
  841.  
  842. Banan, et. al                Informational                     [Page 15]
  843.  
  844. RFC 2188                          ESRO                    September 1997
  845.  
  846.  
  847. 2.4.7  Failure-value
  848.  
  849.    This parameter identifies the failure that occurred during the
  850.    processing or transmission of any of the service primitives of ESROS.
  851.  
  852.                   Invoker        Performer
  853.                  ESROS AP         ESROS AP
  854.                        |               |
  855.                        |               |
  856.    ESROS-RESULT.ind.   |               | ESROS-RESULT.req.
  857.    --------<-----------|               |--------<---------
  858.                        |               |
  859.                        |               | ESROS-RESULT.conf.
  860.                        |               |-------->---------
  861.                        |               |
  862.                        |               | ESROS-FAILURE.ind.
  863.                        |               |-------->---------
  864.                        |               |
  865.  
  866.  
  867.    Figure 4:  Time sequence diagram for ESROS-RESULT service
  868.  
  869.  
  870.  
  871.    This parameter has to be supplied by the ESROS provider (see also
  872.    Section 2.7).
  873.  
  874. 2.5  ESROS-RESULT Service
  875.  
  876.    The ESROS-RESULT service is used by an ESROS User to reply to a
  877.    previous ESROS-INVOKE.indication in the case of a successfully
  878.    performed operation.  This service is either confirmed or non-
  879.    confirmed based on the service mode (see Section 2).
  880.  
  881.    The related service structure consists of three service primitives as
  882.    illustrated in Figure 4 and Table 6.
  883.  
  884. 2.5.1  Result-argument-encoding-type
  885.  
  886.    This parameter identifies the encoding type of the Result-argument
  887.    (see next subsection).  The encoding type has to be agreed upon
  888.    between the ESROS Users.  This parameter has to be supplied by the
  889.    ESROS Performer User.
  890.  
  891.    ESROS Performer User provides the Result-argument-encoding-type
  892.    parameter for the ESROS-RESULT.request primitive.  The Result-
  893.    argument-encoding-type parameter of ESROS-RESULT.indication is
  894.    provided to the ESROS Invoker User.
  895.  
  896.  
  897.  
  898. Banan, et. al                Informational                     [Page 16]
  899.  
  900. RFC 2188                          ESRO                    September 1997
  901.  
  902.  
  903.    ______________________________________________________________
  904.    | Primitive                |Parameters                       |
  905.    |__________________________|_________________________________|
  906.    |                          |Result-argument-encoding-type    |
  907.    |                          |Result-argument                  |
  908.    | ESROS-RESULT.request     |Invoke-ID                        |
  909.    |__________________________|_________________________________|
  910.    |                          |                                 |
  911.    |                          |Result-argument-encoding-type    |
  912.    |                          |Result-argument                  |
  913.    | ESROS-RESULT.indication  |Invoke-ID                        |
  914.    |__________________________|_________________________________|
  915.    |                          |                                 |
  916.    | ESROS-RESULT.confirm     |Invoke-ID                        |
  917.    |                          |Failure-value                    |
  918.    |                          |                                 |
  919.    |__________________________|_________________________________|
  920.    | ESROS-FAILURE.indication |Invoke-ID                        |
  921.    |__________________________|_________________________________|
  922.  
  923.  
  924.    Table 6:  ESROS-RESULT service primitives and associated parameters
  925.  
  926.  
  927.  
  928.  
  929. 2.5.2  Result-argument
  930.  
  931.    This parameter is the result of an invoked and successfully performed
  932.    operation.  The type has to be agreed between the ESROS Users.  This
  933.    parameter has to be supplied by the invoker of the service.  Encoding
  934.    type of the Result-argument is specified through the Result-
  935.    argument-encoding-type parameter (see previous subsection).
  936.  
  937.    ESROS Performer User provides the Result-argument parameter for the
  938.    ESROS-RESULT.request primitive.  The Result-argument parameter of
  939.    ESROS-RESULT.indication is provided to the ESROS Invoker User.
  940.  
  941. 2.5.3  Invoke-ID
  942.  
  943.    This parameter identifies the corresponding invocation.  This
  944.    Invoke-ID, which is originally generated by the ESROS provider at the
  945.    time of ESROS-INVOKE indication, is extracted from the Invoke ID that
  946.    has to be supplied by the ESROS performer User.  The value is that of
  947.    the corresponding ESROS-INVOKE.indication primitive.
  948.  
  949.  
  950.  
  951.  
  952.  
  953.  
  954. Banan, et. al                Informational                     [Page 17]
  955.  
  956. RFC 2188                          ESRO                    September 1997
  957.  
  958.  
  959.                   Invoker        Performer
  960.                  ESROS AP         ESROS AP
  961.                        |               |
  962.                        |               |
  963.    ESROS-ERROR.ind.    |               | ESROS-ERROR.req.
  964.    --------<-----------|               |--------<---------
  965.                        |               |
  966.                        |               | ESROS-ERROR.conf.
  967.                        |               |-------->---------
  968.                        |               |
  969.                        |               | ESROS-FAILURE.ind.
  970.                        |               |-------->---------
  971.  
  972.  
  973.    Figure 5:  Time sequence diagram for ESROS-ERROR service
  974.  
  975.  
  976.  
  977.  
  978. 2.5.4  Failure-value
  979.  
  980.    This parameter identifies the failure that occurred during the
  981.    processing or transmission of any of the service primitives of ESROS.
  982.    This parameter has to be supplied by the ESROS provider (see also
  983.    Section 2.7).
  984.  
  985. 2.6  ESROS-ERROR Service
  986.  
  987.    The ESROS-ERROR service is used by an ESROS User to reply to a
  988.    previous ESROS-INVOKE.indication in the case of an unsuccessfully
  989.    performed operation.  This service is either confirmed or non-
  990.    confirmed based on the service mode (see Section 2).
  991.  
  992.    The related service structure consists of three service primitives as
  993.    illustrated in Figure 5 and Table 7.
  994.  
  995. 2.6.1  Error-value
  996.  
  997.    This parameter identifies the error in reply to a previous ESROS-
  998.    INVOKE.indication in the case of an unsuccessfully performed
  999.    operation.  The value has to be agreed between the ESROS-Users.  This
  1000.    parameter has to be supplied by the ESROS Performer User.
  1001.  
  1002.    ESROS Performer User provides the Error-argument parameter for the
  1003.    ESROS-ERROR.request primitive.  The Error-argument parameter of
  1004.    ESROS-ERROR.indication is provided to the ESROS Invoker User.
  1005.  
  1006.  
  1007.  
  1008.  
  1009.  
  1010. Banan, et. al                Informational                     [Page 18]
  1011.  
  1012. RFC 2188                          ESRO                    September 1997
  1013.  
  1014.  
  1015.           ________________________________________________________
  1016.           | Primitive                |Parameters                  |
  1017.           |__________________________|____________________________|
  1018.           |                          |Error-value                 |
  1019.           |                          |Error-argument-encoding-type|
  1020.           | ESROS-ERROR.request      |Error-argument              |
  1021.           |__________________________|____________________________|
  1022.           |                          |                            |
  1023.           |                          |Error-value                 |
  1024.           |                          |Error-argument-encoding-type|
  1025.           | ESROS-ERROR.indication   |Error-argument              |
  1026.           |                          |Invoke-ID                   |
  1027.           |                          |                            |
  1028.           |__________________________|____________________________|
  1029.           | ESROS-ERROR.confirm      |Invoke-ID                   |
  1030.           |                          |Failure-value               |
  1031.           |                          |                            |
  1032.           |__________________________|____________________________|
  1033.           | ESROS-FAILURE.indication |Invoke-ID                   |
  1034.           |__________________________|____________________________|
  1035.  
  1036.  
  1037.  
  1038.     Table 7:  ESROS-ERROR service primitives and associated parameters
  1039.  
  1040. 2.6.2  Error-argument-encoding-type
  1041.  
  1042.    This parameter identifies the encoding type of the Error-argument
  1043.    (see next subsection).  The encoding type has to be agreed upon
  1044.    between the ESROS Users.  This parameter has to be supplied by the
  1045.    ESROS Performer User.
  1046.  
  1047.    ESROS Performer User provides the Error-argument-encoding-type
  1048.    parameter for the ESROS-ERROR.request primitive.  The Error-
  1049.    argument-encoding-type parameter of ESROS-ERROR.indication is
  1050.    provided to the ESROS Invoker User.
  1051.  
  1052. 2.6.3  Error-argument
  1053.  
  1054.    This parameter provides additional information about the error in
  1055.    reply to a previous ESROS-INVOKE.indication in the case of an
  1056.    unsuccessfully performed operation.  The type (if any) has to be
  1057.    agreed between the ESROS users.  This parameter has to be supplied by
  1058.    the ESROS Performer User.  Encoding type of the Error-argument is
  1059.    specified through the Error-argument-encoding-type parameter (see
  1060.    previous subsection).
  1061.  
  1062.  
  1063.  
  1064.  
  1065.  
  1066. Banan, et. al                Informational                     [Page 19]
  1067.  
  1068. RFC 2188                          ESRO                    September 1997
  1069.  
  1070.  
  1071.                   Invoker        Performer
  1072.                  ESROS AP         ESROS AP
  1073.                        |               |
  1074.                        |               |
  1075.    ESROS-FAILURE.ind.  |               |
  1076.    --------<-----------|               |
  1077.                        |               |
  1078.                        |               | ESROS-FAILURE.ind.
  1079.                        |               |--------->---------
  1080.                        |               |
  1081.  
  1082.  
  1083.    Figure 6:  Time sequence diagram for ESROS-FAILURE service
  1084.  
  1085.  
  1086.  
  1087.  
  1088.    ESROS Performer User provides the Error-argument parameter for the
  1089.    ESROS-ERROR.request primitive.  The Error-argument parameter of
  1090.    ESROS-ERROR.indication is provided to the ESROS Invoker User.
  1091.  
  1092. 2.6.4  Invoke-ID
  1093.  
  1094.    This parameter identifies the corresponding invocation.  This
  1095.    Invoke-ID, which is originally generated by the ESROS provider at the
  1096.    time of the ESROS-INVOKE.indication, is extracted from the Invoke ID
  1097.    which has to be supplied by the ESROS performer User.  The value is
  1098.    that of the corresponding ESROS-INVOKE.indication primitive.
  1099.  
  1100. 2.6.5  Failure-value
  1101.  
  1102.    This parameter identifies the failure that occurred during the
  1103.    processing or transmission of any of the service primitives of ESROS.
  1104.    This parameter has to be supplied by the ESROS provider (see also
  1105.    Section 2.7).
  1106.  
  1107. 2.7  ESROS-FAILURE Service
  1108.  
  1109.    The ESROS-FAILURE service is used by ESROS provider to indicate the
  1110.    failure in providing an ESROS-INVOKE, ESROS-RESULT, or ESROS-ERROR
  1111.    service.
  1112.  
  1113.    The related service structure consists of one service primitive as
  1114.    illustrated in Figure 6 and Table 8.
  1115.  
  1116.  
  1117.  
  1118.  
  1119.  
  1120.  
  1121.  
  1122. Banan, et. al                Informational                     [Page 20]
  1123.  
  1124. RFC 2188                          ESRO                    September 1997
  1125.  
  1126.  
  1127.           _____________________________________________
  1128.           | Primitive                |Parameters       |
  1129.           |__________________________|_________________|
  1130.           |                          |Failure-value    |
  1131.           | ESROS-FAILURE.indication |Invoke-ID        |
  1132.           |__________________________|_________________|
  1133.  
  1134.  
  1135.  
  1136.    Table 8:  ESROS-FAILURE service primitives and associated parameters
  1137.  
  1138.  
  1139.           _________________________________________
  1140.           | Failure Value |Meaning                 |
  1141.           |_______________|________________________|
  1142.           | 0             |Transmission failure    |
  1143.           | 1             |Out of local resources  |
  1144.           | 2             |User not responding     |
  1145.           | 3             |Out of remote resources |
  1146.           | 4             |Reassembly failure      |
  1147.           |_______________|________________________|
  1148.  
  1149.  
  1150.              Table 9:  Encoding of Failure-value
  1151.  
  1152. 2.7.1  Failure-value
  1153.  
  1154.    This parameter identifies the failure that occurred during the
  1155.    processing or transmission of any of the service primitives of ESROS.
  1156.    This parameter has to be supplied by the ESROS provider.
  1157.  
  1158.    The values for encoding of Failure-value are presented in Table 9.
  1159.  
  1160. 2.7.2  Invoke-ID
  1161.  
  1162.    This parameter identifies the corresponding invocation.  This
  1163.    Invoke-ID, which is originally generated by ESROS provider at the
  1164.    time of the ESROS-INVOKE.indication, is extracted from the Invoke ID
  1165.    which has to be supplied by ESROS performer User.  The value is that
  1166.    of the corresponding ESROS-INVOKE.indication primitive.
  1167.  
  1168. 3  ESRO SERVICE NOTATION
  1169.  
  1170.    Users of ESRO services (invoker and performer) need to agree on a
  1171.    well defined set of parameters which are enumerated below.
  1172.  
  1173.     1. The operation's Argument data type.
  1174.  
  1175.  
  1176.  
  1177.  
  1178. Banan, et. al                Informational                     [Page 21]
  1179.  
  1180. RFC 2188                          ESRO                    September 1997
  1181.  
  1182.  
  1183.     2. The operation's Result data type.
  1184.  
  1185.     3. The operation's Error data type.
  1186.  
  1187.     4. The operation's value.  A specific tag which uniquely identifies
  1188.         the operation.
  1189.  
  1190.    The invoker and the performer can specify these parameters using a
  1191.    variety of mechanisms.  The notation specified in this section is one
  1192.    such mechanism.  It is not the only machanism and ESRO protocol can
  1193.    be used independent of this notation.
  1194.  
  1195. 3.1  ES-OPERATION Notation
  1196.  
  1197.    The Remote Operations and Operation Errors are specified in this
  1198.    section.  The notation is defined by means of the macro facility
  1199.    defined in [3].
  1200.  
  1201.    The macros enabling the specification of operations and errors are
  1202.    listed in Figure 7.
  1203.  
  1204.    Note that this notation is very similar to the abstract operation
  1205.    defined in [1].  The value form of ES-OPERATION is always an integer.
  1206.  
  1207. 3.2  Mapping of ESROS Notation
  1208.  
  1209. 3.2.1  Invocation of an Operation
  1210.  
  1211.    An operation is mapped onto the ESRO Services.
  1212.  
  1213.    The invocation of an operation is mapped on the ESRO-INVOKE service.
  1214.  
  1215.    The value assigned to the operation is mapped on the Operation-value
  1216.    parameter of that service.  The value of the Named-Type in the
  1217.    ARGUMENT clause of the OPERATION Macro is mapped on the Argument
  1218.    parameter of that service.
  1219.  
  1220. 3.2.2  Reply of an Operation
  1221.  
  1222.    If an operation was successfully performed, the reply is mapped on
  1223.    the ESRO-RESULT service.
  1224.  
  1225.    The value of the Named-Type in the RESULT clause of the OPERATION
  1226.  
  1227.    DEFINITIONS ::=
  1228.    BEGIN
  1229.      ES-OPERATION, ERROR;
  1230.      -- macro definition for operations
  1231.  
  1232.  
  1233.  
  1234. Banan, et. al                Informational                     [Page 22]
  1235.  
  1236. RFC 2188                          ESRO                    September 1997
  1237.  
  1238.  
  1239.      ES-OPERATION MACRO ::=
  1240.      BEGIN
  1241.            TYPE NOTATION   ::=     Argument Result Errors
  1242.            VALUE NOTATION  ::=     value (localValue INTEGER)
  1243.            Argument        ::=     "ARGUMENT" NamedType | empty
  1244.            Result          ::=     "RESULT" ResultType | empty
  1245.            ResultType      ::=     NamedType | empty
  1246.            Errors          ::=     "ERRORS" "{"ErrorNames"}" | empty
  1247.            ErrorNames      ::=     ErrorList | empty
  1248.            ErrorList       ::=     Error | ErrorList "," Error
  1249.            Error           ::=     value (ERROR) | type
  1250.            NamedType       ::=     identifier type | type
  1251.      END
  1252.      -- macro definition for operations errors
  1253.      ERROR MACRO   ::=
  1254.      BEGIN
  1255.            TYPE NOTATION   ::=     Parameter
  1256.            VALUE NOTATION  ::=     value (localValue INTEGER)
  1257.            Parameter       ::=     "PARAMETER" NamedType | empty
  1258.            NamedType       ::=     identifier type | type
  1259.      END
  1260.    END
  1261.  
  1262.  
  1263.             Figure 7:  ES Remote Operation Notation
  1264.  
  1265.    macro is mapped on the Result parameter of that service.
  1266.  
  1267.    If an operation was not successfully performed, the reply is mapped
  1268.    on the ESRO-ERROR service.
  1269.  
  1270.    In this case one of the errors in the Identifier List of Error Names
  1271.    in the ERROR clause of the OPERATION macro may be applied.  The value
  1272.    assigned to the applied error is mapped onto the Error parameter of
  1273.    that service.  The value of the Named-Type in the PARAMETER clause of
  1274.    the ERROR macro of the applied error is mapped on the Error-
  1275.    parameter of that service.
  1276.  
  1277. 4  REMOTE OPERATIONS PROTOCOL
  1278.  
  1279. 4.1  Overview of the Protocol
  1280.  
  1281.    The ESROS protocol realizes the services defined in the section
  1282.    entitled ESROS Service Definitions.  Short operations are performed
  1283.    in a highly efficient manner.  The protocol operation is summarized
  1284.    below and is described in detail in the following sections.
  1285.  
  1286.  
  1287.  
  1288.  
  1289.  
  1290. Banan, et. al                Informational                     [Page 23]
  1291.  
  1292. RFC 2188                          ESRO                    September 1997
  1293.  
  1294.  
  1295.    Two Functional Units are defined which realize the services with 2-
  1296.    Way handshake and 3-Way handshake, called 2-Way Handshake Functional
  1297.    Unit and 3-Way Handshake Functional Unit respectively.
  1298.  
  1299.    The procedures specified in this section refer to Protocol Data Units
  1300.    (PDUs) which are defined in Section 4.4.
  1301.  
  1302. 4.1.1  Service Provision (Invoker User)
  1303.  
  1304.       o An ESROS user binds to an ESRO Service Access Point (SAP) and
  1305.         specifies whether 3-Way or 2-Way handshake Functional Unit is to
  1306.         be associated with the SAP.
  1307.  
  1308.       o An ESROS user initiates the transfer of a PDU using the INVOKE
  1309.         service.
  1310.  
  1311.       o On receipt of an ESROS-INVOKE.request service primitive from the
  1312.         ESROS user:
  1313.  
  1314.             -- The ESROS provider generates an Invoke ID,
  1315.  
  1316.             -- Communicates the Invoke-ID to the invoker of the service
  1317.                    through the ESROS-INVOKE-P.confirm primitive,
  1318.  
  1319. 4.1.2  Service Provision (Performer User)
  1320.  
  1321.       o An ESROS user binds to an ESRO Service Access Point (SAP) and
  1322.         specifies whether 3-Way or 2-Way handshake Functional Unit is to
  1323.         be associated with the SAP.
  1324.  
  1325.       o On receipt of an ESRO-INVOKE-PDU, the ESROS provider issues an
  1326.         ESROS-INVOKE.indication to the ESROS performer user.
  1327.  
  1328.       o On receipt of ESROS-RESULT.request or ESROS-ERROR.request from
  1329.         the performer, the provider creates the ESRO-RESULT-PDU or
  1330.         ESRO-ERROR-PDU.
  1331.  
  1332.       o In the case that the provider receives an ESRO-ACK-PDU for the
  1333.         transmitted ESRO-RESULT-PDU or ESRO-ERROR-PDU, if the
  1334.         corresponding SAP is associated with the 3-Way Handshake
  1335.         Functional Unit, it passes an ESROS-RESULT.confirm or ESROS-
  1336.         ERROR.confirm to the performer user.  If the corresponding SAP
  1337.         is associated with the 2-Way handshake Functional Unit, the
  1338.         ESRO-ACK-PDU is dropped as an invalid PDU.
  1339.  
  1340.       o In the case that the provider is not able to deliver the
  1341.         ESRO-RESULT-PDU or ESRO-ERROR-PDU, it issues an ESROS-
  1342.         FAILURE.indication to the performer user.  In the case that the
  1343.  
  1344.  
  1345.  
  1346. Banan, et. al                Informational                     [Page 24]
  1347.  
  1348. RFC 2188                          ESRO                    September 1997
  1349.  
  1350.  
  1351.         performer's SAP is associated with the 3-Way handshake
  1352.         Functional Unit and provider doesn't receive the ESRO-ACK-PDU
  1353.         for a transmitted ESRO-RESULT-PDU or an ESRO-ERROR-PDU, it
  1354.         passes an ESROS- FAILURE.indication to the performer user.
  1355.  
  1356.       o In the case that the performer's SAP is associated with the
  1357.         3-Way handshake Functional Unit and provider receives an ESRO-
  1358.         ACK-PDU for the operation, it passes an ESROS-RESULT.confirm or
  1359.         ESROS-ERROR.confirm.  In the case that the performer's SAP is
  1360.         associated with a 2-Way handshake Functional Unit and provider
  1361.         doesn't receive duplicate ESROS-INVOKE-PDUs from the invoker, it
  1362.         passes an ESROS-RESULT.confirm or ESROS-ERROR.confirm.
  1363.  
  1364.       o On receipt of an ESRO-FAILURE-PDU, the ESROS provider issues an
  1365.         ESROS-FAILURE.indication to the ESROS performer user.
  1366.  
  1367. 4.2  Protocol Procedures
  1368.  
  1369. 4.2.1  Service Access Point (SAP) Bind Procedure
  1370.  
  1371.    To access the ESRO Services, an ESROS user binds to an ESRO Service
  1372.    Access Point and specifies the SAP to be associated with 3-Way
  1373.    handshake Functional Unit or 2-Way handshake Functional Unit.  ESROS
  1374.    provider generates a SAP descriptor which is passed to the user.  The
  1375.    handshaking for all Invoke.requests addressed to that SAP and all
  1376.    PDUs addressed to that SAP will be either 3-Way or 2-Way based on the
  1377.    Functional Unit associated with SAP and specified by user at SAP bind
  1378.    time.
  1379.  
  1380.    It is the responsibility of the ESROS peer users (invoker and
  1381.    performer) to address their operations to the appropriate SAP (3-Way
  1382.    or 2-Way) based on the agreement between users.
  1383.  
  1384. 4.2.2  Invoke Service Procedure
  1385.  
  1386.    An ESROS user initiates the transfer of a PDU using the INVOKE
  1387.    service.
  1388.  
  1389.    On receipt of an ESRO-INVOKE-PDU, the ESROS provider sends an ESROS-
  1390.    INVOKE.indication primitive to the ESROS performer user.
  1391.  
  1392. 4.2.3  Invoke ID Assignment Procedure
  1393.  
  1394.    On receipt of an ESROS-INVOKE.request primitive from the ESROS user,
  1395.    the ESROS provider generates two invoke identifiers:
  1396.  
  1397.  
  1398.  
  1399.  
  1400.  
  1401.  
  1402. Banan, et. al                Informational                     [Page 25]
  1403.  
  1404. RFC 2188                          ESRO                    September 1997
  1405.  
  1406.  
  1407.       o Invoke-Reference-Number:  Uniquely identifies the invocation
  1408.         between the two peers.  This is a PDU field with a length of 8
  1409.         bits (see section 4.4).
  1410.  
  1411.       o Invoke-ID-Parameter:  Uniquely identifies the invocation to the
  1412.         service user.  This Invoke-ID-Parameter is a combination of the
  1413.         Invoke-Reference-Number described above and the invoker address,
  1414.         performer address, and the SAP Selector.
  1415.  
  1416.    The provider communicates the Invoke-ID-Parameter to the invoker of
  1417.    the INVOKE service through the ESROS-INVOKE-P.confirm primitive.
  1418.  
  1419.    The Invoke-Reference-Number distinguishes several invocations of the
  1420.    service in progress (asynchronous operations).  It is also used as
  1421.    segment identifier when a Service Data Unit (SDU) is transferred
  1422.    using segmentation and reassembly.  The ESROS provider may begin to
  1423.    reuse the Invoke-Reference-Number values whenever it chooses, subject
  1424.    to the constraint that it may not reuse an Invoke-Reference-Number
  1425.    value that was previously assigned to an invocation of the service
  1426.    for which it expects, but has not yet received, a reply.  In other
  1427.    words the provider does not reuse a previously used Invoke-
  1428.    Reference-Number unless the corresponding service is fully completed.
  1429.    The same value of the Invoke-Reference-Number can be reused to
  1430.    identify the invocation between different peer entities.  In that
  1431.    case, the combination of the peer entity's address and the Invoke-
  1432.    Reference-Number guarantees unique identification of each invocation.
  1433.  
  1434. 4.2.4  Functional Unit Selection Procedure
  1435.  
  1436.    When an ESRO Services user binds to an ESRO SAP, it associates its
  1437.    SAP descriptor to 3-Way Handshake Functional Unit or 2-Way Handshake
  1438.    Functional Unit.
  1439.  
  1440.    Based on the Functional Unit associated with SAP, provider selects
  1441.    the corresponding Functional Unit for all Invoke Requests or PDUs
  1442.    addressed to that SAP.
  1443.  
  1444. 4.3  Connectionless PDU Transfer For Small PDUs
  1445.  
  1446. 4.3.1  Overview
  1447.  
  1448.    PDUs sent by UDP use port ESRO_CL_PORT. PDUs carried by UDP are
  1449.    restricted to CLRO_SMALL_PDU_MAX_SIZE bytes (see 4.6.1)
  1450.  
  1451.    Each PDU is encapsulated in a single UDP datagram.
  1452.  
  1453.  
  1454.  
  1455.  
  1456.  
  1457.  
  1458. Banan, et. al                Informational                     [Page 26]
  1459.  
  1460. RFC 2188                          ESRO                    September 1997
  1461.  
  1462.  
  1463.    For PDUs larger than CLRO_SMALL_PDU_MAX_SIZE but smaller than
  1464.    CLRO_SEGMENTED_PDU_MAX_SIZE bytes (see 4.6.1), segmentation and
  1465.    reassembly is used and each segment is transmitted in a UDP datagram.
  1466.  
  1467.    PDUs sent using UDP may be lost, and hence a retransmission strategy
  1468.    is defined.  When a PDU is segmented, the retransmission strategy is
  1469.    not applied to individual segments (i.e., loss of one segment results
  1470.    in retransmission of the whole SDU).
  1471.  
  1472.    The optimal UDP retransmission policy will vary with the performance
  1473.    of the network and the needs of the transmitter, but the following
  1474.    are considered:
  1475.  
  1476.    The retransmission interval should be based on prior statistics if
  1477.    possible.  Too aggressive retransmission can easily slow response
  1478.    time of the network at large.  Depending on how well connected the
  1479.    invoker is to its performer, the minimum retransmission interval
  1480.    should be RETRANSMISSION_INTERVAL (see 4.6.2) seconds.
  1481.  
  1482.    Delivery of PDUs is asynchronous which means the ESROS does not wait
  1483.    for the result of a transmitted PDU and continues delivering the next
  1484.    PDUs.
  1485.  
  1486.        ______________________________________________________
  1487.        |From Idle to:                      |Event            |
  1488.        |___________________________________|_________________|
  1489.        |CL-Invoker Transition Diagram      |ESRO-INVOKE.req  |
  1490.        | 2-way Handshake (Connectionless)  |                 |
  1491.        |___________________________________|_________________|
  1492.        |CL-Invoker Transition Diagram      |ESRO-INVOKE.req  |
  1493.        | 3-way Handshake (Connectionless)  |                 |
  1494.        |___________________________________|_________________|
  1495.        |CL-Performer Transition Diagram    |INVOKE-PDU       |
  1496.        | 3-way Handshake (Connectionless)  |                 |
  1497.        |___________________________________|_________________|
  1498.        |CL-Performer Transition Diagram    |INVOKE-PDU       |
  1499.        | 2-way Handshake  (Connectionless) |                 |
  1500.        |___________________________________|_________________|
  1501.  
  1502.                 Table 10:  ESROS Finite State Machine
  1503.  
  1504.  
  1505.  
  1506.  
  1507.    This section describes the ESROS protocols in terms of state
  1508.    diagrams.  The ESROS Finite State Machine is expressed as four
  1509.    separate transition diagrams.  This is illustrated in Table 10.
  1510.  
  1511.  
  1512.  
  1513.  
  1514. Banan, et. al                Informational                     [Page 27]
  1515.  
  1516. RFC 2188                          ESRO                    September 1997
  1517.  
  1518.  
  1519.    Details of each of the two transition diagrams for connectionless
  1520.    transmission and different handshakings are described in the
  1521.    following sections.  The state diagrams show the state, the events,
  1522.    the actions taken and the resultant state.The ESROS state transition
  1523.    diagrams for connectionless data transmission are presented in Table
  1524.    11, Table 12, Table 13, and Table 14.
  1525.  
  1526.    Transitions are identified by numbers on the state diagrams.  The
  1527.    corresponding actions are listed next to each table.
  1528.  
  1529. 4.3.2  3-Way Handshake Functional Unit
  1530.  
  1531.    This unit implements the Acknowledged Result model of ESRO Services.
  1532.    3-Way handshaking is used in this unit.
  1533.  
  1534.    The RESULT.confirm and ERROR.confirm primitives on performer are
  1535.    generated when ESRO-ACK-PDU is received.
  1536.  
  1537.    The FAILURE.indication on performer side is resulted from remote or
  1538.    local failures.  Not receiving ESRO-ACK-PDU or local failure can
  1539.    generate FAILURE.indication primitive.
  1540.  
  1541.    The FAILURE.indication on invoker side is generated if a local
  1542.    failure happens or a ESRO-FAILURE-PDU is received.
  1543.  
  1544.  
  1545.  
  1546.  
  1547.  
  1548.  
  1549.  
  1550.  
  1551.  
  1552.  
  1553.  
  1554.  
  1555.  
  1556.  
  1557.  
  1558.  
  1559.  
  1560.  
  1561.  
  1562.  
  1563.  
  1564.  
  1565.  
  1566.  
  1567.  
  1568.  
  1569.  
  1570. Banan, et. al                Informational                     [Page 28]
  1571.  
  1572. RFC 2188                          ESRO                    September 1997
  1573.  
  1574.  
  1575.    _______________________________________________________________
  1576.    |      State      |STA01     |STA02      |STA03    |STA04     |
  1577.    |                 |CL Invoker|Invoke PDU |ACK-PDU  |Invoker   |
  1578.    |Event            |Start     |Send       |Send     |RefNu Wait|
  1579.    |-----------------+----------+-----------+---------+----------+
  1580.    |U: INVOKE.request|(1) STA02 |           |         |          |
  1581.    |-----------------+----------+-----------+---------+----------+
  1582.    |T: INVOKE PDU    |          |(2) STA02  |         |          |
  1583.    | Retransmit      |          |           |         |          |
  1584.    |-----------------+----------+-----------+---------+----------+
  1585.    |T: Last Timer    |          |(3) STA04  |         |          |
  1586.    |-----------------+----------+-----------+---------+----------+
  1587.    |P: Result-PDU    |          |           |         |(9) STA04 |
  1588.    |-----------------+----------+-----------+---------+----------+
  1589.    |P: Failure-PDU   |          |(5) STA04  |         |          |
  1590.    |-----------------+----------+-----------+---------+----------+
  1591.    |P: ACK-PDU       |          |(6) STA02  |         |          |
  1592.    | (Hold On)       |          |           |         |          |
  1593.    |-----------------+----------+-----------+---------+----------+
  1594.    |P: Duplicate     |          |           |(7) STA03|          |
  1595.    |  Result-PDU     |          |           |         |          |
  1596.    |-----------------+----------+-----------+---------+----------+
  1597.    |T: RefNu Timer   |          |           |         |(8) STA01 |
  1598.    |-----------------+----------+-----------+---------+----------+
  1599.    |P: Result-PDU    |          |(4) STA03  |         |          |
  1600.    |-----------------+----------+-----------+---------+----------+
  1601.    |T: Inactivity    |          |           |(10)     |          |
  1602.    | Timer           |          |           |STA04    |          |
  1603.    |_________________|__________|___________|_________|__________|
  1604.  
  1605.  
  1606.  
  1607.    Table 11:  ESROS State Transition Diagram-Connectionless Transmission,
  1608.    3-Way HS. P = Protocol, T = Timer, U = User, I = Internal.
  1609.  
  1610.    The transmission of INVOKE, RESULT, and ERROR SDUs can be in a single
  1611.    PDU (when it fits in one UDP) or a sequence of segment PDUs.
  1612.  
  1613.  
  1614.    3-Way Handshake Connectionless Transmission:  Invoker
  1615.  
  1616.  
  1617.    For each transition number in the state diagram Table 11, the
  1618.    corresponding actions are listed below:
  1619.  
  1620.     1. INVOKE.request:
  1621.  
  1622.       o Assign Invoke-ID.
  1623.  
  1624.  
  1625.  
  1626. Banan, et. al                Informational                     [Page 29]
  1627.  
  1628. RFC 2188                          ESRO                    September 1997
  1629.  
  1630.  
  1631.       o Issue ESROS-INVOKE-P.confirm primitive.
  1632.  
  1633.       o Assign invoke reference number.
  1634.  
  1635.       o Send operation in one ESRO-INVOKE-PDU or in segmented INVOKE-
  1636.         PDUs depending on the size of the operation.
  1637.  
  1638.       o Initialize retransmission counter.
  1639.  
  1640.       o Initialize retransmission timer.
  1641.  
  1642.     2. Invoke PDU Retransmit:
  1643.  
  1644.       o Retransmit operation in one ESRO-INVOKE-PDU or segmented PDUs
  1645.         while number of retransmissions is less than
  1646.         MAX_RETRANSMISSIONS.
  1647.  
  1648.       o Increment the retransmission counter.  When MAX_RETRANSMISSIONS
  1649.         reached, start LAST_TIMER, otherwise initialize retransmission
  1650.         timer.
  1651.  
  1652.     3. Last Timer:
  1653.  
  1654.       o Issue ESROS-FAILURE.indication primitive.
  1655.  
  1656.       o Initialize reference number timer.
  1657.  
  1658.  
  1659.     4. ESRO-RESULT-PDU or ESRO-ERROR-PDU (or reassembled ESRO-
  1660.        RESULT-SEGMENTED-PDU or ESRO-ERROR-SEGMENTED-PDU when the PDU is
  1661.        received in segmented format):
  1662.  
  1663.       o Send ESRO-ACK-PDU.
  1664.  
  1665.       o Issue ESROS-RESULT.indication or ESROS-ERROR.indication
  1666.         primitive.
  1667.  
  1668.       o Initialize inactivity timer.
  1669.  
  1670.     5. ESRO-FAILURE-PDU:
  1671.  
  1672.       o Issue ESROS-FAILURE.indication primitive with User not
  1673.         Responding failure cause.
  1674.  
  1675.       o Initialize reference number timer.
  1676.  
  1677.  
  1678.  
  1679.  
  1680.  
  1681.  
  1682. Banan, et. al                Informational                     [Page 30]
  1683.  
  1684. RFC 2188                          ESRO                    September 1997
  1685.  
  1686.  
  1687.     6. ESRO-ACK-PDU (Hold on):
  1688.  
  1689.       o For future use (no action).
  1690.  
  1691.     7. Duplicate ESRO-RESULT-PDU or ESRO-ERROR-PDU:
  1692.  
  1693.       o Initialize inactivity timer (Ignore PDU).
  1694.  
  1695.       o Send ESRO-ACK-PDU.
  1696.  
  1697.     8. Invoke reference number timer:
  1698.  
  1699.       o Release the invoke reference number.
  1700.  
  1701.     9. ESRO-RESULT-PDU or ESRO-ERROR-PDU:
  1702.  
  1703.       o Reset Invoke reference number timer.
  1704.  
  1705.     10. Inactivity timer:
  1706.  
  1707.       o Initialize reference number timer.
  1708.  
  1709.    On receipt of an ESROS-INVOKE.request, ESROS provider generates an
  1710.    Invoke- Reference-Number and an Invoke-ID (see Section 4.2.3).  The
  1711.    provider issues an ESROS-INVOKE-P.confirm primitive and passes the
  1712.    Invoke-ID to the invoker.
  1713.  
  1714.    The ESROS provider initiates the timer for the Invoke-ID and
  1715.    transmits the PDU. Based on the size of SDU, if segmentation is
  1716.    required, the SDU is segmented and transmitted in a sequence of
  1717.    segmented PDUs.  If the ESRO-RESULT-PDU or ESRO-ERROR-PDU associated
  1718.    with the invoke ID is not received within the
  1719.    INVOKE_PDU_RETRANSMISSION_INTERVAL (see 4.6.2) period, the SDU is
  1720.    retransmitted (in one PDU or segmented and transmitted in a sequence
  1721.    of segment PDUs).  The retransmission is repeated for a maximum of
  1722.    MAX_RETRANSMISSIONS unless an ESRO-RESULT-PDU or ESRO-ERROR-PDU is
  1723.    received.
  1724.  
  1725.    If the ESRO-RESULT-PDU or ESRO-ERROR-PDU is received in a segmented
  1726.    format, the reassembly process reassembles the sequence of segment
  1727.    PDUs.
  1728.  
  1729.    In the case that the Hold-on ESRO-ACK-PDU is received from the
  1730.    performer, the provider stops retransmitting the ESRO-INVOKE-PDU and
  1731.    waits for the ESRO- RESULT-PDU or ESRO-ERROR-PDU for a period equal
  1732.    to the multiplication of INVOKE_PDU_RETRANSMISSION_INTERVAL (see
  1733.    4.6.2) and MAX_RETRANSMISSIONS (see 4.6.2, for future use).
  1734.  
  1735.  
  1736.  
  1737.  
  1738. Banan, et. al                Informational                     [Page 31]
  1739.  
  1740. RFC 2188                          ESRO                    September 1997
  1741.  
  1742.  
  1743.    In the case that the ESRO-INVOKE-PDU is sent MAX_RETRANSMISSIONS (see
  1744.    4.6.2) times and no ESRO-RESULT-PDU or ESRO-ERROR-PDU is received,
  1745.    the ESROS provider sends an ESROS-FAILURE.indication primitive, with
  1746.    the Invoke-ID of the failed PDU and the Failure-value as parameters,
  1747.    to the invoker.
  1748.  
  1749.    When an ESRO-RESULT-PDU or ESRO-ERROR-PDU is received (whether in one
  1750.    PDU or reassembled from a sequence of segmented PDUs), the provider
  1751.    issues an ESROS-RESULT.indication or ESROS-ERROR.indication to the
  1752.    invoker user, sends an ESRO-ACK-PDU and initializes the inactivity
  1753.    timer.  In the case that duplicate ESRO- RESULT-PDU or ESRO-ERROR-PDU
  1754.  
  1755.    ____________________________________________________________________
  1756.    |      State      |STA01        |STA02      |STA03     |STA04      |
  1757.    |                 |CL Performer |Invoke PDU |ACK-PDU   |Performer  |
  1758.    |Event            |Start        |Received   |Wait      |RefNu Wait |
  1759.    |-----------------+-------------+-----------+----------+-----------|
  1760.    |P: Invoke-PDU    |(1) STA02    |           |          |           |
  1761.    |-----------------+-------------+-----------+----------+-----------|
  1762.    |U: RESULT.req.   |             |(2) STA03  |          |           |
  1763.    |-----------------+-------------+-----------+----------+-----------|
  1764.    |P: ACK-PDU       |             |           |(3) STA04 |           |
  1765.    |-----------------+-------------+-----------+----------+-----------|
  1766.    |P: Invoke-PDU    |             |(4) STA02  |(6) STA03 |(7) STA04  |
  1767.    | Duplicate       |             |           |          |           |
  1768.    |-----------------+-------------+-----------+----------+-----------|
  1769.    |T: Result-PDU    |             |           |(5) STA03 |           |
  1770.    | Retransmission  |             |           |          |           |
  1771.    | Timer           |             |           |          |           |
  1772.    |-----------------+-------------+-----------+----------+-----------|
  1773.    |I: Failure       |             |(8) STA01  |          |           |
  1774.    |-----------------+-------------+-----------+----------+-----------|
  1775.    |T: Last Time     |             |           |(9) STA04 |           |
  1776.    |-----------------+-------------+-----------+----------+-----------|
  1777.    |T: RefNu Timer   |             |           |          |(10) STA01 |
  1778.    |-----------------+-------------+-----------+----------+-----------|
  1779.    |P: ACK-PDU       |             |           |          |(11) STA04 |
  1780.    | Duplicate       |             |           |          |           |
  1781.    |-----------------+-------------+-----------+----------+-----------|
  1782.    |U/P: Hold On ACK |             |(12) STA02 |          |           |
  1783.    ____________________________________________________________________
  1784.  
  1785.  
  1786.  
  1787.    Table 12:  ESROS State Transition Diagram-Connectionless Transmission,
  1788.    3-Way HS: Performer.  P = Protocol, T = Timer, U = User, I = Internal.
  1789.  
  1790.  
  1791.  
  1792.  
  1793.  
  1794. Banan, et. al                Informational                     [Page 32]
  1795.  
  1796. RFC 2188                          ESRO                    September 1997
  1797.  
  1798.  
  1799.    are received, they are ignored, the inactivity timer is reset, and an
  1800.    ESRO-ACK-PDU is retransmitted.
  1801.  
  1802.    When no duplicate ESRO-RESULT-PDU or ESRO-ERROR-PDU is received for a
  1803.    period equal to INACTIVITY_TIME (see 4.6.2), or in the case of ESRO-
  1804.    INVOKE- PDU retransmission time-out, or in the case of internal
  1805.    failure, the provider initializes the reference number timer.  After
  1806.    REFERENCE_NUMBER_TIME (see 4.6.2), the reference number is released.
  1807.  
  1808.    3-Way Handshake Connectionless Transmission:  Performer
  1809.  
  1810.    For each transition number in the state diagram above, the
  1811.    corresponding actions are listed below:
  1812.  
  1813.      1. ESRO-INVOKE-PDU (as a single PDU or a sequence of segment PDUs):
  1814.  
  1815.       o Issue ESROS-INVOKE.indication primitive.
  1816.  
  1817.     2. ESROS-RESULT.request or ESROS-ERROR.request:
  1818.  
  1819.       o Add invoke reference number to the active list.
  1820.  
  1821.       o Transmit ESRO-RESULT-PDU or ESRO-ERROR-PDU (in a single PDU or
  1822.         a sequence of segment PDUs).
  1823.  
  1824.       o Set ESRO-RESULT-PDU or ESRO-ERROR-PDU retransmission timer.
  1825.  
  1826.     3. ESRO-ACK-PDU:
  1827.  
  1828.       o Initialize invoke reference number timer.
  1829.  
  1830.       o Issue ESROS-RESULT.confirm or ESROS-ERROR.confirm.
  1831.  
  1832.     4. Duplicate ESRO-INVOKE-PDU:
  1833.  
  1834.       o No action (ignore the duplicate ESRO-INVOKE-PDU).
  1835.  
  1836.     5. ESRO-RESULT-PDU or ESRO-ERROR-PDU retransmission timer:
  1837.  
  1838.       o Retransmit ESRO-RESULT-PDU or ESRO-ERROR-PDU (in a single PDU
  1839.         or in a segmented format) while number of retransmissions is
  1840.         less than MAX_RETRANSMISSIONS.
  1841.  
  1842.       o Increment the transmission counter.
  1843.  
  1844.  
  1845.  
  1846.  
  1847.  
  1848.  
  1849.  
  1850. Banan, et. al                Informational                     [Page 33]
  1851.  
  1852. RFC 2188                          ESRO                    September 1997
  1853.  
  1854.  
  1855.     6. Duplicate ESRO-INVOKE-PDU:
  1856.  
  1857.       o Retransmit ESRO-RESULT-PDU or ESRO-ERROR-PDU.
  1858.  
  1859.       o Reset ESRO-RESULT-PDU or ESRO-ERROR-PDU retransmission timer.
  1860.  
  1861.       o Re-initialize the number of retransmissions counter to 1.
  1862.  
  1863.     7. Duplicate ESRO-INVOKE-PDU:
  1864.  
  1865.       o Reset invoke reference number timer.
  1866.  
  1867.     8. Internal failure:
  1868.  
  1869.       o Send ESRO-FAILURE-PDU.
  1870.  
  1871.       o Release the invoke reference number.
  1872.  
  1873.     9. Last time:
  1874.  
  1875.       o Issue ESROS-FAILURE.indication.
  1876.  
  1877.       o Initialize invoke reference number timer.
  1878.  
  1879.     10. Invoke reference number timer:
  1880.  
  1881.       o Release the invoke reference number.
  1882.  
  1883.     11. Duplicate ESRO-ACK-PDU:
  1884.  
  1885.       o Reset invoke reference number timer.
  1886.  
  1887.     12. Hold-on ACK request:
  1888.  
  1889.       o Send hold-on ESRO-ACK-PDU (for future use).
  1890.  
  1891.    On receipt of an ESRO-INVOKE-PDU, the ESROS provider issues an
  1892.    ESROS-INVOKE.indication to the ESROS performer user.  The provider
  1893.    ignores the duplicate ESRO-INVOKE-PDUs.
  1894.  
  1895.    In the case of internal failure or no response from performer user,
  1896.    the provider sends an ESRO-FAILURE-PDU and releases the invoke
  1897.    reference number.
  1898.  
  1899.    On receipt of a Hold-on request from the performer user, or based on
  1900.    other information, provider sends a Hold-on ESRO-ACK-PDU (future
  1901.    use).
  1902.  
  1903.  
  1904.  
  1905.  
  1906. Banan, et. al                Informational                     [Page 34]
  1907.  
  1908. RFC 2188                          ESRO                    September 1997
  1909.  
  1910.  
  1911.    On receipt of either ESROS-RESULT.request or ESROS-ERROR.request from
  1912.    the ESROS performer user, the ESROS provider initiates the
  1913.    retransmission timer for the ESRO-RESULT-PDU or ESRO-ERROR-PDU and
  1914.    transmits the ESRO-RESULT-PDU or ESRO-ERROR-PDU in a single PDU or in
  1915.    a sequence of segment PDUs.  If the ESRO-ACK-PDU associated with the
  1916.    Invoke-ID is not received within
  1917.    RESULT_ERROR_PDU_RETRANSMISSION_INTERVAL (see 4.6.2), the PDU is
  1918.    retransmitted.
  1919.  
  1920.    When provider is waiting for ESRO-ACK-PDU and a duplicate ESRO-
  1921.    INVOKE-PDU arrives, ESRO-RESULT-PDU or ESRO-ERROR-PDU is
  1922.    retransmitted (in a single PDU or in a sequence of segment PDUs), the
  1923.    retransmission timer is reset and counter for number of
  1924.    retransmissions is re-initialized to 1.
  1925.  
  1926.    If after MAX_TRANSMISSIONS (see 4.6.2) no ESRO-ACK-PDU is received,
  1927.    the provider issues an ESROS-FAILURE.indication primitive, with the
  1928.    Invoke-ID of the failed PDU and the Failure-value as parameters, to
  1929.    the performer user.  Then the provider sets the reference number
  1930.    timer and releases the reference number after REFERENCE_NUMBER_TIME
  1931.    (see 4.6.2).
  1932.  
  1933.    On receipt of ESRO-ACK-PDU associated with the Invoke-ID before
  1934.    MAX_TRANSMISSIONS (see 4.6.2), the provider issues a ESROS-
  1935.    RESULT.confirm or ESROS-ERROR.confirm primitive and sets the
  1936.    reference number timer and releases the reference number after
  1937.    REFERENCE_NUMBER_TIME (see 4.6.2).
  1938.  
  1939.    The duplicate ESRO-ACK-PDU and duplicate ESRO-INVOKE-PDUs are ignored
  1940.    while provider waits for the reference number timer to expire.
  1941.  
  1942. 4.3.3  2-Way Handshake Functional Unit
  1943.  
  1944.    This Functional Unit implements the Not-Acknowledged Result model of
  1945.    ESRO Services.  2-Way handshaking is used in this unit.
  1946.  
  1947.    The RESULT.confirm and ERROR.confirm primitives on performer side are
  1948.    generated based on time-out, i.e.  when no duplicate ESRO-INVOKE-PDU
  1949.    is received in a specified period of time, provider issues
  1950.    RESULT.confirm or ERROR.confirm primitive.
  1951.  
  1952.    The FAILURE.indication on performer side is generated as a result of
  1953.    local failure or after time-out of retransmission of ESRO-RESULT-PDU
  1954.    or ESRO-ERROR-PDU.
  1955.  
  1956.    The FAILURE.indication on invoker side is generated if a local
  1957.    failure happens or a ESRO-FAILURE-PDU is received.
  1958.  
  1959.  
  1960.  
  1961.  
  1962. Banan, et. al                Informational                     [Page 35]
  1963.  
  1964. RFC 2188                          ESRO                    September 1997
  1965.  
  1966.  
  1967.    The transmission of INVOKE, RESULT, and ERROR PDUs can be in a single
  1968.    PDU (when it fits in one PDU) or a sequence of segmented PDUs.
  1969.  
  1970.  
  1971.    2-Way Handshake Connectionless Transmission:  Invoker
  1972.  
  1973.  
  1974.    For each transition number in the state diagram above, the
  1975.    corresponding actions are listed below:
  1976.  
  1977.     1. INVOKE.request:
  1978.  
  1979.       o Assign Invoke-ID.
  1980.  
  1981.       o Issue ESROS-INVOKE-P.confirm primitive.
  1982.  
  1983.       o Assign invoke reference number.
  1984.  
  1985.       o Send ESRO-INVOKE-PDU in a single PDU or as a sequence of
  1986.         segment PDUs.
  1987.  
  1988.       o Initialize retransmission counter.
  1989.  
  1990.       ______________________________________________________________
  1991.       |      State              |STA01      |STA02      |STA03     |
  1992.       |                         |2-Way HS   |Invoke PDU |Invoker   |
  1993.       |                         |CL Invoker |Send       |RefNu Wait|
  1994.       |Event                    |Start      |           |          |
  1995.       |-------------------------+-----------+-----------+----------|
  1996.       |U: INVOKE.req.           |(1) STA02  |           |          |
  1997.       |-------------------------+-----------+-----------+----------|
  1998.       |T: Invoke PDU Retransmit |           |(2) STA02  |          |
  1999.       |-------------------------+-----------+-----------+----------|
  2000.       |T: Last Timer            |           |(3) STA03  |          |
  2001.       |-------------------------+-----------+-----------+----------|
  2002.       |P: Result/Error PDU      |           |(4) STA03  |          |
  2003.       |-------------------------+-----------+-----------+----------|
  2004.       |P: Failure-PDU           |           |(5) STA03  |          |
  2005.       |-------------------------+-----------+-----------+----------|
  2006.       |P: Duplicate Result PDU  |           |           |(6) STA03 |
  2007.       |-------------------------+-----------+-----------+----------|
  2008.       |T: RefNu Timer           |           |           |(7) STA01 |
  2009.       |_________________________|___________|___________|__________|
  2010.  
  2011.  
  2012.       Table 13:  ESROS State Transition Diagram-Connectionless Transmission,
  2013.       2-Way HS: Invoker p = Protocol, T = Timer, U = User, I = Internal.
  2014.  
  2015.  
  2016.  
  2017.  
  2018. Banan, et. al                Informational                     [Page 36]
  2019.  
  2020. RFC 2188                          ESRO                    September 1997
  2021.  
  2022.  
  2023.     2. Invoke PDU Retransmit:
  2024.  
  2025.       o Retransmit ESRO-INVOKE-PDU (in a single PDU or in a sequence of
  2026.         segment PDUs) while number of retransmissions is less than
  2027.         MAX_RETRANSMISSIONS.
  2028.  
  2029.       o Increment the transmission counter.  When MAX_RETRANSMISSIONS
  2030.         reached, start LAST_TIMER.
  2031.  
  2032.     3. Last Timer:
  2033.  
  2034.       o Issue ESROS-FAILURE.indication primitive.
  2035.  
  2036.       o Initialize reference number timer.
  2037.  
  2038.     4. ESRO-RESULT-PDU or ESRO-ERROR-PDU:
  2039.  
  2040.       o Issue ESROS-RESULT.indication or ESROS-ERROR.indication
  2041.         primitive.
  2042.  
  2043.       o Initialize reference number timer.
  2044.  
  2045.     5. ESRO-FAILURE-PDU:
  2046.  
  2047.       o Issue ESROS-FAILURE.indication primitive with User not
  2048.         Responding failure cause.
  2049.  
  2050.       o Initialize reference number timer.
  2051.  
  2052.     6. Duplicate ESRO-RESULT-PDU or ESRO-ERROR-PDU:
  2053.  
  2054.       o Reset Invoke reference number timer.
  2055.  
  2056.     7. Invoke reference number timer:
  2057.  
  2058.       o Release the invoke reference number.
  2059.  
  2060.    On receipt of an ESROS-INVOKE.request, ESROS provider generates an
  2061.    Invoke- Reference-Number and an Invoke-ID (see 4.2.3).  The provider
  2062.    issues an ESROS-INVOKE-P.confirm primitive and passes the Invoke-ID
  2063.    to the invoker.
  2064.  
  2065.    The ESROS provider initiates the timer for the Invoke-ID and
  2066.    transmits the PDU. The PDU is transmitted as a single PDU or a
  2067.    sequence of segment PDUs.  If the ESRO- RESULT-PDU or ESRO-ERROR-PDU
  2068.    associated with the invoke ID is not received within the
  2069.  
  2070.  
  2071.  
  2072.  
  2073.  
  2074. Banan, et. al                Informational                     [Page 37]
  2075.  
  2076. RFC 2188                          ESRO                    September 1997
  2077.  
  2078.  
  2079.    INVOKE_PDU_RETRANSMISSION_INTERVAL (see 4.6.2) period, the PDU is
  2080.    retransmitted.  The retransmission is repeated for a maximum of
  2081.    MAX_RETRANSMISSIONS unless an ESRO-RESULT-PDU or ESRO-ERROR-PDU is
  2082.    received.
  2083.  
  2084.    In the case that the ESRO-INVOKE-PDU is sent MAX_RETRANSMISSIONS (see
  2085.    4.6.2) times and no ESRO-RESULT-PDU or ESRO-ERROR-PDU is received,
  2086.    the ESROS provider sends an ESROS-FAILURE.indication primitive, with
  2087.    the Invoke-ID of the failed PDU and the Failure-value as parameters,
  2088.    to the invoker.  If ESRO- FAILURE-PDU is received, the ESROS provider
  2089.    sends and ESROS-FAILURE.indication primitive, with the Invoke-Id of
  2090.    the failed PDU and the Failure- value as parameters to the invoker.
  2091.  
  2092.    When an ESRO-RESULT-PDU or ESRO-ERROR-PDU is received, the provider
  2093.    issues an ESROS-RESULT.indication or ESROS-ERROR.indication to the
  2094.    invoker user, and initializes the Reference-Number timer.  In the
  2095.    case that duplicate ESRO-RESULT-PDU or ESRO-ERROR-PDU are received,
  2096.    they are ignored.  In the case of internal failure, the provider
  2097.    initializes the reference number timer.  After REFERENCE_NUMBER_TIME
  2098.    (see 4.6.2), the reference number is released.
  2099.  
  2100.  
  2101.    2-Way Handshake Connectionless Transmission:  Performer
  2102.  
  2103.    ___________________________________________________________________
  2104.    |      State        |STA01      |STA02     |STA03     |STA04      |
  2105.    |                   |2-Way HS CL|Invoke PDU|Result PDU|Performer  |
  2106.    |Event              |Performer  |Received  |Retransmit|RefNu Wait |
  2107.    |                   |Start      |          |          |           |
  2108.    |-------------------+-----------+----------+----------+-----------|
  2109.    |P: Invoke-PDU      |(1) STA02  |          |          |           |
  2110.    |-------------------+-----------+----------+----------+-----------|
  2111.    |P: Invoke-PDU      |           |(2) STA02 |(5) STA03 |(7) STA04  |
  2112.    | Duplicate         |           |          |          |           |
  2113.    |-------------------+-----------+----------+----------+-----------|
  2114.    |U: RESULT.req.     |           |(3) STA03 |          |           |
  2115.    |-------------------+-----------+----------+----------+-----------|
  2116.    |I: Failure         |           |(4) STA01 |          |           |
  2117.    |-------------------+-----------+----------+----------+-----------|
  2118.    |T: Inactivity Timer|           |          |(6) STA04 |           |
  2119.    |-------------------+-----------+----------+----------+-----------|
  2120.    |T: RefNu Timer     |           |          |          |(8) STA01  |
  2121.    ___________________________________________________________________
  2122.  
  2123.  
  2124.  
  2125.    Table 14:  ESROS State Transition Diagram-Connectionless Transmission,
  2126.    2-Way HS: Performer.  P = Protocol, T = Timer, U = User, I = Internal.
  2127.  
  2128.  
  2129.  
  2130. Banan, et. al                Informational                     [Page 38]
  2131.  
  2132. RFC 2188                          ESRO                    September 1997
  2133.  
  2134.  
  2135.    For each transition number in the state diagram above, the
  2136.    corresponding actions are listed below:
  2137.  
  2138.     1. ESRO-INVOKE-PDU (received in a single PDU or reassembled from a
  2139.        sequence of segment PDUs):
  2140.  
  2141.       o Issue ESROS-INVOKE.indication primitive.
  2142.  
  2143.     2. Duplicate ESRO-INVOKE-PDU:
  2144.  
  2145.       o No action (ignore the duplicate ESRO-INVOKE-PDU).
  2146.  
  2147.     3. EROS-RESULT.request or ESROS-ERROR.request:
  2148.  
  2149.       o Add invoke reference number to the active list.
  2150.  
  2151.       o Transmit ESRO-RESULT-PDU or ESRO-ERROR-PDU (as a single PDU or
  2152.         as a sequence of segment PDUs.)
  2153.  
  2154.       o Set Inactivity timer.
  2155.  
  2156.     4. Internal failure:
  2157.  
  2158.       o Send ESRO-FAILURE-PDU.
  2159.  
  2160.       o Release the invoke reference number.
  2161.  
  2162.     5. Duplicate ESRO-INVOKE-PDU:
  2163.  
  2164.       o Retransmit ESRO-RESULT-PDU or ESRO-ERROR-PDU (as a single PDU
  2165.         or as a sequence of segment PDUs.)
  2166.  
  2167.       o Set Inactivity timer.
  2168.  
  2169.     6. Inactivity Timer:
  2170.  
  2171.       o Issue ESROS-RESULT.confirm.
  2172.  
  2173.       o Initialize invoke reference number timer.
  2174.  
  2175.     7. Dplicate ESRO-INVOKE-PDU:
  2176.  
  2177.       o Reset invoke reference number timer.
  2178.  
  2179.     8. Invoke reference number timer:
  2180.  
  2181.       o Release the invoke reference number.
  2182.  
  2183.  
  2184.  
  2185.  
  2186. Banan, et. al                Informational                     [Page 39]
  2187.  
  2188. RFC 2188                          ESRO                    September 1997
  2189.  
  2190.  
  2191.    On receipt of an ESRO-INVOKE-PDU (as a single PDU or reassembled from
  2192.    a sequence of segment PDUs), the ESROS provider issues an ESROS-
  2193.    INVOKE.indication to the ESROS performer user.  The provider ignores
  2194.    the duplicate ESRO-INVOKE-PDUs.
  2195.  
  2196.    In the case of internal failure or no response from performer user,
  2197.    the provider sends an ESRO-FAILURE-PDU and releases the invoke
  2198.    reference number.
  2199.  
  2200.    On receipt of either ESROS-RESULT.request or ESROS-ERROR.request from
  2201.    the ESROS performer user, the ESROS provider initiates the inactivity
  2202.    timer for the ESRO- RESULT-PDU or ESRO-ERROR-PDU and transmits the
  2203.    ESRO-RESULT-PDU or ESRO-ERROR-PDU (in a single PDU or as a sequence
  2204.    of segment PDUs.)  If a duplicate ESRO-INVOKE-PDU associated with the
  2205.    Invoke-ID is received within INACTIVITY_TIME interval (see 4.6.2),
  2206.    the PDU is retransmitted.
  2207.  
  2208.    If no duplicate ESRO-INVOKE-PDU is received within the
  2209.    INACTIVITY_TIME interval (see 4.6.2), provider issues a ESROS-
  2210.    RESULT.confirm or ESROS-ERROR.confirm primitive and sets the
  2211.    reference number timer and releases the reference number after
  2212.    REFERENCE_NUMBER_TIME (see 4.6.2).
  2213.  
  2214.    The duplicate ESRO-INVOKE-PDUs are ignored while provider waits for
  2215.    the reference number timer to expire.
  2216.  
  2217. 4.3.4  Segmentation and Reassembly
  2218.  
  2219.    Small ESRO Service Data Units (ESRO-SDUs) can benefit from the
  2220.    efficiencies of connectionless feature of ESROS (See Section 4.3.1).
  2221.  
  2222.    When an ESRO-SDU is too large to fit in a single connectionless PDU
  2223.    it is segmented and reassembled.  There might be similar mechanisms
  2224.    in the upper layers with different levels of efficiency.  When in
  2225.    addition to the ESROS segmentation/reassembly, the upper layers are
  2226.    capable of segmentation/reassembly services, then the ESROS user can
  2227.    decide whether to use ESROS segmenting/reassembly mechanism depending
  2228.    on the factors such as reliability of the underlying network.
  2229.  
  2230.    In the case of segmentation/reassembly in ESROS layer, transmission
  2231.    of operation segments is not acknowledged.  This results in an
  2232.    efficient transmission over a reliable underlying network.  However
  2233.    failure of one segment results in retransmission of all segments.
  2234.  
  2235.    When acknowledged segments are desired, the ESROS user should
  2236.    implement it using the acknowledged result service of ESROS.
  2237.  
  2238.  
  2239.  
  2240.  
  2241.  
  2242. Banan, et. al                Informational                     [Page 40]
  2243.  
  2244. RFC 2188                          ESRO                    September 1997
  2245.  
  2246.  
  2247.    The ESROS segmentation/reassembly is accommodated by:
  2248.  
  2249.       o Use of two additional PDU codes for segmented INVOKE PDU.
  2250.  
  2251.       o Use of one byte segmentation information, which contains
  2252.         First/Other flag and segment number.
  2253.  
  2254.       o Use of unused bits of RESULT and ERROR PDUs to identify a
  2255.         segmented RESULT or ERROR PDU.
  2256.  
  2257.    Segmentation and Assembly applies to INVOKE, RESULT, and ERROR SDUs.
  2258.  
  2259.    The sender of the message is responsible for segmenting the ESRO-SDU
  2260.    into segments that fit in CL PDUs.  The segmented ESRO-SDU is sent in
  2261.    a sequence of segments each carrying a segment of the SDU. The
  2262.    Invoke-Reference-Number is a unique identifier that is used as the
  2263.    segment identifier which relates all segments of an ESRO-SDU. In
  2264.    addition to this identifier, the first segment specifies the total
  2265.    number of segments (number-of-segments).  Other segments have a
  2266.    segment sequence number (segment- number).  The receiver is
  2267.    responsible for sequencing (based on segment-number) and reassembling
  2268.    the entire ESRO-SDU.
  2269.  
  2270.    Segmenting/Reassembling over the Connectionless ESRO Service
  2271.  
  2272.    The sender maps the original ESRO-SDU into an ordered sequence of
  2273.    segments.  Several ESRO-SDU segment sequences can exist over the same
  2274.    ESROS association, distinguished by their Invoke-Reference-Number
  2275.    (used as segment identifier.)
  2276.  
  2277.    All segments in the sequence have the same Invoke-Reference-Number
  2278.    assigned by sender.
  2279.  
  2280.    The first segment specifies the total number of segments.  All
  2281.    segments in the sequence except the first one shall be sequentially
  2282.    numbered, starting at 1 (first segment has an implicit segment number
  2283.    of 0).
  2284.  
  2285.    Each segment is transmitted in one UDP PDU and is sent by sender.
  2286.    All segments of a segmented ESRO-SDU are identified by the same
  2287.    Invoke-Reference-Number.  For a given operation, the receiver should
  2288.    not impose any restrictions on the order of arrival of segments.
  2289.  
  2290.    There is no requirement that any segment content be of
  2291.    CLRO_SMALL_PDU_MAX_SIZE for connectionless transmission; however, no
  2292.    more than CLRO_MAX_PDU_SEGMENTS segments can be derived from a single
  2293.    ESRO-SDU.
  2294.  
  2295.  
  2296.  
  2297.  
  2298. Banan, et. al                Informational                     [Page 41]
  2299.  
  2300. RFC 2188                          ESRO                    September 1997
  2301.  
  2302.  
  2303.    The receiver reassembles a sequence of segments into a single ESRO-
  2304.    SDU. An ESRO-SDU shall not be further processed unless all segments
  2305.    of the ESRO-SDU are received.  Failure to receive the SDU shall be
  2306.    determined by the following event:
  2307.  
  2308.       o Expiration of Reassembly Timer (see Section 4.3.4).
  2309.  
  2310.    In the event of the above mentioned failure, the receiver shall
  2311.    discard a partially assembled sequence.
  2312.  
  2313.    The reassembly is done as described below:
  2314.  
  2315.       o In the case of segmented Invoke ESRO-SDU, the encoding type and
  2316.         operation-value fields are carried in the first segment used for
  2317.         the whole operation.  These three fields are ignored in the
  2318.         segments other than the first one.
  2319.  
  2320.       o In the case of segmented Result ESRO-SDU, the encoding type of
  2321.         the first segment is used for all segments.  The encoding type
  2322.         field of segments other than the first one are ignored.
  2323.  
  2324.       o In the case of segmented Error ESRO-SDU, the encoding type and
  2325.         Error-value field of the first segment are used for all
  2326.         segments.  These two fields are ignored in segments other than
  2327.         the first one.
  2328.  
  2329.    Sender sends all segments of a segmented ESRO-SDU one after the
  2330.    other.  There is no mechanism for retransmission of a single segment.
  2331.    In the case that the sender receives a failure indication for a
  2332.    segment, it means that receiver has failed in reassembly process, and
  2333.    the sender retransmits the whole ESRO-SDU (all segments).
  2334.  
  2335.  
  2336.    Reassembly Timer
  2337.  
  2338.  
  2339.    The Reassembly Timer is a local timer maintained by the receiver of
  2340.    the segments that assists in performing the reassembly function.
  2341.    This timer determines how long a receiver waits to receive all
  2342.    segments of a segment sequence.
  2343.  
  2344.    The Reassembly Timer shall be started on receipt of a segment with
  2345.    different sequence identifier (Invoke-Reference-Number).  On receipt
  2346.    of all segments composing a sequence, the corresponding reassembly
  2347.    timer shall be stopped.
  2348.  
  2349.  
  2350.  
  2351.  
  2352.  
  2353.  
  2354. Banan, et. al                Informational                     [Page 42]
  2355.  
  2356. RFC 2188                          ESRO                    September 1997
  2357.  
  2358.  
  2359.    The value of the Reassembly Timer is defined based on the network
  2360.    characteristics and the number of segments.  This requires that the
  2361.    transmission of all segments of a single ESRO-SDU must be completed
  2362.    within this time limit.
  2363.  
  2364. 4.4  Structure and Encoding of ESROS PDUs
  2365.  
  2366.    Five PDU types are used in the ESRO protocol which are described in
  2367.    the following sections.  PDU type coding is presented in Table 15.
  2368.  
  2369.    The octets are numbered in increasing order, starting from 1.  The
  2370.    bits of an octet are numbered from 1 to 8, where 1 is the low-order
  2371.    bit.
  2372.  
  2373. 4.4.1  ESRO-INVOKE-PDU Format
  2374.  
  2375.    Bit string format of the ESRO-INVOKE-PDU is represented in Table 16
  2376.    and Table 17.
  2377.  
  2378.  
  2379.  
  2380.            _______________________________________
  2381.            | PDU Name              |PDU Type Code |
  2382.            _______________________________________
  2383.            | ESRO-INVOKE           |0             |
  2384.            | ESRO-RESULT           |1             |
  2385.            | ESRO-ERROR            |2             |
  2386.            | ESRO-ACK              |3             |
  2387.            | ESRO-FAILURE          |4             |
  2388.            | ESRO-SEGMENTED-INVOKE |5             |
  2389.            _______________________________________
  2390.  
  2391.  
  2392.  
  2393.  
  2394.                    Table 15:  PDU Coding
  2395.  
  2396.  
  2397.  
  2398.  
  2399.  
  2400.  
  2401.  
  2402.  
  2403.  
  2404.  
  2405.  
  2406.  
  2407.  
  2408.  
  2409.  
  2410. Banan, et. al                Informational                     [Page 43]
  2411.  
  2412. RFC 2188                          ESRO                    September 1997
  2413.  
  2414.  
  2415.        __________________________________________________________
  2416.        |Bit       |8 |            7           |6 |5 |4 |3 |2 |1 |
  2417.        |----------+--+------------------------+--+--+--+--+--+--|
  2418.        |Octet 1   | Performer SAP                   |0 |0 |0 |0 |
  2419.        |----------+--+------------------------+--+--+--+--+--+--|
  2420.        |Octet 2   | Invoke Reference Number                     |
  2421.        |----------+--+------------------------+--+--+--+--+--+--|
  2422.        |Octet 3   |Parameter Encoding Type    |Operation Value  |
  2423.        |----------+--+------------------------+--+--+--+--+--+--|
  2424.        |Octet 4   |                                             |
  2425.        | ...      | Operation Information                       |
  2426.        |Octet N   |                                             |
  2427.        |__________|_____________________________________________|
  2428.  
  2429.  
  2430.  
  2431.  
  2432.           Table 16:  ESRO-INVOKE-PDU format. ESRO-INVOKE-PDU Type Code =
  2433.           0.  Note:  Invoker SAP = Performer SAP - 1.
  2434.  
  2435.  
  2436.  
  2437.  
  2438.                          _______________________
  2439.                          | Value |   Meaning    |
  2440.                          |_______|______________|
  2441.                          | 0     |   BER [5]    |
  2442.                          |_______|______________|
  2443.                          | 1     |   PER [4]    |
  2444.                          |_______|______________|
  2445.                          | 2     |   XDR [8]    |
  2446.                          |_______|______________|
  2447.                          | 3     |  Reserved    |
  2448.                          |_______|______________|
  2449.  
  2450.  
  2451.  
  2452.  
  2453.  
  2454.          Table 17:  Parameter Encoding Type for ESRO-INVOKE-PDU
  2455.  
  2456.  
  2457.  
  2458.  
  2459.  
  2460.  
  2461.  
  2462.  
  2463.  
  2464.  
  2465.  
  2466. Banan, et. al                Informational                     [Page 44]
  2467.  
  2468. RFC 2188                          ESRO                    September 1997
  2469.  
  2470.  
  2471.           ---------------------------------------------------------
  2472.          |Bit     |  8  |  7  |  6  |  5  |  4  |  3  |  2  |  1  |
  2473.          |--------|-----------|-----|-----|-----|-----|-----|-----|
  2474.          |        | Parameter |     |     |     |     |     |     |
  2475.          |        | Encoding  |     |     |     |     |     |     |
  2476.          |Octet 1 | Type      |  0  |  0  |  0  |  0  | 0   |  1  |
  2477.          |        |           |     |     |     |     |     |     |
  2478.          |        |           |     |     |     |     |     |     |
  2479.          |        |           |     |     |     |     |     |     |
  2480.          |--------|-----------------------------------------------|
  2481.          |Octet 2 |           Invoke Reference Number             |
  2482.          |--------|-----------------------------------------------|
  2483.          |Octet 3 |                                               |
  2484.          |...     |             Result-parameter                  |
  2485.          |Octet N |                                               |
  2486.           ---------------------------------------------------------
  2487.          ESRO-RESULT-PDU Type Code = 1.
  2488.  
  2489.  
  2490.                          Table 18:  ESRO-RESULT-PDU format
  2491.  
  2492.  
  2493.  
  2494.                          _______________________
  2495.                          | Value |   Meaning    |
  2496.                          |_______|______________|
  2497.                          | 0     |    Basic     |
  2498.                          |_______|______________|
  2499.                          | 1     |   Packed     |
  2500.                          |_______|______________|
  2501.                          | 2     |     XDR      |
  2502.                          |_______|______________|
  2503.                          | 3     |  Reserved    |
  2504.                          |_______|______________|
  2505.  
  2506.  
  2507.  
  2508.           Table 19:  Parameter Encoding Type for ESRO-RESULT-PDU
  2509.  
  2510.  
  2511.  
  2512.  
  2513. 4.4.2  ESRO-RESULT-PDU Format
  2514.  
  2515.    Bit string format of the ESRO-RESULT-PDU is represented in Table 18
  2516.    and Table 19.
  2517.  
  2518.  
  2519.  
  2520.  
  2521.  
  2522. Banan, et. al                Informational                     [Page 45]
  2523.  
  2524. RFC 2188                          ESRO                    September 1997
  2525.  
  2526.  
  2527. 4.4.3  ESRO-ERROR-PDU Format
  2528.  
  2529.    Bit string format of the ESRO-ERROR-PDU is represented in Table 20
  2530.    and Table 21.
  2531.  
  2532.           ---------------------------------------------------------
  2533.          |Bit     |  8  |  7  |  6  |  5  |  4  |  3  |  2  |  1  |
  2534.          |--------|-----------|-----|-----|-----|-----|-----|-----|
  2535.          |        | Parameter |     |     |     |     |     |     |
  2536.          |        | Encoding  |     |     |     |     |     |     |
  2537.          |Octet 1 | Type      |  0  |  0  |  0  |  0  | 1   |  0  |
  2538.          |        |           |     |     |     |     |     |     |
  2539.          |        |           |     |     |     |     |     |     |
  2540.          |        |           |     |     |     |     |     |     |
  2541.          |--------|-----------------------------------------------|
  2542.          |Octet 2 |           Invoke Reference Number             |
  2543.          |--------|-----------------------------------------------|
  2544.          |Octet 3 |               Error Value                     |
  2545.          |--------|-----------------------------------------------|
  2546.          |Octet 4 |                                               |
  2547.          |...     |             Error parameter                   |
  2548.          |Octet N |                                               |
  2549.           ---------------------------------------------------------
  2550.          ESRO-ERROR-PDU Type Code = 2.
  2551.  
  2552.  
  2553.                           Table 20:  ESRO-ERROR-PDU format
  2554.  
  2555.  
  2556.                          _______________________
  2557.                          | Value |   Meaning    |
  2558.                          |_______|______________|
  2559.                          | 0     |    Basic     |
  2560.                          |_______|______________|
  2561.                          | 1     |   Packed     |
  2562.                          |_______|______________|
  2563.                          | 2     |     XDR      |
  2564.                          |_______|______________|
  2565.                          | 3     |  Reserved    |
  2566.                          |_______|______________|
  2567.  
  2568.  
  2569.                Table 21:  Parameter Encoding Type for ESRO-ERROR-PDU
  2570.  
  2571.  
  2572.  
  2573.  
  2574.  
  2575.  
  2576.  
  2577.  
  2578. Banan, et. al                Informational                     [Page 46]
  2579.  
  2580. RFC 2188                          ESRO                    September 1997
  2581.  
  2582.  
  2583.              ---------------------------------------------------------
  2584.             |Bit     |  8  |  7  |  6  |  5  |  4  |  3  |  2  |  1  |
  2585.             |--------|-----------------------|-----|-----|-----|-----|
  2586.             |        | ESRO-ACK-PDU Type     |     |     |     |     |
  2587.             |Octet 1 |                       |  0  |  0  | 1   |  1  |
  2588.             |--------|-----------------------------------------------|
  2589.             |Octet 2 |           Invoke Reference Number             |
  2590.              ---------------------------------------------------------
  2591.              ESRO-ACK-PDU Type Code = 3.
  2592.  
  2593.  
  2594.                             Table 22:  Fields of ESRO-ACK-PDU
  2595.  
  2596.  
  2597.                _____________________________________________
  2598.                | ESRO-ACK-PDU Type |        Meaning         |
  2599.                |___________________|________________________|
  2600.                | 0                 |Complete 3-way handshake|
  2601.                |___________________|________________________|
  2602.                | 1                 |        Hold on         |
  2603.                |___________________|________________________|
  2604.  
  2605.  
  2606.  
  2607.                   Table 23:  Encoding of ESRO-ACK-PDU Type
  2608.  
  2609.  
  2610.  
  2611.  
  2612. 4.4.4  ESRO-ACK-PDU Format
  2613.  
  2614.    Bit string format of the ESRO-ACK-PDU is represented in Table 22 and
  2615.    Table 23.
  2616.  
  2617. 4.4.5  ESRO-FAILURE-PDU Format
  2618.  
  2619.    Bit string format of the ESROS-FAILURE-PDU is represented in Table 24
  2620.    and Table 25.
  2621.  
  2622.    The first nibble of the first octet of ESRO-FAILURE-PDU shall be set
  2623.    to zero.
  2624.  
  2625.  
  2626.  
  2627.  
  2628.  
  2629.  
  2630.  
  2631.  
  2632.  
  2633.  
  2634. Banan, et. al                Informational                     [Page 47]
  2635.  
  2636. RFC 2188                          ESRO                    September 1997
  2637.  
  2638.  
  2639. 4.4.6  ESRO-INVOKE-SEGMENTED-PDU Format
  2640.  
  2641.    Bit string format of the ESRO-INVOKE-SEGMENTED-PDU is represented in
  2642.    Table 25 and Table 26.
  2643.  
  2644.    Note:  Invoker SAP = Performer SAP - 1.
  2645.  
  2646.  
  2647.       ---------------------------------------------------------
  2648.      |Bit     |  8  |  7  |  6  |  5  |  4  |  3  |  2  |  1  |
  2649.      |--------|-----------------------|-----|-----|-----|-----|
  2650.      |Octet 1 |         Not used      |  0  |  1  |  0  |  0  |
  2651.      |--------|-----------------------------------------------|
  2652.      |Octet 2 |           Invoke Reference Number             |
  2653.      |--------|-----------------------------------------------|
  2654.      |Octet 3 |                Failure Value                  |
  2655.      ----------------------------------------------------------
  2656.      ESRO-FAILURE-PDU Type Code = 4.
  2657.  
  2658.  
  2659.  
  2660.                      Table 24:  ESRO-FAILURE-PDU format
  2661.  
  2662.  
  2663.                ________________________________________
  2664.                | Failure Value |       Meaning         |
  2665.                |_______________|_______________________|
  2666.                | 0             |Transmission failure   |
  2667.                |_______________|_______________________|
  2668.                | 1             |Out of local resources |
  2669.                |_______________|_______________________|
  2670.                | 2             | User not responding   |
  2671.                |_______________|_______________________|
  2672.                | 3             |Out of remote resources|
  2673.                |_______________|_______________________|
  2674.  
  2675.  
  2676.  
  2677.                  Table 25:  Encoding of failure value
  2678.  
  2679.  
  2680.  
  2681.  
  2682.  
  2683.  
  2684.  
  2685.  
  2686.  
  2687.  
  2688.  
  2689.  
  2690. Banan, et. al                Informational                     [Page 48]
  2691.  
  2692. RFC 2188                          ESRO                    September 1997
  2693.  
  2694.  
  2695.       -----------------------------------------------------------------
  2696.      |Bit     |  8   |  7   |  6   |  5   |  4   |  3   |  2   |  1   |
  2697.      |--------|---------------------------|------|------|------|------|
  2698.      |Octet 1 | Performer Service         |  0   |  1   |  0   |  1   |
  2699.      |        | Access Point Selector     |      |      |      |      |
  2700.      |--------|-------------------------------------------------------|
  2701.      |Octet 2 |            Invoke Reference Number                    |
  2702.      |--------|-------------------------------------------------------|
  2703.      |        | Parameter   |                                         |
  2704.      |        | Encoding    |                                         |
  2705.      |Octet 3 | Type        |        Operation Value                  |
  2706.      |        |             |                                         |
  2707.      |        |             |                                         |
  2708.      |        |             |                                         |
  2709.      |--------|-------------------------------------------------------|
  2710.      |Octet 4 |First/|                                                |
  2711.      |        |Other |                  Segment Number                |
  2712.      |--------|-------------------------------------------------------|
  2713.      |Octet 5 |                                                       |
  2714.      |...     |             Operation Information                     |
  2715.      |Octet N |                                                       |
  2716.       ----------------------------------------------------------------|
  2717.       ESRO-INVOKE-PDU Type Code = 5.
  2718.  
  2719.  
  2720.                 Table 26:  ESRO-INVOKE-SEGMENTED-PDU format
  2721.  
  2722.  
  2723.                           _______________________
  2724.                           | Value |   Meaning    |
  2725.                           |_______|______________|
  2726.                           | 0     |    Basic     |
  2727.                           |_______|______________|
  2728.                           | 1     |   Packed     |
  2729.                           |_______|______________|
  2730.                           | 2     |     XDR      |
  2731.                           |_______|______________|
  2732.                           | 3     |  Reserved    |
  2733.                           |_______|______________|
  2734.  
  2735.      Table 27:  Parameter Encoding Type for ESRO-INVOKE-SEGMENTED-PDU
  2736.  
  2737.       o For the first segment, the first/other bit is set to one, and
  2738.         the segment number field contains the total number of segments.
  2739.  
  2740.       o For segments other than the first one, the first/other bit is
  2741.         set to zero, and the segment number field has the sequence
  2742.         number of the segment.
  2743.  
  2744.  
  2745.  
  2746. Banan, et. al                Informational                     [Page 49]
  2747.  
  2748. RFC 2188                          ESRO                    September 1997
  2749.  
  2750.  
  2751.    The values of the three fields Performer-SAP, Parameter-Encoding-
  2752.    Type, and Operation-Value of the first segment are used by performer
  2753.    and these fields are ignored in the segments other than the first
  2754.    one.
  2755.  
  2756. 4.4.7  ESRO-RESULT-SEGMENTED-PDU Format
  2757.  
  2758.    Bit string format of the ESRO-RESULT-SEGMENTED-PDU is represented in
  2759.    Table 28 and Table 29.
  2760.  
  2761.       o For the first segment, the first/other bit is set to one, and
  2762.       the
  2763.         segment number field contains the total number of segments.
  2764.  
  2765.       o For segments other than the first one, the first/other bit is
  2766.       set
  2767.         to zero, and the segment number field has the sequence number of
  2768.         the segment.
  2769.  
  2770.    The values of the Parameter-Encoding-Type field of the first segment
  2771.    is used by invoker and this field is ignored in the segments other
  2772.    than the first one.
  2773.  
  2774.  
  2775.       -----------------------------------------------------------------
  2776.      |Bit     |  8   |  7   |  6   |  5   |  4   |  3   |  2   |  1   |
  2777.      |--------|-------------|------|------|------|------|------|------|
  2778.      |        | Parameter   |      |      |      |      |      |      |
  2779.      |        | Encoding    |      |      |      |      |      |      |
  2780.      |Octet 1 | Type        |  0   |  1   |  0   |  0   |  0   |  1   |
  2781.      |        |             |      |      |      |      |      |      |
  2782.      |        |             |      |      |      |      |      |      |
  2783.      |        |             |      |      |      |      |      |      |
  2784.      |--------|-------------------------------------------------------|
  2785.      |Octet 2 |            Invoke Reference Number                    |
  2786.      |--------|-------------------------------------------------------|
  2787.      |Octet 4 |First/|                                                |
  2788.      |        |Other |                  Segment Number                |
  2789.      |--------|-------------------------------------------------------|
  2790.      |Octet 5 |                                                       |
  2791.      |...     |                 Result Parameter                      |
  2792.      |Octet N |                                                       |
  2793.       ----------------------------------------------------------------|
  2794.      ESRO-RESULT-SEGMENTED-PDU Type Code = 1.
  2795.  
  2796.                 Table 28:  ESRO-RESULT-SEGMENTED-PDU format
  2797.  
  2798.  
  2799.  
  2800.  
  2801.  
  2802. Banan, et. al                Informational                     [Page 50]
  2803.  
  2804. RFC 2188                          ESRO                    September 1997
  2805.  
  2806.  
  2807.                           _______________________
  2808.                           | Value |   Meaning    |
  2809.                           |_______|______________|
  2810.                           | 0     |    Basic     |
  2811.                           |_______|______________|
  2812.                           | 1     |   Packed     |
  2813.                           |_______|______________|
  2814.                           | 2     |     XDR      |
  2815.                           |_______|______________|
  2816.                           | 3     |  Reserved    |
  2817.                           |_______|______________|
  2818.  
  2819.      Table 29:  Parameter Encoding Type for ESRO-RESULT-SEGMENTED-PDU
  2820.  
  2821.  
  2822.  
  2823.  
  2824.       -----------------------------------------------------------------
  2825.      |Bit     |  8   |  7   |  6   |  5   |  4   |  3   |  2   |  1   |
  2826.      |--------|-------------|------|------|------|------|------|------|
  2827.      |        | Parameter   |      |      |      |      |      |      |
  2828.      |        | Encoding    |      |      |      |      |      |      |
  2829.      |Octet 1 | Type        |  0   |  1   |  0   |  0   |  1   |  0   |
  2830.      |        |             |      |      |      |      |      |      |
  2831.      |        |             |      |      |      |      |      |      |
  2832.      |        |             |      |      |      |      |      |      |
  2833.      |--------|-------------------------------------------------------|
  2834.      |Octet 2 |            Invoke Reference Number                    |
  2835.      |--------|-------------------------------------------------------|
  2836.      |Octet 3 |First/|                                                |
  2837.      |        |Other |                  Segment Number                |
  2838.      |--------|-------------------------------------------------------|
  2839.      |Octet 4 |                    Error Value                        |
  2840.      |--------|-------------------------------------------------------|
  2841.      |Octet 5 |                                                       |
  2842.      |...     |                 Error Parameter                       |
  2843.      |Octet N |                                                       |
  2844.       ----------------------------------------------------------------|
  2845.      ESRO-ERROR-SEGMENTED-PDU Type Code = 2.
  2846.  
  2847.  
  2848.                     Table 30:  ESRO-ERROR-SEGMENTED-PDU
  2849.  
  2850. 4.4.8  ESRO-ERROR-SEGMENTED-PDU Format
  2851.  
  2852.    Bit string format of the ESRO-ERROR-PDU is represented in Table 30
  2853.    and Table 31.
  2854.  
  2855.  
  2856.  
  2857.  
  2858. Banan, et. al                Informational                     [Page 51]
  2859.  
  2860. RFC 2188                          ESRO                    September 1997
  2861.  
  2862.  
  2863.       o For the first segment, the first/other bit is set to one, and
  2864.         the segment number field contains the total number of segments.
  2865.  
  2866.       o For segments other than the first one, the first/other bit is
  2867.         set to zero, and the segment number field has the sequence
  2868.         number of the segment.
  2869.  
  2870.    The values of the Parameter-Encoding-Type field of the first segment
  2871.    is used by invoker and this field is ignored in the segments other
  2872.    than the first one.
  2873.  
  2874. 4.5  Concatenation and Separation
  2875.  
  2876.    The procedure for concatenation and separation conveys multiple
  2877.    ESRO-PDUs in one TSDU. This is accomplished by ESRO-CONCATENATED-PDU.
  2878.  
  2879.  
  2880.  
  2881.                           _______________________
  2882.                           | Value |   Meaning    |
  2883.                           |_______|______________|
  2884.                           | 0     |    Basic     |
  2885.                           |_______|______________|
  2886.                           | 1     |   Packed     |
  2887.                           |_______|______________|
  2888.                           | 2     |     XDR      |
  2889.                           |_______|______________|
  2890.                           | 3     |  Reserved    |
  2891.                           |_______|______________|
  2892.  
  2893.  
  2894.  
  2895.       Table 31:  Parameter Encoding Type for ESRO-SEGMENTED-ERROR-PDU
  2896.  
  2897.  
  2898.  
  2899.  
  2900.    An ESRO-CONCATENATED-PDU can contain one or more of the following
  2901.    PDUs:  INVOKE, RESULT, ERROR, FAILURE, and ACK.
  2902.  
  2903.    The ESRO-PDUs within a concatenated set may be distinguished by means
  2904.    of the length indicator.  A one byte length indicator comes before
  2905.    each ESRO-PDU.
  2906.  
  2907.    The number of ESRO-PDUs in an ESRO-CONCATENATED-PDU is bounded by the
  2908.    maximum length of TSDU.
  2909.  
  2910.  
  2911.  
  2912.  
  2913.  
  2914. Banan, et. al                Informational                     [Page 52]
  2915.  
  2916. RFC 2188                          ESRO                    September 1997
  2917.  
  2918.  
  2919. 4.5.1  Procedures
  2920.  
  2921.    Concatenation
  2922.  
  2923.  
  2924.    The ESROS provider concatenates PDUs as follows:
  2925.  
  2926.       o PDU type code 8 is used.
  2927.  
  2928.       o The length indicator which is the total length of first ESRO-PDU
  2929.         (header and data) in octets is placed after PDU type code in
  2930.         length indicator field of ESRO- CONCATENATED-PDU (see Section
  2931.         4.5.2).
  2932.  
  2933.       o The first PDU (header and data) is placed after the length
  2934.         indicator field and in the ESRO-PDU field of ESRO-CONCATENATED-
  2935.         PDU (see Section 4.5.2).
  2936.  
  2937.       o For any additional ESRO-PDU, the length indicator and PDUs are
  2938.         concatenated.
  2939.  
  2940.    Separation
  2941.  
  2942.    When the ESRO service provider receives a PDU with PDU type code 8,
  2943.    it separates the concatenated PDUs as described below:
  2944.  
  2945.       o Length indicator field coming after type code field (see
  2946.         Section 4.5.2) specifies the total length of the first PDU in
  2947.         octets.
  2948.  
  2949.       o The first PDU is in the ESRO-PDU field after the length
  2950.       indicator
  2951.         field (see Section 4.5.2).
  2952.  
  2953.       o Any additional PDU has its length indicator field specifying the
  2954.         total length of PDU, followed by PDU itself (see Section 4.5.2).
  2955.  
  2956.       o PDUs are separated until the end of the ESRO-CONCATENATED-PDU is
  2957.         reached.
  2958.  
  2959. 4.5.2  ESRO-CONCATENATED-PDU format
  2960.  
  2961.    Bit string format of the ESRO-CONCATENATED-PDU containing multiple
  2962.    concatenated ESRO-PDUs is represented in Table  32.
  2963.  
  2964.  
  2965.  
  2966.  
  2967.  
  2968.  
  2969.  
  2970. Banan, et. al                Informational                     [Page 53]
  2971.  
  2972. RFC 2188                          ESRO                    September 1997
  2973.  
  2974.  
  2975.    Length Indicator field
  2976.  
  2977.    This field is contained in one octet and comes before each ESROS-PDU
  2978.    in the concatenated PDU. The length indicated is total length of the
  2979.    ESRO-PDU (including header and data) coming after it in octets.
  2980.  
  2981.    ESRO-PDU field
  2982.  
  2983.    This field contains an ESRO-INVOKE-PDU, ESRO-RESULT-PDU, ESRO-ERROR-
  2984.    PDU, ESRO-FAILURE-PDU, or ESRO-ACK-PDU.
  2985.  
  2986.    The length of this field is specified by the length indicator field
  2987.    coming before it.
  2988.  
  2989. 4.6  ES Remote Operations Protocol Parameters
  2990.  
  2991. 4.6.1  PDU size
  2992.  
  2993.       o CLRO_SMALL_PDU_MAX_SIZE:
  2994.  
  2995.  
  2996.          ________________________________________________________________
  2997.         |Bit     |  8   |  7   |  6   |  5   |  4   |  3   |  2   |  1   |
  2998.         |--------|---------------------------|------|------|------|------|
  2999.         |Octet 1 |         Not used          |  1   |  0   |  0   |  0   |
  3000.         |--------|-------------------------------------------------------|
  3001.         |Octet 2 |                  Length Indicator                     |
  3002.         |--------|-------------------------------------------------------|
  3003.         |Octet 3 |                                                       |
  3004.         |...     |                     ESRO-PDU                          |
  3005.         |Octet N |                                                       |
  3006.         |--------|-------------------------------------------------------|
  3007.         |Octet   |                                                       |
  3008.         | N+1    |                  Length Indicator                     |
  3009.         |--------|-------------------------------------------------------|
  3010.         |Octet   |                                                       |
  3011.         | N+2    |                     ESRO-PDU                          |
  3012.         | ...    |                                                       |
  3013.         |--------|-------------------------------------------------------|
  3014.         | ...    |                        ...                            |
  3015.         |________|_______________________________________________________|
  3016.         ESRO-CONCATENATED-PDU Type Code = 8.
  3017.  
  3018.                      Table 32:  ESRO-CONCATENATED-PDU format
  3019.  
  3020.  
  3021.  
  3022.  
  3023.  
  3024.  
  3025.  
  3026. Banan, et. al                Informational                     [Page 54]
  3027.  
  3028. RFC 2188                          ESRO                    September 1997
  3029.  
  3030.  
  3031.         The value of this parameter should be chosen based on the
  3032.         specifics of the subnetwork in use.  For example, in CDPD the
  3033.         maximum size of SN-Userdata size can be up to 2048 bytes (see
  3034.         part 404-2.b of CDPD Specification V1.1).  Based on this value
  3035.         and IP and UDP protocol information fields, the value of
  3036.         CLRO_SMALL_PDU_MAX_SIZE may be determined for CDPD. Again based
  3037.         on the specifics of the subnetwork, the optimum value of
  3038.         CLRO_SMALL_PDU_MAX_SIZE may best be determined based on field
  3039.         experience and may be smaller than the maximum size that the
  3040.         subnetwork supports.
  3041.  
  3042.       o CLRO_SEGMENTED_PDU_MAX_SIZE
  3043.  
  3044.         The value of this parameter should be chosen based on the
  3045.         specifics of the subnetwork in use.  The optimum value of
  3046.         CLRO_SEGMENTED_PDU_MAX_SIZE may best be determined based on
  3047.         field experience.
  3048.  
  3049.       o CLRO_MAX_PDU_SEGMENTS
  3050.  
  3051.         The value of this parameter should be chosen based on the
  3052.         specifics of the subnetwork in use.  The optimum value of
  3053.         CLRO_MAX_PDU_SEGMENTS may best be determined based on field
  3054.         experience.  In any case, this value should be smaller than 127.
  3055.  
  3056. 4.6.2  Timers
  3057.  
  3058.       o INVOKE_PDU_RETRANSMISSION_INTERVAL:
  3059.  
  3060.         The INVOKE_PDU retransmission interval should be specified and
  3061.         optimized based on the characteristics of the network in use.
  3062.  
  3063.       o RESULT_ERROR_PDU_RETRANSMISSION_INTERVAL:
  3064.  
  3065.         The RESULT and ERROR-PDU retransmission interval should be
  3066.         specified and optimized based on the characteristics of the
  3067.         network in use.
  3068.  
  3069.       o MAX_RETRANSMISSIONS:
  3070.  
  3071.         The maximum number of retransmissions should be specified and
  3072.         optimized based on the characteristics of the network in use.
  3073.  
  3074.       o INACTIVITY_TIME:
  3075.  
  3076.         The minimum waiting time during which no duplicate PDU is
  3077.         received should be specified and optimized based on the
  3078.         characteristics of the network in use.
  3079.  
  3080.  
  3081.  
  3082. Banan, et. al                Informational                     [Page 55]
  3083.  
  3084. RFC 2188                          ESRO                    September 1997
  3085.  
  3086.  
  3087.       o REFERENCE_NUMBER_TIME: The reference number lifetime timer
  3088.         should be specified and optimized based on the characteristics
  3089.         of the network in use.
  3090.  
  3091. 4.6.3  Use of lower layers
  3092.  
  3093.    ESRO protocol uses UDP port number 259.
  3094.  
  3095. 5  ACKNOWLEDGMENTS
  3096.  
  3097.    Development of this specification was funded by AT&T Wireless
  3098.    Services (AWS). This protocol specification has been derived from
  3099.    AT&T Wireless Services' document titled:  "Limited Size Remote
  3100.    Operation Services (LSROS)", Revision 0.8, dated April 20, 1995.
  3101.  
  3102.    This specification is technically consistent with CDPD Forum's
  3103.    Implementor's Guidelines Part 1028, Release 1.03, June 21, 1996.
  3104.  
  3105. 6  SECURITY CONSIDERATIONS
  3106.  
  3107.    ESROS has no authentication mechanism.  Authentication is the
  3108.    responsibility of the performer (which is outside of the scope of
  3109.  
  3110.    ESROS) and the performer is not expected to honor the invoker when it
  3111.    is not authenticated.
  3112.  
  3113. 7  AUTHORS' ADDRESSES
  3114.  
  3115.    Mohsen Banan
  3116.    Neda Communications, Inc.
  3117.    17005 SE 31st Place
  3118.    Bellevue, WA 98008
  3119.  
  3120.    EMail: mohsen@neda.com
  3121.  
  3122.  
  3123.    Mark S. Taylor
  3124.    Director of Strategic Engineering
  3125.    AT&T Wireless Services
  3126.    Wireless Data Division
  3127.    10230 NE Points Drive
  3128.    Kirkland, WA 98033-7869 USA
  3129.  
  3130.    EMail: mark.taylor@airdata.com
  3131.  
  3132.  
  3133.  
  3134.  
  3135.  
  3136.  
  3137.  
  3138. Banan, et. al                Informational                     [Page 56]
  3139.  
  3140. RFC 2188                          ESRO                    September 1997
  3141.  
  3142.  
  3143.    Jia-bing Cheng
  3144.    AT&T Wireless Services
  3145.    Wireless Data Division
  3146.    10230 NE Points Drive
  3147.    Kirkland, WA 98033-7869 USA
  3148.  
  3149.    EMail: jcheng@airdata.com
  3150.  
  3151. References
  3152.  
  3153.    [1] Remote Operations:  Model, Notation and Service Definition, March
  3154.         1988. Recommendation X.219.
  3155.  
  3156.    [2] Remote Operations:  Protocol Specification, March 1988.
  3157.         Recommendation X.229.
  3158.  
  3159.    [3] Specification of Abstract Syntax Notation One, 1988.
  3160.         Recommendation X.208.
  3161.  
  3162.    [4] Information Processing --- Open Systems
  3163.         Interconnection --- Specification of Packed Encoding Rules for
  3164.         Abstract Syntax Notation One (ASN.1). International Standard
  3165.         8825-2.
  3166.  
  3167.    [5] Information Processing --- Open Systems
  3168.         Interconnection --- Specification of Basic Encoding Rules for
  3169.         Abstract Syntax Notation One (ASN.1), 1987. International
  3170.         Standard 8825.
  3171.  
  3172.    [6] Srinivasan, R., "Binding protocols for onc rpc version 2".
  3173.         RFC 1833, Sun Microsystems Inc, August 1995.
  3174.  
  3175.    [7] Srinivasan, R., "Rpc:  Remote procedure call protocol
  3176.         specification version 2". RFC 1831, Sun Microsystems Inc, August
  3177.         1995.
  3178.  
  3179.    [8] Srinivasan, R., "Xdr:  External data representation standard".
  3180.         RFC 1832, Sun Microsystems Inc, August 1995.
  3181.  
  3182.  
  3183.  
  3184.  
  3185.  
  3186.  
  3187.  
  3188.  
  3189.  
  3190.  
  3191.  
  3192.  
  3193.  
  3194. Banan, et. al                Informational                     [Page 57]
  3195.  
  3196.