⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rfc2188.txt

📁 <VC++网络游戏建摸与实现>源代码
💻 TXT
📖 第 1 页 / 共 5 页
字号:
   The ESROS-INVOKE service is used by an ESROS-User (the invoker) to   cause the invocation of an OPERATION to be performed by the other   ESROS-User (the performer).   ESROS Invoker User issues ESROS-INVOKE.request primitive to invoke an   operation.   ESROS-INVOKE.indication primitive provides the ESROS Performer User   with the parameters of the invoked operation.   ESRO Service Provider issues the ESROS-INVOKE-P.confirm primitive to   provide the ESROS Invoker User with Invoke-ID of the invoked   operation.   The related service structure consists of three service primitives as   illustrated in Figure 3 and Table 5.2.4.1  Operation-value   This value is the identifier of the operation to be invoked.  The   value is agreed upon between the ESROS Users.  This parameter has to   be supplied by the invoker of the service.   ESROS Invoker User provides the Operation-value parameter for the   ESROS-INVOKE.request primitive.  The Operation-value parameter of   ESROS-INVOKE.indication is provided to the ESROS Performer User.Banan, et. al                Informational                     [Page 13]RFC 2188                          ESRO                    September 1997          _____________________________________________________________          | Primitive                |Parameters                       |          |__________________________|_________________________________|          |                          |Operation-value                  |          |                          |Performer-address                |          | ESROS-INVOKE.request     |Invoke-argument-encoding-type    |          |                          |Invoke-argument                  |          |__________________________|_________________________________|          |                          |Operation-value                  |          |                          |Invoker-address                  |          |                          |Invoke-argument-encoding-type    |          | ESROS-INVOKE.indication  |Invoke-argument                  |          |                          |Invoke-ID                        |          |__________________________|_________________________________|          | ESROS-INVOKE-P.confirm   |Invoke-ID                        |          |                          |Failure-value                    |          |__________________________|_________________________________|          | ESROS-FAILURE.indication |Invoke-ID                        |          |__________________________|_________________________________|     Table 5:  ESROS-INVOKE service primitives and associated parameters2.4.2  Performer-address   This parameter is the address of the ESROS Performer User which   consists of ESRO Service Access Point (SAP) Selector, Transport   Service Access Point (TSAP) Selector (e.g., port number), and Network   Service Access Point (NSAP) address (e.g., IP address).  This   parameter has to be supplied by the invoker of the service.   ESROS Invoker User provides the Performer-address parameter for the   ESROS-INVOKE.request primitive.2.4.3  Invoker-address   This parameter is the address of the ESROS Invoker User which   consists of ESRO Service Access Point (SAP) Selector, Transport   Service Access Point (TSAP) Selector (e.g.  port number), and Network   Service Access Point (NSAP) address (e.g.  IP address).   The Invoker-address parameter of ESROS-INVOKE.indication is provided   to the ESROS Performer User.Banan, et. al                Informational                     [Page 14]RFC 2188                          ESRO                    September 19972.4.4  Invoke-argument-encoding-type   This parameter identifies the encoding type of the Invoke-argument   (see next subsection).  The encoding type has to be agreed upon   between ESROS Users.  This parameter has to be supplied by the   invoker of the service.   ESROS Invoker User provides the Invoke-argument-encoding-type   parameter for the ESROS-INVOKE.request primitive.  The Invoke-   argument-encoding-type parameter of ESROS-INVOKE.indication is   provided to the ESROS Performer User.2.4.5  Invoke-argument   This parameter is the argument of the invoked operation.  The type   has to be agreed between the ESROS Users.  This parameter has to be   supplied by the invoker of the service.  Encoding type of the   Invoke-argument is specified through the Invoke-argument-encoding-   type parameter (see previous subsection).   ESROS Invoker User provides the Invoke-argument parameter for the   ESROS-INVOKE.request primitive.  The Invoke-argument parameter of   ESROS-INVOKE.indication is provided to the ESROS Performer User.2.4.6  Invoke-ID   This parameter identifies the invocation of an ESROS-INVOKE service   and is used to correlate this invocation with the corresponding   replies (ESROS-RESULT, ESROS-ERROR, and ESROS-FAILURE services.)   This parameter has to be supplied by the ESROS provider.   This parameter distinguishes several invocations of the service in   progress (asynchronous operations).  The ESROS provider may begin to   reuse Invoke-ID values whenever it chooses, subject to the constraint   that it may not reuse an Invoke-ID value that was previously assigned   to an invocation of the service for which it expects, but has not yet   received a reply.  In other words, the provider does not reuse a   previously used Invoke-ID unless the corresponding service is fully   completed.Banan, et. al                Informational                     [Page 15]RFC 2188                          ESRO                    September 19972.4.7  Failure-value   This parameter identifies the failure that occurred during the   processing or transmission of any of the service primitives of ESROS.                  Invoker        Performer                 ESROS AP         ESROS AP                       |               |                       |               |   ESROS-RESULT.ind.   |               | ESROS-RESULT.req.   --------<-----------|               |--------<---------                       |               |                       |               | ESROS-RESULT.conf.                       |               |-------->---------                       |               |                       |               | ESROS-FAILURE.ind.                       |               |-------->---------                       |               |   Figure 4:  Time sequence diagram for ESROS-RESULT service   This parameter has to be supplied by the ESROS provider (see also   Section 2.7).2.5  ESROS-RESULT Service   The ESROS-RESULT service is used by an ESROS User to reply to a   previous ESROS-INVOKE.indication in the case of a successfully   performed operation.  This service is either confirmed or non-   confirmed based on the service mode (see Section 2).   The related service structure consists of three service primitives as   illustrated in Figure 4 and Table 6.2.5.1  Result-argument-encoding-type   This parameter identifies the encoding type of the Result-argument   (see next subsection).  The encoding type has to be agreed upon   between the ESROS Users.  This parameter has to be supplied by the   ESROS Performer User.   ESROS Performer User provides the Result-argument-encoding-type   parameter for the ESROS-RESULT.request primitive.  The Result-   argument-encoding-type parameter of ESROS-RESULT.indication is   provided to the ESROS Invoker User.Banan, et. al                Informational                     [Page 16]RFC 2188                          ESRO                    September 1997   ______________________________________________________________   | Primitive                |Parameters                       |   |__________________________|_________________________________|   |                          |Result-argument-encoding-type    |   |                          |Result-argument                  |   | ESROS-RESULT.request     |Invoke-ID                        |   |__________________________|_________________________________|   |                          |                                 |   |                          |Result-argument-encoding-type    |   |                          |Result-argument                  |   | ESROS-RESULT.indication  |Invoke-ID                        |   |__________________________|_________________________________|   |                          |                                 |   | ESROS-RESULT.confirm     |Invoke-ID                        |   |                          |Failure-value                    |   |                          |                                 |   |__________________________|_________________________________|   | ESROS-FAILURE.indication |Invoke-ID                        |   |__________________________|_________________________________|   Table 6:  ESROS-RESULT service primitives and associated parameters2.5.2  Result-argument   This parameter is the result of an invoked and successfully performed   operation.  The type has to be agreed between the ESROS Users.  This   parameter has to be supplied by the invoker of the service.  Encoding   type of the Result-argument is specified through the Result-   argument-encoding-type parameter (see previous subsection).   ESROS Performer User provides the Result-argument parameter for the   ESROS-RESULT.request primitive.  The Result-argument parameter of   ESROS-RESULT.indication is provided to the ESROS Invoker User.2.5.3  Invoke-ID   This parameter identifies the corresponding invocation.  This   Invoke-ID, which is originally generated by the ESROS provider at the   time of ESROS-INVOKE indication, is extracted from the Invoke ID that   has to be supplied by the ESROS performer User.  The value is that of   the corresponding ESROS-INVOKE.indication primitive.Banan, et. al                Informational                     [Page 17]RFC 2188                          ESRO                    September 1997                  Invoker        Performer                 ESROS AP         ESROS AP                       |               |                       |               |   ESROS-ERROR.ind.    |               | ESROS-ERROR.req.   --------<-----------|               |--------<---------                       |               |                       |               | ESROS-ERROR.conf.                       |               |-------->---------                       |               |                       |               | ESROS-FAILURE.ind.                       |               |-------->---------   Figure 5:  Time sequence diagram for ESROS-ERROR service2.5.4  Failure-value   This parameter identifies the failure that occurred during the   processing or transmission of any of the service primitives of ESROS.   This parameter has to be supplied by the ESROS provider (see also   Section 2.7).2.6  ESROS-ERROR Service   The ESROS-ERROR service is used by an ESROS User to reply to a   previous ESROS-INVOKE.indication in the case of an unsuccessfully   performed operation.  This service is either confirmed or non-   confirmed based on the service mode (see Section 2).   The related service structure consists of three service primitives as   illustrated in Figure 5 and Table 7.2.6.1  Error-value   This parameter identifies the error in reply to a previous ESROS-   INVOKE.indication in the case of an unsuccessfully performed   operation.  The value has to be agreed between the ESROS-Users.  This   parameter has to be supplied by the ESROS Performer User.   ESROS Performer User provides the Error-argument parameter for the   ESROS-ERROR.request primitive.  The Error-argument parameter of   ESROS-ERROR.indication is provided to the ESROS Invoker User.Banan, et. al                Informational                     [Page 18]RFC 2188                          ESRO                    September 1997          ________________________________________________________          | Primitive                |Parameters                  |          |__________________________|____________________________|          |                          |Error-value                 |          |                          |Error-argument-encoding-type|          | ESROS-ERROR.request      |Error-argument              |          |__________________________|____________________________|          |                          |                            |          |                          |Error-value                 |          |                          |Error-argument-encoding-type|          | ESROS-ERROR.indication   |Error-argument              |          |                          |Invoke-ID                   |          |                          |                            |          |__________________________|____________________________|          | ESROS-ERROR.confirm      |Invoke-ID                   |          |                          |Failure-value               |          |                          |                            |          |__________________________|____________________________|          | ESROS-FAILURE.indication |Invoke-ID                   |          |__________________________|____________________________|    Table 7:  ESROS-ERROR service primitives and associated parameters2.6.2  Error-argument-encoding-type   This parameter identifies the encoding type of the Error-argument   (see next subsection).  The encoding type has to be agreed upon   between the ESROS Users.  This parameter has to be supplied by the   ESROS Performer User.   ESROS Performer User provides the Error-argument-encoding-type   parameter for the ESROS-ERROR.request primitive.  The Error-   argument-encoding-type parameter of ESROS-ERROR.indication is   provided to the ESROS Invoker User.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -