home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Standards 1993 July / Disc.iso / ccitt / 1992 / x / x227_2.asc < prev    next >
Encoding:
Text File  |  1993-08-17  |  42.2 KB  |  2,389 lines

  1. C:\WINWORD\CCITTREC.DOT
  2.  
  3.         8     Mapping to the presentation-service
  4.  
  5.     This clause specifies how the presentation-service primitives are used 
  6. by the ACPM. This usage depends on the mode selected (see º 6.2) for the 
  7. association.
  8.  
  9.     a)     For the requesting ACPM: The mode for the association is determined 
  10. by the value of the Mode parameter of the invoking A-ASSOCI-
  11. ATE request primitive. If the Mode parameter is not included on 
  12. the request primitive, the default value of ╗normal½ is used.
  13.  
  14.     b)     For the accepting ACPM: The mode is determined by the value of 
  15. the Mode parameter of the incoming P-CONNECT indication primitive.
  16.  
  17.     The usage of the presentation services for the normal mode is speci-
  18. fied in ºº 8.1 to 8.3. The usage for the X.410-1984 mode is specified in ºº 
  19. 8.4 to 8.6. Table 7/X.227 summarizes, for both modes of operation, the 
  20. mapping of ACSE primitives and their related APDUs (normal mode) to the 
  21. presentation primitives used.
  22.  
  23. TABLE 7/X.227 
  24.  
  25. Mapping overview 
  26.  
  27.  
  28.  
  29. ACSE primitive 
  30.  
  31. APDU
  32.  a) 
  33.  
  34. Presentation Primitive 
  35.  
  36. A-ASSOCIATE request/indica-
  37. tion 
  38.  
  39. AARQ 
  40.  
  41. P-CONNECT request/indica-
  42. tion 
  43.  
  44. A-ASSOCIATE response/con-
  45. firm 
  46.  
  47. AARE 
  48.  
  49. P-CONNECT response/con-
  50. firm 
  51.  
  52. A-RELEASE request/indica-
  53. tion 
  54.  
  55. RLRQ 
  56.  
  57. P-RELEASE request/indica-
  58. tion 
  59.  
  60. A-RELEASE response/confirm 
  61.  
  62. RLRE 
  63.  
  64. P-RELEASE response/confirm 
  65.  
  66. A-ABORT request/indication 
  67.  
  68. ABRT 
  69.  
  70. P-U-ABORT request/indica-
  71. tion 
  72.  
  73. A-P-ABORT indication
  74.  
  75.  - 
  76.  
  77. P-P-ABORT indication 
  78.  
  79. a )   ACSE APDUs are not used in the X.410-1984 mode.
  80.  
  81. 8.1    Association establishment (normal mode)
  82.  
  83.     The association establishment procedure uses the P-CONNECT ser-
  84. vice. Association establishment takes place concurrently with the establish-
  85. ment of the underlying presentation-connection.
  86.  
  87. 8.1.1    Directly mapped parameters
  88.  
  89.     For the P-CONNECT primitives: The following parameters are not 
  90. referenced by the ACPM and are mapped directly onto the corresponding 
  91. parameters of the A-ASSOCIATE primitives:
  92.  
  93.     a)     Calling Presentation Address;
  94.  
  95.     b)     Called Presentation Address;
  96.  
  97.     c)     Responding Presentation Address;
  98.  
  99.     d)     Presentation Context Definition List;
  100.  
  101.     e)     Presentation Context Definition Result List;
  102.  
  103.     f )     Default [Presentation] Context Name;
  104.  
  105.     g)     Default [Presentation] Context Result;
  106.  
  107.     h)     Quality of Service;
  108.  
  109.     i)     Presentation Requirement;
  110.  
  111.     j )     Session Requirements;
  112.  
  113.     k)     Initial Synchronization Point Serial Number;
  114.  
  115.     l)     Initial Assignment of Tokens;
  116.  
  117.     m)     Session-connection Identifier.
  118.  
  119. 8.1.2    Use of other P-CONNECT request and indication parameters
  120.  
  121.     The Mode and User Data parameters of the P-CONNECT request and 
  122. indication primitives are referenced by the ACPM.
  123.  
  124. 8.1.2.1    Mode
  125.  
  126. 8.1.2.1.1    For the P-CONNECT request primitives: The Mode parameter is 
  127. set to the value of the Mode parameter of the A-ASSOCIATE request primi-
  128. tive. For the normal mode of ACSE operation, this parameter has the value 
  129. of ╗normal½. This indicates to the presentation-service that it is to operate in 
  130. the normal mode for this presentation-connection.
  131.  
  132. 8.1.2.1.2    For the P-CONNECT indication primitive: This parameter has the 
  133. value of ╗normal½ for the normal mode of ACSE operation. The value indi-
  134. cates that the accepting ACPM is to operate in the normal mode for this 
  135. association. The Mode parameter of the A-ASSOCIATE indication primi-
  136. tive is set to the value of ╗normal½.
  137.  
  138. 8.1.2.2    User data
  139.  
  140.     For both the P-CONNECT request and indication primitives: The 
  141. User Data parameter is used to carry the AARQ APDU as specified below.
  142.  
  143.     a)     The APCI of the AARQ APDU is expressed using the ACSE abstract 
  144. syntax of this Recommendation. This abstract syntax must be 
  145. included as the value of a presentation context definition parameter 
  146. specified by the requestor on the A-ASSOCIATE request primi-
  147. tive.
  148.  
  149.         Note - The requesting and accepting ACPMs are aware of the presen-
  150. tation context which contains their abstract syntax by a local mech-
  151. anism.
  152.  
  153.     b)     User information (if any) from the A-ASSOCIATE request primitive 
  154. is included in the AARQ APDU and is expressed using one or 
  155. more presentation contexts specified by the requestor on the A-
  156. ASSOCIATE request primitive.
  157.  
  158. 8.1.3    Use of other P-CONNECT response and confirm parameters
  159.  
  160.     The User Data and Result parameters of the P-CONNECT response 
  161. and confirm primitive are referenced by the ACPM.
  162.  
  163. 8.1.3.1    Result 
  164.  
  165. 8.1.3.1.1    For the P-CONNECT response primitive: The Result parameter is 
  166. set by the accepting ACPM as specified below.
  167.  
  168.     a)     If the accepting ACPM itself rejects the association, it is set as 
  169. ╗user-rejection½.
  170.  
  171.     b)     If the accepting ACPM accepts the request, the values is set as 
  172. ╗acceptance½, or ╗user-rejection½ as determined by the value of 
  173. the corresponding Result parameter on the A-ASSOCIATE 
  174. response primitive.
  175.  
  176. 8.1.3.1.2    For the P-CONNECT confirm primitive: The Result parameter is 
  177. used by the requesting ACPM to determine if the P-CONNECT confirm 
  178. primitive User Data parameter contains an AARE APDU as specified 
  179. below.
  180.  
  181.     a)     If the Result parameter has the value ╗provider-rejection½, the request 
  182. is rejected by the presentation service-provider. The intended 
  183. accepting ACPM never received the AARQ APDU. The User Data 
  184. parameter does not contain an AARE APDU.
  185.  
  186.     b)     Otherwise, the Result parameter has the value of ╗acceptance½ or 
  187. ╗user rejection½. The accepting ACPM received the AARQ APDU 
  188. and has returned an AARE APDU which is contained in the user 
  189. data parameter.
  190.  
  191. 8.1.3.2    User data
  192.  
  193. 8.1.3.2.1    The User Data field only has relevance if the presentation-connec-
  194. tion is not rejected by the presentation service-provider (see º 8.1.3.1).
  195.  
  196. 8.1.3.2.2    For both the P-CONNECT response and confirm primitives: The 
  197. User Data parameter is used to carry the AARE APDU as specified below.
  198.  
  199.     a)     The APCI of the AARE APDU is expressed using the ACSE abstract 
  200. syntax of this Recommendation. This abstract syntax must be 
  201. included as the value of presentation context definition parameter 
  202. selected by the acceptor on the A-ASSOCIATE response primitive.
  203.  
  204.     b)     User information (if any) from the A-ASSOCIATE response primitive 
  205. is included in the AARE APDU and is expressed using one or 
  206. more presentation contexts selected by the acceptor on the A-
  207. ASSOCIATE response primitive.
  208.  
  209. 8.2    Normal release of an association (normal mode)
  210.  
  211.     The normal release procedure uses the P-RELEASE service. The nor-
  212. mal release of an association takes place simultaneously with the normal 
  213. release of the underlying presentation-connection.
  214.  
  215. 8.2.1    Use of P-RELEASE request and indication parameters
  216.  
  217.     The User Data parameter of the P-RELEASE request and indication 
  218. primitives is referenced by the ACPM. For both the P-RELEASE request 
  219. and indication primitives: The User Data parameter is used to carry the 
  220. RLRQ APDU as specified below.
  221.  
  222.     a)     The APCI of the RLRQ APDU is expressed using the ACSE abstract 
  223. syntax of this Recommendation. This abstract syntax must be one 
  224. of the available presentation contexts.
  225.  
  226.     b)     User information (if any) from the A-RELEASE request primitive is 
  227. included in the RLRQ APDU and is expressed using one or more 
  228. available presentation contexts.
  229.  
  230. 8.2.2    Use of P-RELEASE response and confirm parameters
  231.  
  232.     The Result and User Data parameters of the P-RELEASE response 
  233. and confirm primitives are referenced by the ACPM.
  234.  
  235. 8.2.2.1    Result
  236.  
  237. 8.2.2.1.1    For the P-RELEASE response primitive: The Result parameter is 
  238. set to the value of the Result parameter of the A-RELEASE response primi-
  239. tive (i.e., ╗affirmative½ or ╗negative½). This value indicates to the presenta-
  240. tion service-provider whether the underlying presentation-connection is to 
  241. be released or if it is to be continued.
  242.  
  243. 8.2.2.1.2    For the P-RELEASE confirm primitive: The value of the Result 
  244. parameter on the A-ASSOCIATE confirm primitive is set to the value of the 
  245. Result parameter. This value indicates to the requesting ACPM whether the 
  246. association is released or if it continues.
  247.  
  248. 8.2.2.2    User Data
  249.  
  250.     For both the P-RELEASE response and confirm primitives: The User 
  251. Data parameter is used to carry the RLRE APDU as specified below.
  252.  
  253.     a)     The APCI of the RLRE APDU is expressed using the ACSE abstract 
  254. syntax of this Recommendation. This abstract syntax must be one 
  255. of the available presentation contexts.
  256.  
  257.     b)     User information (if any) from the A-RELEASE response primitive is 
  258. included in the RLRE APDU and is expressed using one or more 
  259. available presentation contexts.
  260.  
  261. 8.3    Abnormal release of an association (normal mode)
  262.  
  263.     The abnormal release procedure uses the P-U-ABORT and P-P-
  264. ABORT services. The abnormal release of an association takes place simul-
  265. taneously with the abnormal release of the underlying presentation-connec-
  266. tion.
  267.  
  268. 8.3.1    Use of P-U-ABORT request and indication parameters
  269.  
  270.     The User Data parameter of the P-U-ABORT request and indication primi-
  271. tives is referenced by the ACPM. 
  272.  
  273.     For both the P-U-ABORT request and indication primitives: The User Data 
  274. parameter is used to carry the ABRT APDU as specified below.
  275.  
  276.     a)     The APCI of the APDU is expressed using the ACSE abstract syntax 
  277. of this Recommendation. This abstract syntax must be one of the 
  278. available presentation contexts.
  279.  
  280.     b)     User information (if any) from the A-ABORT request primitive is 
  281. expressed using one or more available presentation contexts.
  282.  
  283. 8.3.2    Use of P-P-ABORT indication parameter
  284.  
  285.     The reason parameter of the provider-initiated P-P-ABORT indication 
  286. primitive is mapped directly to the corresponding parameter of the A-P-
  287. ABORT indication.
  288.  
  289. 8.4    Association establishment (X.410-1984 mode)
  290.  
  291.     The association establishment procedure uses the P-CONNECT ser-
  292. vice.
  293.  
  294. 8.4.1    Directly mapped parameters
  295.  
  296.     The following parameters are not referenced by the ACPM and are 
  297. mapped directly onto corresponding parameters of the A-ASSOCIATE 
  298. primitives:
  299.  
  300.     a)     User data ;
  301.  
  302.     b)     Calling Presentation Address;
  303.  
  304.     c)     Called Presentation Address;
  305.  
  306.     d)     Responding Presentation Address;
  307.  
  308.     e)     Quality of Service;
  309.  
  310.     f )     Session Requirements;
  311.  
  312.     g)     Initial Synchronization Point Serial Number;
  313.  
  314.     h)     Initial Assignment of Tokens;
  315.  
  316.     i)     Session-connection identifier.
  317.  
  318. 8.4.2    Use of other P-CONNECT request and indication parameters
  319.  
  320.     The Mode parameter of the P-CONNECT request and indication 
  321. primitives is referenced by the ACPM.
  322.  
  323.     For the P-CONNECT request primitive: The Mode parameter is set to 
  324. the value of the Mode parameter of the A-ASSOCIATE request primitive. 
  325. For the X.410-1984 mode of ACSE operation, this parameter has the value 
  326. of ╗X.410-1984½. This indicates to the presentation-service that it is to oper-
  327. ate in the X.410-1984 mode for this presentation-connection.
  328.  
  329.     For the P-CONNECT indication primitive: This parameter has the 
  330. value of ╗X.410-1984½ for the X.410-1984 mode of ACSE operation. This 
  331. value indicates that the accepting ACPM is to operate in the X.410-1984 
  332. mode for this association. The Mode parameter of the A-ASSOCIATE indi-
  333. cation primitive is set to the value of ╗X.410-1984½.
  334.  
  335. 8.4.3    Use of other P-CONNECT response and confirm parameters
  336.  
  337.     The Result parameter of the P-CONNECT response and confirm 
  338. primitives is used by the ACPM when operating in the X.410-1984 mode.
  339.  
  340.     For the P-CONNECT response primitive: The value of the Result 
  341. parameter is mapped from the Result parameter of the A-ASSOCIATE 
  342. Result parameter as shown in Table 8/X.227.
  343.  
  344. TABLE 8/X.227
  345.  
  346. Mapping ACSE Result Parameter
  347.  
  348.  
  349.  
  350. A-ASSOCIATE's 
  351. Result 
  352.  
  353. P-CONNECT's 
  354. Result 
  355.  
  356. accepted 
  357.  
  358. acceptance 
  359.  
  360. rejected (perma-
  361. nent) 
  362.  
  363. user-rejection 
  364.  
  365. rejected (transient) 
  366.  
  367. user-rejection 
  368.  
  369.     For the P-CONNECT confirm primitive: The Result and Result 
  370. source parameters of the A-ASSOCIATE confirm primitive are mapped 
  371. from the Result parameter as shown in Table 9/X.227.
  372.  
  373. TABLE 9/X.227
  374.  
  375. Mapping Presentation Result Parameter
  376.  
  377.  
  378.  
  379. P-CONNECT's Result 
  380.  
  381. A-ASSOCIATE's 
  382. Result 
  383.  
  384. A-ASSOCIATE's 
  385. Result Source
  386.  
  387. acceptance 
  388.  
  389. accepted 
  390.  
  391. ACSE service-user 
  392.  
  393. user-rejection 
  394.  
  395. rejected (permanent) 
  396.  
  397. ACSE service-user 
  398.  
  399. provider-rejection 
  400.  
  401. rejected (permanent) 
  402.  
  403. presentation service-
  404. provider 
  405.  
  406.     8.5    Normal release of an association (X.410-1984 mode)
  407.  
  408.     The normal release procedure uses the P-RELEASE service.
  409.  
  410.     The following parameters are not referenced by the ACPM and are 
  411. mapped directly onto corresponding parameters of the A-RELEASE primi-
  412. tives:
  413.  
  414.     a)     Result;
  415.  
  416.     b)     User Data.
  417.  
  418. 8.6    Abnormal release of an association (X.410-1984 mode)
  419.  
  420.     The abnormal release procedure uses the P-U-ABORT and P-P-
  421. ABORT services.
  422.  
  423. 8.6.1    Use of P-U-ABORT request and indication parameters
  424.  
  425.     For both the P-U-ABORT request and indication primitives: The User 
  426. Data parameter is not referenced by the ACPM and is mapped directly onto 
  427. the User Information parameter of the corresponding A-ABORT primitives.
  428.  
  429. 8.6.2    Use of P-P-ABORT indication parameter
  430.  
  431.     For the P-P-ABORT indication primitive: The Reason parameter is 
  432. not referenced by the ACPM and is mapped directly onto the corresponding 
  433. parameter of the A-P-ABORT indication primitive.
  434.  
  435. 9     Structure and encoding of ACSE APDUs
  436.  
  437. 9.1     The abstract syntax of each of the ACSE APDUs is specified in this 
  438. section using ASN.1 (Recommendation X.208).
  439.  
  440. ACSE-1 DEFINITIONS :: =
  441.  
  442. BEGIN
  443.  
  444. -- ACSE-1 refers to ACSE version 1
  445.  
  446. ACSE-apdu :: = CHOICE
  447.  
  448.     {     aarq     AARQ-apdu, 
  449.  
  450.         aare     AARE-apdu, 
  451.  
  452.         rlrq     RLRQ-apdu, 
  453.  
  454.         rlre     RLRE-apdu, 
  455.  
  456.         abrt    ABRT-apdu
  457.  
  458.     }
  459.  
  460. AARQ-apdu :: = [ APPLICATION 0 ]         IMPLICIT SEQUENCE
  461.  
  462.     {     protocol-version     [0]     IMPLICIT BIT STRING 
  463.  
  464.                 { version1 (0) }     DEFAULT { ver-
  465. sion1 },
  466.  
  467.         application-context-name     [1]     Application-context-name
  468.  
  469.         called-AP-title     [2]     AP-title     OPTIONAL,
  470.  
  471.         called-AE-qualifier     [3]     AE-qualifier     OPTIONAL,
  472.  
  473.         called-AP-invocation-identifier     [4]     AP-invocation-identifier     
  474. OPTIONAL,
  475.  
  476.         called-AE-invocation-identifier     [5]     AE-invocation-identifier     
  477. OPTIONAL,
  478.  
  479.         calling-AP-title     [6]     AP-title     OPTIONAL,
  480.  
  481.         calling-AE-qualifier     [7]     AE-qualifier     OPTIONAL,
  482.  
  483.         calling-AP-invocation-identifier     [8]     AP-invocation-identifier     
  484. OPTIONAL,
  485.  
  486.         calling-AE-invocation-identifier     [9]     AE-invocation-identifier     
  487. OPTIONAL,
  488.  
  489.         implementation-information     [29]     IMPLICIT Implementation-data     
  490. OPTIONAL,
  491.  
  492.         user-information     [30]     IMPLICIT Association-information     
  493. OPTIONAL
  494.  
  495.     }
  496.  
  497. AARE-apdu :: = [ APPLICATION 1 ] IMPLICIT SEQUENCE
  498.  
  499.         { protocol-version     [0]     IMPLICIT BIT STRING 
  500.  
  501.                 { version1 (0) }     DEFAULT { ver-
  502. sion1 },
  503.  
  504.         application-context-name     [1]     Application-context-name
  505.  
  506.         result     [2]     Associate-result,
  507.  
  508.         result-source-diagnostic     [3]     Associate-source-diagnostic,
  509.  
  510.         responding-AP-title     [4]     AP-title     
  511. OPTIONAL,
  512.  
  513.         responding-AE-qualifier     [5]     AE-qualifier     
  514. OPTIONAL,
  515.  
  516.         responding-AP-invocation-identifier [6]     AP-invocation-identifier     
  517. OPTIONAL,
  518.  
  519.         responding-AE-invocation-identifier [7]     AE-invocation-identifier     
  520. OPTIONAL,
  521.  
  522.         implementation-information     [29]     IMPLICIT Implementation-data     
  523. OPTIONAL,
  524.  
  525.         user-information     [30]     IMPLICIT Association-information     
  526. OPTIONAL
  527.  
  528.     }
  529.  
  530. RLRQ-apdu :: = [ APPLICATION 2 ] IMPLICIT SEQUENCE
  531.  
  532.     {     reason     [0]     IMPLICIT Release-request-reason     
  533. OPTIONAL,
  534.  
  535.         user-information     [30]     IMPLICIT Association-information     
  536. OPTIONAL
  537.  
  538.     }
  539.  
  540. RLRE-apdu :: = [ APPLICATION 3 ] IMPLICIT SEQUENCE
  541.  
  542.     {     reason     [0]     IMPLICIT Release-request-reason     
  543. OPTIONAL,
  544.  
  545.         user-information     [30]     IMPLICIT Association-information     
  546. OPTIONAL
  547.  
  548.     }
  549.  
  550. ABRT-apdu :: = [ APPLICATION 4 ] IMPLICIT SEQUENCE
  551.  
  552.     {     abort-source     [0]     IMPLICIT ABRT-source,
  553.  
  554.         user-information     [30] IMPLICIT Association-information     
  555. OPTIONAL
  556.  
  557.     }
  558.  
  559. ABRT-source :: = INTEGER
  560.  
  561.     {     acse-service-user (0), 
  562.  
  563.         acse-service-provider (1),
  564.  
  565.     }
  566.  
  567. Application-context-name :: = OBJECT IDENTIFIER
  568.  
  569. AP-title :: = ANY
  570.  
  571.     -- The exact definition and values used for AP-title 
  572.  
  573.     -- should be chosen taking into account the ongoing work 
  574.  
  575.     -- in areas of naming, Directories, and registration 
  576.  
  577.     -- authority procedures for AP-titles, AE-titles and 
  578.  
  579.     -- AE-Qualifiers
  580.  
  581. AE-qualifier :: = ANY
  582.  
  583.  
  584.  
  585.     -- The exact definition and values used for AE-qualifier 
  586.  
  587.     -- should be chosen taking into account the ongoing work 
  588.  
  589.     -- in areas of naming, Directories, and registration 
  590.  
  591.     -- authority procedures for AP-titles, AE-titles and 
  592.  
  593.     -- AE-Qualifiers
  594.  
  595.     -- As defined in ISO 7498-3, an application-entity title 
  596.  
  597.     -- is composed of an application-process title and an 
  598.  
  599.     -- application-entity qualifier.The ACSE protocol provides 
  600.  
  601.     -- for the transfer of an application-entity title value 
  602.  
  603.     -- by the transfer of its component values.However, the 
  604.  
  605.     -- following data type is provided for reference by other 
  606.  
  607.     -- Recommendations that require a single syntactic structure 
  608.  
  609.     -- for AE-titles
  610.  
  611. AE-title :: = SEQUENCE {     AP-title,
  612.  
  613.                          AE-qualifier
  614.  
  615.                 }
  616.  
  617. AE-invocation-identifier :: = INTEGER
  618.  
  619. AP-invocation-identifier :: = INTEGER
  620.  
  621. Associate-result :: = INTEGER
  622.  
  623.     {     accepted (0), 
  624.  
  625.         rejected-permanent (1), 
  626.  
  627.         rejected-transient (2)
  628.  
  629.     }
  630.  
  631. Associate-source-diagnostic :: = CHOICE
  632.  
  633.     {    acse-service-user [1] INTEGER 
  634.  
  635.         {     null (0), 
  636.  
  637.             no-reason-given (1), 
  638.  
  639.             application-context-name-not-supported (2), 
  640.  
  641.             calling-AP-title-not-recognized (3), 
  642.  
  643.             calling-AP-invocation-identifier-not-recognized (4), 
  644.  
  645.             calling-AE-qualifier-not-recognized (5), 
  646.  
  647.             calling-AE-invocation-identifier-not-recognized (6), 
  648.  
  649.             called-AP-title-not-recognized (7), 
  650.  
  651.             called-AP-invocation-identifier-not-recognized (8), 
  652.  
  653.             called-AE-qualifier-not-recognized (9), 
  654.  
  655.             called-AE-invocation-identifier-not-recognized (10)
  656.  
  657.         }
  658.  
  659.         acse-service-provider [2] INTEGER
  660.  
  661.         {    null (0), 
  662.  
  663.             no-reason-given (1), 
  664.  
  665.             no-common-acse-version (2)
  666.  
  667.         }
  668.  
  669.     }
  670.  
  671. Association-information :: = SEQUENCE OF EXTERNAL
  672.  
  673. Implementation-data :: = GraphicString
  674.  
  675. Release-request-reason :: = INTEGER
  676.  
  677.     {     normal (0), 
  678.  
  679.         urgent (1), 
  680.  
  681.         user-defined (30)
  682.  
  683.     }
  684.  
  685. Release-response-reason :: = INTEGER
  686.  
  687.     {     normal (0), 
  688.  
  689.         not-finished (1), 
  690.  
  691.         user-defined (30)
  692.  
  693.     }
  694.  
  695. END
  696.  
  697. 9.2     The following name, that has the ASN.1 type of OBJECT IDENTI-
  698. FIER, applies to the ACSE abstract-syntax-definition specified in this sec-
  699. tion.
  700.  
  701.     {     joint-iso-ccitt association-control (2), 
  702.  
  703.         abstract-syntax (1), 
  704.  
  705.         apdus (0), 
  706.  
  707.         version (1)
  708.  
  709.     }
  710.  
  711. 9.3     The set of encoding rules named
  712.  
  713.     {    joint-iso-ccitt asn1 (1),  
  714.  
  715.         basic-encoding (1) }
  716.  
  717. and specified in Recommendation X.209 is applicable to the ACSE abstract 
  718. syntax definition.
  719.  
  720. 10     Conformance
  721.  
  722.     A system claiming to implement the procedures specified in this Rec-
  723. ommendation shall comply with the requirements in º 10.1 through º 10.3.
  724.  
  725.     Two modes of conformance are recognized:
  726.  
  727.     a)     normal mode; and
  728.  
  729.     b)     X.410-1984 mode.
  730.  
  731.     The X.410-1984 mode exists to allow compatibility with message 
  732. handling systems implementing the protocol specified in CCITT Recom-
  733. mendations X.410-1984.
  734.  
  735. 10.1    Statement requirements
  736.  
  737.     The following shall be stated by the implementor:
  738.  
  739.     a)     whether the system is capable of acting in the role of association-initi-
  740. ator, or association-responder, or both;
  741.  
  742.     b)     that the system supports version 1 of this protocol; and
  743.  
  744.     c)     whether the system implements:
  745.  
  746.         1)     the normal mode of ACSE protocol;
  747.  
  748.         2)     the X.410-1984 mode of ACSE protocol to support a message 
  749. handling system; or
  750.  
  751.         3)     both the normal mode and the X.410-1984 mode for the reason 
  752. given in item 2) above.
  753.  
  754. 10.2    Static requirements
  755.  
  756.     The use of the Association Control Service Element is required for an 
  757. application-entity to meet the minimum requirements for establishing and 
  758. releasing communication with a peer entity.
  759.  
  760. 10.2.1    Normal mode
  761.  
  762.     If the normal mode is implemented, the system shall:
  763.  
  764.     a)     act as an association-initiator (by sending an AARQ APDU), or an 
  765. association-acceptor (by responding properly to an AARQ APDU 
  766. with an appropriate AARE APDU), or both, and
  767.  
  768.     b)     support (as a minimum) that encoding which results from applying 
  769. the basic ASN.1 encoding rules to the ASN.1 specified in º 9 for 
  770. the purpose of exchanging ACSE APCI.
  771.  
  772. 10.2.2    X.410-1984 mode
  773.  
  774.     If the X.410-1984 mode is implemented, the system shall act as an 
  775. initiator, or acceptor, or both.
  776.  
  777. 10.3    Dynamic requirements
  778.  
  779. 10.3.1    Normal mode
  780.  
  781.     If the normal mode is implemented, the system shall:
  782.  
  783.     a)     follow all the procedures specified in º 7 (including the rules for 
  784. extensibility) and Annex A; and
  785.  
  786.     b)     support the mapping onto the Presentation Service defined in º 8.1 
  787. to º 8.3
  788.  
  789. 10.3.2    X.410-1984 mode
  790.  
  791.     If the X.410-1984 mode is implemented, the system shall support the 
  792. direct mapping of parameters of presentation-service primitives onto the 
  793. ACSE primitives as specified in º 8.4 to º 8.6 and Annex B.
  794.  
  795. ANNEX A
  796.  
  797. (to Recommendation X.227)
  798.  
  799. ACPM state table for normal mode of operation
  800.  
  801.     This Annex forms an integral part of this Recommendation.
  802.  
  803. A.1    General
  804.  
  805. A.1.1    This annex defines a single Association Control Protocol machine 
  806. (ACPM) for the normal mode of operation in terms of a state table (Table A-
  807. 5/X.227). The state table shows the interrelationship between the state of an 
  808. ACPM, the incoming events that occur in the protocol, the actions taken 
  809. and, finally, the resultant state of the ACPM.
  810.  
  811. A.1.2     The ACPM state table does not constitute a formal definition of the 
  812. ACPM. It is included to provide a more precise specification of the elements 
  813. of procedure defined in º 7.
  814.  
  815. A.1.3     This annex contains the following tables.
  816.  
  817.     a)     Table A-1/X.227 specifies the abbreviated name, source, and name/
  818. description of each incoming event. The sources are:
  819.  
  820.         1)     ACSE service user (AC-user);
  821.  
  822.         2)     peer ACPM (AC-peer); and
  823.  
  824.         3)     presentation service-provider (PS-provider).
  825.  
  826.     b)     Table A-2/X.227 specifies the abbreviated name of each state.
  827.  
  828.     c)     Table A-3/X.227 specifies the abbreviated name, target and name/
  829. description of each outgoing event. The targets are:
  830.  
  831.         1)     ACSE service-user (AC-user); and
  832.  
  833.         2)     peer ACPM (AC-peer).
  834.  
  835.     d)     Table A-4/X.227 specifies the predicates.
  836.  
  837.     e)     Table A-5/X.227 specifies the ACPM state table using the abbrevi-
  838. ations of the above Tables.
  839.  
  840. TABLE A-1/X.227
  841.  
  842. Incoming event list for normal mode
  843.  
  844.  
  845.  
  846. Abbrevia
  847. ted Name 
  848.  
  849. Source 
  850.  
  851. Name and Description 
  852.  
  853. A-
  854. ASCreq 
  855.  
  856. AC-user 
  857.  
  858. A-ASSOCIATE request primitive 
  859.  
  860. A-
  861. ASCrsp+ 
  862.  
  863. AC-user 
  864.  
  865. A-ASSOCIATE response primitive (Result = 
  866. ╗accepted½) 
  867.  
  868. A-
  869. ASCrsp- 
  870.  
  871. AC-user 
  872.  
  873. A-ASSOCIATE response primitive (Result = 
  874. ╗rejected (permanent)½ or ╗rejected (transient)½)
  875.  
  876.  AARQ 
  877.  
  878. AC-peer 
  879.  
  880. A-ASSOCIATE-REQUEST APDU 
  881.  
  882. The AARQ is user data on a P-CONNECT indica-
  883. tion 
  884.  
  885. AARE+ 
  886.  
  887. AC-peer 
  888.  
  889. A-ASSOCIATE-RESPONSE APDU 
  890.  
  891. (Result = ╗accepted½) 
  892.  
  893. The AARE+ is user data on a P-CONNECT con-
  894. firm primitive 
  895.  
  896. (Result = ╗acceptance½) 
  897.  
  898. AARE- 
  899.  
  900. AC-peer 
  901.  
  902. A-ASSOCIATE-RESPONSE APDU 
  903.  
  904. (Result = ╗reject (permanent)½ or ╗rejected (tran-
  905. sient)½) 
  906.  
  907. The AARE- is user data on a P-CONNECT con-
  908. firm primitive 
  909.  
  910. (Result = ╗user-rejection½) 
  911.  
  912. P-CON-
  913. cnf- 
  914.  
  915. PS-pro-
  916. vider 
  917.  
  918. P-CONNECT confirm primitive 
  919.  
  920. (Result = ╗provider-rejection½) 
  921.  
  922. A-
  923. RLSreq 
  924.  
  925. AC-user 
  926.  
  927. A-RELEASE request primitive 
  928.  
  929. A-
  930. RLSrsp+ 
  931.  
  932. AC-user 
  933.  
  934. A-RELEASE response primitive 
  935.  
  936. (Result = ╗affirmative½) 
  937.  
  938. A-
  939. RLSrsp- 
  940.  
  941. AC-user 
  942.  
  943. A-RELEASE response primitive 
  944.  
  945. (Result = ╗negative½) 
  946.  
  947. RLRQ 
  948.  
  949. AC-peer 
  950.  
  951. A-RELEASE-REQUEST APDU 
  952.  
  953. The RLRQ is user data on a P-RELEASE indica-
  954. tion primitive 
  955.  
  956. RLRE+ 
  957.  
  958. AC-peer 
  959.  
  960. A-RELEASE-RESPONSE APDU 
  961.  
  962. The RLRE+ is user data on a P-RELEASE con-
  963. firm primitive 
  964.  
  965. (Result = ╗affirmative½) 
  966.  
  967. RLRE- 
  968.  
  969. AC-peer 
  970.  
  971. A-RELEASE-RESPONSE APDU 
  972.  
  973. The RLRE- is user data on a P-RELEASE confirm 
  974. primitive 
  975.  
  976. (Result = ╗negative½) 
  977.  
  978. A-
  979. ABRreq 
  980.  
  981. AC-user 
  982.  
  983. A-ABORT request primitive 
  984.  
  985. ABRT a) 
  986.  
  987. AC-peer 
  988.  
  989. A-ABORT APDU 
  990.  
  991. The ABRT is user data on a P-U-ABORT indica-
  992. tion primitive 
  993.  
  994. P-PAB-
  995. ind 
  996.  
  997. PS-pro-
  998. vider 
  999.  
  1000. P-P-ABORT indication primitive 
  1001.  
  1002.     a)     When supported by version 1 of the session-protocol (X.225), the 
  1003. A-ABORT APDU has no APCI. The receipt of the P-U-ABORT indi-
  1004. cation implies its existence.
  1005.  
  1006. TABLE A-2/X.227
  1007.  
  1008. ACPM states for normal mode
  1009.  
  1010.  
  1011.  
  1012. Abbrevia
  1013. ted Name 
  1014.  
  1015. Description 
  1016.  
  1017. STA0 
  1018.  
  1019. idle: unassociated 
  1020.  
  1021. STA1 
  1022.  
  1023. awaiting AARE APDU 
  1024.  
  1025. STA2 
  1026.  
  1027. awaiting A-ASSOCIATE response 
  1028.  
  1029. STA3 
  1030.  
  1031. awaiting RLRE APDU 
  1032.  
  1033. STA4 
  1034.  
  1035. awaiting A-RELEASE response 
  1036.  
  1037. STA5 
  1038.  
  1039. associated 
  1040.  
  1041. STA6 
  1042.  
  1043. awaiting A-RELEASE response (association-initiator) 
  1044.  
  1045. STA7 
  1046.  
  1047. awaiting RLRE APDU (association-responder) 
  1048.  
  1049. TABLE A-3/X.227 
  1050.  
  1051. Outgoing event list for normal mode 
  1052.  
  1053.  
  1054.  
  1055. Abbrevia
  1056. ted Name 
  1057.  
  1058. Target 
  1059.  
  1060. Name and Description 
  1061.  
  1062. A-
  1063. ASCind 
  1064.  
  1065. AC-user 
  1066.  
  1067. A-ASSOCIATE indication primitive 
  1068.  
  1069. A-ASC-
  1070. cnf+ 
  1071.  
  1072. AC-user 
  1073.  
  1074. A-ASSOCIATE confirm primitive 
  1075.  
  1076. (Result = ╗accepted½) 
  1077.  
  1078. A-ASC-
  1079. cnf- 
  1080.  
  1081. AC-user 
  1082.  
  1083. A-ASSOCIATE confirm primitive 
  1084.  
  1085. (Result = ╗rejected (permanent)½ or ╗rejected 
  1086. (transient)½) 
  1087.  
  1088. AARQ 
  1089.  
  1090. AC-peer 
  1091.  
  1092. A-ASSOCIATE-REQUEST APDU 
  1093.  
  1094. The AARQ is sent as user data on a P-CON-
  1095. NECT request primitive 
  1096.  
  1097. AARE+ 
  1098.  
  1099. AC-peer 
  1100.  
  1101. A-ASSOCIATE-RESPONSE APDU 
  1102.  
  1103. (Result = ╗accepted½) 
  1104.  
  1105. The AARE+ is sent as user data on a P-CON-
  1106. NECT+ response primitive 
  1107.  
  1108. (Result = ╗acceptance½) 
  1109.  
  1110. AARE- 
  1111.  
  1112. AC-peer 
  1113.  
  1114. A-ASSOCIATE-RESPONSE APDU 
  1115.  
  1116. (Result = ╗rejected (permanent)½ or ╗rejected 
  1117. (transient)½) 
  1118.  
  1119. The AARE- is sent as user data on a P-CON-
  1120. NECT-response primitive 
  1121.  
  1122. (Result = ╗user-rejection½) 
  1123.  
  1124. A-RLS-
  1125. ind 
  1126.  
  1127. AC-user 
  1128.  
  1129. A-RELEASE indication primitive 
  1130.  
  1131. A-
  1132. RLScnf+ 
  1133.  
  1134. AC-user 
  1135.  
  1136. A-RELEASE confirm primitive 
  1137.  
  1138. (Result = ╗affirmative½) 
  1139.  
  1140. A-
  1141. RLScnf- 
  1142.  
  1143. AC-user 
  1144.  
  1145. A-RELEASE confirm primitive 
  1146.  
  1147. (Result = ╗negative½) 
  1148.  
  1149. RLRQ 
  1150.  
  1151. AC-peer 
  1152.  
  1153. A-RELEASE-REQUEST APDU 
  1154.  
  1155. The RLRQ is sent as user data on a P-RELEASE 
  1156. request primitive 
  1157.  
  1158. RLRE+ 
  1159.  
  1160. AC-peer 
  1161.  
  1162. A-RELEASE-RESPONSE APDU 
  1163.  
  1164. The RLRE+ is sent as user data on a P-RELEASE 
  1165. response primitive 
  1166.  
  1167. (Result = ╗affirmative½) 
  1168.  
  1169. RLRE- 
  1170.  
  1171. AC-peer 
  1172.  
  1173. A-RELEASE-RESPONSE APDU 
  1174.  
  1175. The RLRE- is sent as user data on a P-RELEASE 
  1176. response primitive 
  1177.  
  1178. (Result = ╗negative½) 
  1179.  
  1180. A-
  1181. ABRind 
  1182.  
  1183. AC-user 
  1184.  
  1185. A-ABORT indication primitive 
  1186.  
  1187. (Source = ╗ACSE service-user½ or ╗ACSE ser-
  1188. vice-provider½) 
  1189.  
  1190. ABRT a) 
  1191.  
  1192. AC-peer 
  1193.  
  1194. A-ABORT APDU 
  1195.  
  1196. (Source = ╗ACSE service-user½ or ╗ACSE ser-
  1197. vice-provider½) 
  1198.  
  1199. The ABRT is sent as user data on a P-U-ABORT 
  1200. request primitive 
  1201.  
  1202. A-PAB-
  1203. ind 
  1204.  
  1205. AC-user 
  1206.  
  1207. A-P-ABORT indication primitive 
  1208.  
  1209.     a)     When supported by version 1 of the session-protocol X.225, the A-
  1210. ABORT APDU has no APCI. The receipt of the subsequent P-U-
  1211. ABORT indication implies its existence.
  1212.  
  1213. TABLE A-4/X.227 
  1214.  
  1215. Predicates for normal mode 
  1216.  
  1217.  
  1218.  
  1219. Code 
  1220.  
  1221. Meaning 
  1222.  
  1223. p1 
  1224.  
  1225. ACPM can support requested connec-
  1226. tion 
  1227.  
  1228. p2 
  1229.  
  1230. ACPM originated this association 
  1231.  
  1232. TABLE A-5/X.227
  1233.  
  1234. ACPM state table for normal mode
  1235.  
  1236.  
  1237.  
  1238. STA0 
  1239.  
  1240. Idle- 
  1241.  
  1242. Unass
  1243. oc.
  1244.  
  1245. STA1 
  1246.  
  1247. Awaiti
  1248. ng 
  1249.  
  1250. AARE 
  1251.  
  1252. STA2 
  1253.  
  1254. Awaiti
  1255. ng A-
  1256.  
  1257. ASCrs
  1258.  
  1259. STA3 
  1260.  
  1261. Awaiti
  1262. ng 
  1263.  
  1264. RLRE 
  1265.  
  1266. STA4 
  1267.  
  1268. Awaiti
  1269. ng A-
  1270.  
  1271. RLSrs
  1272.  
  1273. STA5 
  1274.  
  1275. Associ
  1276. ated 
  1277.  
  1278. STA6 
  1279.  
  1280. Collisi
  1281. on 
  1282.  
  1283. associ
  1284. ation 
  1285.  
  1286. initiat
  1287. or 
  1288.  
  1289. STA7 
  1290.  
  1291. Collisi
  1292. on 
  1293.  
  1294. associ
  1295. ation 
  1296.  
  1297. respon
  1298. der 
  1299.  
  1300. A-
  1301. ASCre
  1302.  
  1303. p1 
  1304.  
  1305. AAR
  1306.  
  1307. STA1 
  1308.  
  1309. A-
  1310. ASCrs
  1311. p+ 
  1312.  
  1313. AARE
  1314.  
  1315. STA5 
  1316.  
  1317. A-
  1318. ASCrs
  1319. p- 
  1320.  
  1321. AARE
  1322.  
  1323. STA0 
  1324.  
  1325. AAR
  1326.  
  1327. p1 
  1328.  
  1329. A-
  1330. ASCin
  1331. STA2; 
  1332.  
  1333. ^p1: 
  1334.  
  1335. AARE
  1336. STA0 
  1337.  
  1338. AARE
  1339.  
  1340. A-
  1341. ASCc
  1342. nf+ 
  1343.  
  1344. STA5 
  1345.  
  1346. AARE
  1347.  
  1348. A-
  1349. ASCc
  1350. nf- 
  1351. STA0 
  1352.  
  1353. P-
  1354. CONc
  1355. nf- 
  1356.  
  1357. A-
  1358. ASCc
  1359. nf- 
  1360.  
  1361. STA0 
  1362.  
  1363. A-
  1364. RLSre
  1365.  
  1366. RLRQ 
  1367.  
  1368. STA3 
  1369.  
  1370. A-
  1371. RLSrs
  1372. p+ 
  1373.  
  1374. RLRE
  1375. +
  1376.  
  1377.  STA0 
  1378.  
  1379. RLRE
  1380. +
  1381.  
  1382.  STA3 
  1383.  
  1384. A-
  1385. RLSrs
  1386. p- 
  1387.  
  1388. RLRE
  1389.  
  1390. STA5 
  1391.  
  1392. RLRQ 
  1393.  
  1394. p2
  1395.  
  1396.  A-
  1397. RLSin
  1398. d
  1399.  
  1400.  STA6 
  1401.  
  1402. ^p2 
  1403.  
  1404. A-
  1405. RLSin
  1406. d
  1407.  
  1408.  STA7 
  1409.  
  1410. A-
  1411. RLSin
  1412.  
  1413. STA4 
  1414.  
  1415. RLRE
  1416.  
  1417. A-
  1418. RLSc
  1419. nf+
  1420.  
  1421.  STA0 
  1422.  
  1423. A-
  1424. RLSc
  1425. nf+
  1426.  
  1427.  STA4 
  1428.  
  1429. RLRE
  1430.  
  1431. A-
  1432. RLSc
  1433. nf- 
  1434.  
  1435. STA5 
  1436.  
  1437. A-
  1438. ABRr
  1439. eq 
  1440.  
  1441. ABRT 
  1442.  
  1443. STA0 
  1444.  
  1445. ABRT 
  1446.  
  1447. STA0 
  1448.  
  1449. ABRT 
  1450.  
  1451. STA0 
  1452.  
  1453. ABRT 
  1454.  
  1455. STA0 
  1456.  
  1457. ABRT 
  1458.  
  1459. STA0 
  1460.  
  1461. ABRT 
  1462.  
  1463. STA0 
  1464.  
  1465. ABRT 
  1466.  
  1467. STA0 
  1468.  
  1469. ABRT 
  1470.  
  1471. A-
  1472. ABRi
  1473. nd 
  1474.  
  1475. STA0 
  1476.  
  1477. A-
  1478. ABRi
  1479. nd 
  1480.  
  1481. STA0 
  1482.  
  1483. A-
  1484. ABRi
  1485. nd 
  1486.  
  1487. STA0 
  1488.  
  1489. A-
  1490. ABRi
  1491. nd 
  1492.  
  1493. STA0 
  1494.  
  1495. A-
  1496. ABRi
  1497. nd 
  1498.  
  1499. STA0 
  1500.  
  1501. A-
  1502. ABRi
  1503. nd 
  1504.  
  1505. STA0 
  1506.  
  1507. A-
  1508. ABRi
  1509. nd 
  1510.  
  1511. STA0 
  1512.  
  1513. P-
  1514. PABin
  1515.  
  1516. A-
  1517. PABin
  1518.  
  1519. STA0 
  1520.  
  1521. A-
  1522. PABin
  1523.  
  1524. STA0 
  1525.  
  1526. A-
  1527. PABin
  1528.  
  1529. STA0 
  1530.  
  1531. A-
  1532. PABin
  1533.  
  1534. STA0 
  1535.  
  1536. A-
  1537. PABin
  1538.  
  1539. STA0 
  1540.  
  1541. A-
  1542. PABin
  1543.  
  1544. STA0 
  1545.  
  1546. A-
  1547. PABin
  1548.  
  1549. STA0 
  1550.  
  1551.     A.2    Conventions
  1552.  
  1553. A.2.1    The intersection of an incoming event (row) and a state (column) 
  1554. forms a cell.
  1555.  
  1556. A.2.2     In the state table, a blank cell represents the comibination of an 
  1557. incoming event and a state that is not defined for the ACPM (see º A.3.1).
  1558.  
  1559. A.2.3     A non-blank cell represents an incoming event and state that is 
  1560. defined for the ACPM. Such a cell contains one or more action lists. An 
  1561. action list may be either mandatory or conditional. If a cell contains a man-
  1562. datory action list, it is the only action list in the cell.
  1563.  
  1564. A.2.4     A mandatory action list contains:
  1565.  
  1566.     a)     an outgoing event; and
  1567.  
  1568.     b)     a resultant state.
  1569.  
  1570. A.2.5     A conditional action list contains:
  1571.  
  1572.     a)     a predicate expression comprising predicates and Boolean operators 
  1573. (⌠ represents the Boolean NOT); and
  1574.  
  1575.     b)     a mandatory action list, this mandatory action list is used only if 
  1576. the predicate expression is true.
  1577.  
  1578. A.3    Actions to be taken by the ACPM
  1579.  
  1580.     The ACPM state table defines the action to be taken by the ACPM in 
  1581. terms of an outgoing event and the resultant state of the ACPM.
  1582.  
  1583. A.3.1    Invalid intersections
  1584.  
  1585.     Blank cells indicate an invalid intersection of an incoming event and 
  1586. state. If such an intersection occurs, one of the following actions is taken.
  1587.  
  1588.     a)     If the incoming event comes from the ACSE service-user, any 
  1589. action taken by the ACPM is a local matter.
  1590.  
  1591.     b)     If the incoming event is related to a received APDU or PS-provider 
  1592. event, the ACPM issues both an A-ABRind outgoing event (to its 
  1593. AC-user) and an ABRT outgoing event (to its peer ACPM).
  1594.  
  1595. A.3.2    Valid intersections
  1596.  
  1597.     If the intersection of the state and incoming event is valid, one of the 
  1598. following actions is taken.
  1599.  
  1600.     a)     If a cell contains a mandatory action list the ACPM takes the 
  1601. actions specified;
  1602.  
  1603.     b)     If a cell contains one or more conditional action lists, for each predi-
  1604. cate expression that is true, the ACPM takes the actions specified. 
  1605. If none of the predicate expressions are ture, the ACPM takes one 
  1606. of the actions defined in º A.3.1.
  1607.  
  1608. A.4    Relationship to Presentation and other ASEs
  1609.  
  1610.     The ACPM state Table (Table A-5/X.227) only defines the interac-
  1611. tions of the ACPM, its ACSE service-user and the presentation-services 
  1612. used by the ACPM.
  1613.  
  1614.     Note - The occurrence of the other events from the presentation-ser-
  1615. vice or other application-service-elements is not included in the ACPM state 
  1616. table because they do not affect the ACPM.
  1617.  
  1618. ANNEX B 
  1619.  
  1620. (to Recommendation X.227) 
  1621.  
  1622. ACPM state table for X.410-1984 mode of operation 
  1623.  
  1624. B.1    General
  1625.  
  1626.     This annex defines a single Association Control Protocol Machine 
  1627. (ACPM) for the X.410-1984 mode of operation in terms of a state table 
  1628. (Table B-5/X.227). The state table shows the interrelationship between the 
  1629. state of an ACPM, the incoming events that occur in the protocol, the 
  1630. actions taken and, finally, the resultant state of the ACPM. 
  1631.  
  1632.     For the X.410 mode of operation, the ACPM does not generate its 
  1633. own APDUs, but works transparently in a pass through mode. The state 
  1634. table is derived directly from the state table for normal mode by replacing:
  1635.  
  1636.     -     AARQ outgoing/incoming by P-CONNECT request/indication 
  1637. primitive;
  1638.  
  1639.     -     AARE outgoing/incoming by P-CONNECT response/confirma-
  1640. tion primitive;
  1641.  
  1642.     -     RLRQ outgoing/incoming by P-RELEASE request/indication 
  1643. primitive;
  1644.  
  1645.     -     RLRE outgoing/incoming by P-RELEASE response/confirmation 
  1646. primitive; and
  1647.  
  1648.     -     ABRT outgoing/incoming by P-U-ABORT request/indication 
  1649. primitive.
  1650.  
  1651.     A-RELEASE response negative, P-RELEASE confirm negative, A-
  1652. RELEASE confirm negative and P-RELEASE response negative are omit-
  1653. ted as they are not permitted to occur in X.410-1984 mode. Also the A-
  1654. RELEASE collision case cannot occur in X.410-1984 mode, because only 
  1655. the initiator of the association may request the release of the association.
  1656.  
  1657.     The initial state of an invocation of an ACPM is state 0 (STA0). Once 
  1658. state 0 has been left, and it is re-entered, the ACPM ceases to exist.
  1659.  
  1660.     The ACPM state table does not constitute a formal definition of the 
  1661. ACPM for operation in the X.410-1984 mode. It is included to provide a 
  1662. more precise specification of the elements of procedure defined in º 7.
  1663.  
  1664.     This annex contains the following tables.
  1665.  
  1666.     a)     Table B-1/X.227 specifies the abbreviated name, source, and name/
  1667. description of each incoming event. The sources are:
  1668.  
  1669.         1)     ACSE service user (AC-user);
  1670.  
  1671.         2)     peer ACPM (AC-peer); and
  1672.  
  1673.         3)     presentation service-provider (PS-provider).
  1674.  
  1675.     b)     Table B-2/X.227 specifies the abbreviated name of each state.
  1676.  
  1677.     c)     Table B-3/X.227 specifies the abbreviated name, target and name/
  1678. description of each outgoing event. The targets are:
  1679.  
  1680.         1)     ACSE service-user (AC-user); and
  1681.  
  1682.         2)     peer ACPM (AC-peer).
  1683.  
  1684.     d)     Table B-4/X.227 specifies the predicates.
  1685.  
  1686.     e)     Table B-5/X.227 specifies the ACPM state table for the normal mode 
  1687. of operation using the abbreviations of the above tables.
  1688.  
  1689. B.2    Conventions
  1690.  
  1691.     The intersection of an incoming event (row) and a state (column) 
  1692. forms a cell.
  1693.  
  1694.     In the state table, a blank cell represents the combination of an incom-
  1695. ing event and a state that is not defined for the ACPM (see º B.3.1).
  1696.  
  1697.     A non-blank cell represents an incoming event and state that is 
  1698. defined for the ACPM. Such a cell contains one or more action lists. An 
  1699. action list may be either mandatory or conditional. If a cell contains a man-
  1700. datory action list, it is the only action list in the cell. A mandatory action list 
  1701. contains:
  1702.  
  1703.     a)     an outgoing event; and
  1704.  
  1705.     b)     a resultant state.
  1706.  
  1707.     A conditional action list contains:
  1708.  
  1709.     a)     a predicate expression comprising predicates and Boolean operators 
  1710. (⌠ represents the Boolean NOT); and
  1711.  
  1712.     b)     a mandatory action list, this mandatory action list is used only if 
  1713. the predicate expression is true.
  1714.  
  1715. B.3    Actions to be taken by the ACPM
  1716.  
  1717.     The ACPM state table defines the action to be taken by the ACPM in 
  1718. terms of an outgoing event and the resultant state of the ACPM.
  1719.  
  1720. B.3.1    Invalid intersections
  1721.  
  1722.     Blank cells indicate an invalid intersection of an incoming event and 
  1723. state. If such an intersection occurs, one of the following actions is taken.
  1724.  
  1725.     a)     If the incoming event comes from the ACSE service-user, any 
  1726. action taken by the ACPM is a local matter.
  1727.  
  1728.     b)     If the incoming event is related to a PS-provider event, the ACPM 
  1729. issues both an A-ABRind outgoing event (to its AC-user) and a P-
  1730. UABreq outgoing event (to its peer ACPM).
  1731.  
  1732. B.3.2    Valid intersections
  1733.  
  1734.     If the intersection of the state and incoming event is valid, one of the 
  1735. following actions is taken.
  1736.  
  1737.     a)     If a cell contains a mandatory action list the ACPM takes the 
  1738. actions specified;
  1739.  
  1740.     b)     If a cell contains one or more conditional action lists, for each predi-
  1741. cate expression that is true, the ACPM takes the actions specified. 
  1742. If none of the predicate expressions are true, the ACPM takes one 
  1743. of the actions defined in º B.3.1.
  1744.  
  1745. B.4    Relationship to Presentation and other ASEs
  1746.  
  1747.     The ACPM state table (Table B-5/X.227) only defines the interactions 
  1748. of the ACPM, its ACSE service-user and the presentation-services used by 
  1749. the ACPM.
  1750.  
  1751.     Note - The occurrence of the other events from the presentation-ser-
  1752. vice or other application-service-elements is not included in the ACPM state 
  1753. table because they do not affect the ACPM.
  1754.  
  1755. TABLE B-1/X.227 
  1756.  
  1757. Incoming event list for X.410-1984 mode 
  1758.  
  1759.  
  1760.  
  1761. Abbrevia
  1762. ted Name 
  1763.  
  1764. Source 
  1765.  
  1766. Name and description 
  1767.  
  1768. A-
  1769. ASCreq 
  1770.  
  1771. AC-user 
  1772.  
  1773. A-ASSOCIATE request primitive 
  1774.  
  1775. A-
  1776. ASCrsp+ 
  1777.  
  1778. AC-user 
  1779.  
  1780. A-ASSOCIATE response primitive 
  1781.  
  1782. (Result = ╗accepted½) 
  1783.  
  1784. A-ASC-
  1785. resp- 
  1786.  
  1787. AC-user 
  1788.  
  1789. A-ASSOCIATE response primitive
  1790.  
  1791.  (Result = ╗rejected½) 
  1792.  
  1793. P-CON-
  1794. ind 
  1795.  
  1796. AC-peer 
  1797.  
  1798. P-CONNECT indication 
  1799.  
  1800. P-CON-
  1801. cnf+ 
  1802.  
  1803. AC-peer 
  1804.  
  1805. P-CONNECT confirm primitive
  1806.  
  1807.  (Result = ╗accepted½) 
  1808.  
  1809. P-CON-
  1810. cnf- 
  1811.  
  1812. AC-peer 
  1813.  
  1814. or
  1815.  
  1816.  PS-pro-
  1817. vider  
  1818.  
  1819. P-CONNECT confirm primitive 
  1820.  
  1821. (Result = ╗user-rejection½)
  1822.  
  1823. (Result = ╗provider-rejection½) 
  1824.  
  1825. A-
  1826. RLSreq 
  1827.  
  1828. AC-user 
  1829.  
  1830. A-RELEASE request primitive 
  1831.  
  1832. A-
  1833. RLSrsp+ 
  1834.  
  1835. AC-user 
  1836.  
  1837. A-RELEASE response primitive
  1838.  
  1839. (Result = ╗affirmative½) 
  1840.  
  1841. P-
  1842. RELind 
  1843.  
  1844. AC-peer 
  1845.  
  1846. P-RELEASE indication primitive 
  1847.  
  1848. P-REL-
  1849. cnf+ 
  1850.  
  1851. AC-peer 
  1852.  
  1853. P-RELEASE confirm primitiv
  1854.  
  1855.  (Result = ╗affirmative½) 
  1856.  
  1857. A-
  1858. ABRreq 
  1859.  
  1860. AC-user 
  1861.  
  1862. A-ABORT request primitive 
  1863.  
  1864. P-UAB-
  1865. ind 
  1866.  
  1867. AC-peer 
  1868.  
  1869. P-U-ABORT indication primitive 
  1870.  
  1871. P-PAB-
  1872. ind 
  1873.  
  1874. PS-pro-
  1875. vider 
  1876.  
  1877. P-P-ABORT indication primitive 
  1878.  
  1879. TABLE B-2/X.227
  1880.  
  1881. ACPM states for X.410-1984 mode
  1882.  
  1883.  
  1884.  
  1885. Abbrevia
  1886. ted Name 
  1887.  
  1888. Description 
  1889.  
  1890. STA0 
  1891.  
  1892. idle; unassociated 
  1893.  
  1894. STA1 
  1895.  
  1896. awaiting P-CONNECT confirm 
  1897.  
  1898. STA2 
  1899.  
  1900. awaiting A-ASSOCIATE response 
  1901.  
  1902. STA3 
  1903.  
  1904. awaiting P-RELEASE confirm 
  1905.  
  1906. STA4 
  1907.  
  1908. awaiting A-RELEASE response 
  1909.  
  1910. STA5 
  1911.  
  1912. associated
  1913.  
  1914. TABLE B-3/X.227
  1915.  
  1916. Outgoing event list for X.410-1984 mode
  1917.  
  1918.  
  1919.  
  1920. Abbrevia
  1921. ted Name 
  1922.  
  1923. Target 
  1924.  
  1925. Name and description 
  1926.  
  1927. A-
  1928. ASCind 
  1929.  
  1930. AC-user 
  1931.  
  1932. A-ASSOCIATE indication primitive 
  1933.  
  1934. A-ASC-
  1935. cnf+ 
  1936.  
  1937. AC-user 
  1938.  
  1939. A-ASSOCIATE confirm primitive 
  1940.  
  1941. (Result = ╗accepted½) 
  1942.  
  1943. A-ASC-
  1944. cnf- 
  1945.  
  1946. AC-user 
  1947.  
  1948. A-ASSOCIATE confirm primitive 
  1949.  
  1950. (Result = ╗rejected½) 
  1951.  
  1952. P-CON-
  1953. req 
  1954.  
  1955. AC-peer 
  1956.  
  1957. P-CONNECT request primitive 
  1958.  
  1959. P-
  1960. CONrsp+ 
  1961.  
  1962. AC-peer 
  1963.  
  1964. P-CONNECT+ response primitive 
  1965.  
  1966. (Result = ╗user = rejected½) 
  1967.  
  1968. P-
  1969. CONrsp- 
  1970.  
  1971. AC-peer 
  1972.  
  1973. P-CONNECT- response primitive 
  1974.  
  1975. (Result = ╗user-rejection½) 
  1976.  
  1977. A-RLS-
  1978. ind 
  1979.  
  1980. AC-user 
  1981.  
  1982. A-RELEASE indication primitive 
  1983.  
  1984. A-
  1985. RLScnf+ 
  1986.  
  1987. AC-user 
  1988.  
  1989. A-RELEASE confirm primitive 
  1990.  
  1991. (Result = ╗affirmative½) 
  1992.  
  1993. P-REL-
  1994. req 
  1995.  
  1996. AC-peer 
  1997.  
  1998. P-RELEASE request primitive 
  1999.  
  2000. P-REL-
  2001. rsp+ 
  2002.  
  2003. AC-peer 
  2004.  
  2005. P-RELEASE response primitive 
  2006.  
  2007. (Result = ╗affirmative½) 
  2008.  
  2009. ABRind 
  2010.  
  2011. AC-user 
  2012.  
  2013. A-ABORT indication primitive 
  2014.  
  2015. (Source = ╗ACSE service-user½ or ╗ACSE ser-
  2016. vice-provider½) 
  2017.  
  2018. P-
  2019. UABreq 
  2020.  
  2021. AC-peer 
  2022.  
  2023. P-U-ABORT request primitive 
  2024.  
  2025. (Source = ╗ACSE service-user½ or ACSE service-
  2026. provider½) 
  2027.  
  2028. A-PAB-
  2029. ind 
  2030.  
  2031. AC-user 
  2032.  
  2033. A-P-ABORT indication primitive 
  2034.  
  2035. TABLE B-4/X.227
  2036.  
  2037. Predicates for X.410-1984 mode 
  2038.  
  2039.  
  2040.  
  2041. Code 
  2042.  
  2043. Meaning 
  2044.  
  2045. p1 
  2046.  
  2047. ACPM can support requested connec-
  2048. tion 
  2049.  
  2050. p2 
  2051.  
  2052. ACPM originated this association 
  2053.  
  2054. TABLE B-5/X.227
  2055.  
  2056. ACPM state table for X.410-1984 mode 
  2057.  
  2058.  
  2059.  
  2060. STA0 
  2061.  
  2062. Idle-
  2063.  
  2064.  unassoc.
  2065.  
  2066. STA1
  2067.  
  2068.  Await-
  2069. ing 
  2070.  
  2071. P-CON-
  2072. cnf 
  2073.  
  2074. STA2 
  2075.  
  2076. Awaiting 
  2077.  
  2078. A-
  2079. ASCrsp 
  2080.  
  2081. STA3 
  2082.  
  2083. Awaiting 
  2084.  
  2085. P-REL-
  2086. cnf 
  2087.  
  2088. STA4 
  2089.  
  2090. Awaiting 
  2091.  
  2092. A-
  2093. RLSrsp 
  2094.  
  2095. STA5 
  2096.  
  2097. Associat
  2098. ed 
  2099.  
  2100. A-
  2101. ASCreq 
  2102.  
  2103. p1 
  2104.  
  2105. P-
  2106. CONre
  2107.  
  2108. STA1 
  2109.  
  2110. A-
  2111. ASCrsp
  2112.  
  2113. P-
  2114. CONrsp
  2115.  
  2116. STA5 
  2117.  
  2118. A-
  2119. ASCrsp- 
  2120.  
  2121. P-
  2122. CONrsp-
  2123.  
  2124.  STA0 
  2125.  
  2126. P-CON-
  2127. ind 
  2128.  
  2129. p1 
  2130.  
  2131. A-
  2132. ASCind 
  2133.  
  2134. STA2;
  2135.  
  2136.  ^p1: 
  2137.  
  2138. P-
  2139. CONrsp- 
  2140.  
  2141. STA0 
  2142.  
  2143. P-CON-
  2144. cnf+ 
  2145.  
  2146. A-ASC-
  2147. cnf+ 
  2148.  
  2149. STA5 
  2150.  
  2151. P-CON-
  2152. cnf- 
  2153.  
  2154. A-ASC-
  2155. cnf- 
  2156.  
  2157. STA0 
  2158.  
  2159. A-
  2160. RLSreq 
  2161.  
  2162. p2 
  2163.  
  2164. P-REL-
  2165. req 
  2166.  
  2167. STA3 
  2168.  
  2169. A-
  2170. RLSrsp+ 
  2171.  
  2172. P-REL-
  2173. rsp+ 
  2174.  
  2175. STA0 
  2176.  
  2177. P-
  2178. RELind 
  2179.  
  2180. ^p2 
  2181.  
  2182. A-RLS-
  2183. ind 
  2184.  
  2185. STA4 
  2186.  
  2187. P-REL-
  2188. cnf+ 
  2189.  
  2190. A-
  2191. RLScnf+ 
  2192.  
  2193. STA0 
  2194.  
  2195. A-
  2196. ABRreq 
  2197.  
  2198. P-
  2199. UABreq 
  2200.  
  2201. STA0 
  2202.  
  2203. P-
  2204. UABreq 
  2205.  
  2206. STA0 
  2207.  
  2208. P-
  2209. UABreq 
  2210.  
  2211. STA0 
  2212.  
  2213. P-
  2214. UABreq 
  2215.  
  2216. STA0 
  2217.  
  2218. P-
  2219. UABreq 
  2220.  
  2221. STA0 
  2222.  
  2223. P-UAB-
  2224. ind 
  2225.  
  2226. A-
  2227. ABRind 
  2228.  
  2229. STA0 
  2230.  
  2231. A-
  2232. ABRind 
  2233.  
  2234. STA0 
  2235.  
  2236. A-
  2237. ABRind 
  2238.  
  2239. STA0 
  2240.  
  2241. A-
  2242. ABRind 
  2243.  
  2244. STA0 
  2245.  
  2246. A-
  2247. ABRind 
  2248.  
  2249. STA0 
  2250.  
  2251. P-PAB-
  2252. ind 
  2253.  
  2254. A-PAB-
  2255. ind 
  2256.  
  2257. STA0 
  2258.  
  2259. A-PAB-
  2260. ind 
  2261.  
  2262. STA0 
  2263.  
  2264. A-PAB-
  2265. ind 
  2266.  
  2267. STA0 
  2268.  
  2269. A-PAB-
  2270. ind 
  2271.  
  2272. STA0 
  2273.  
  2274. A-PAB-
  2275. ind 
  2276.  
  2277. STA0
  2278.  
  2279. APPENDIX I 
  2280.  
  2281. (to Recommendation X.227) 
  2282.  
  2283. Differences between Recommendation X.227 and ISO International Stan-
  2284. dard 8650
  2285.  
  2286.     Recommendation X.227 and ISO 8650 are technically aligned with the fol-
  2287. lowing exceptions.
  2288.  
  2289. I.1     Clause 10 on Conformance of ISO 8650 differs from º 10 on Conform-
  2290. ance in this Recommendation. The text that appears in this Recommenda-
  2291. tion was agreed in collaboration with ISO, and it is anticipated that the text 
  2292. in ISO 8650 will be amended in due course. The full text of the two sub-
  2293. clauses in ISO 8650 that are different reads as follows:
  2294.  
  2295. ╗10.0.3 The X.410-1984 mode exists to allow claims of conformance to be 
  2296. made for message handling systems implementing the CCITT X.410-1984 
  2297. series of Recommendations and, therefore, use the X.410-1984 mode of 
  2298. ACSE.
  2299.  
  2300. 10.1    Statement requirements
  2301.  
  2302.     The following shall be stated by the implementor:
  2303.  
  2304.     a)     whether the system is capable of acting the role of association-initia-
  2305. tor, or association-responder, or both;
  2306.  
  2307.     b)     that the system supports version 1 of this protocol; and
  2308.  
  2309.     c)     whether the system implements:
  2310.  
  2311.         1)     the normal mode of ACSE protocol;
  2312.  
  2313.         2)     the X.410-1984 mode of ACSE protocol because it supports a mes-
  2314. sage handling system implementing the CCITT X.400-1984 
  2315. series of Recommendations; or
  2316.  
  2317.         3)     both the normal mode and the X.410-1984 mode for the reason 
  2318. given in item 2) above.½
  2319.  
  2320. I.2     This Recommendation contains no statement concerning the relative 
  2321. precedence of any Section or Annex. ISO 8650 contains a clause II which 
  2322. provides a definitive precedence statement.
  2323.  
  2324. I.3     This Recommendation contains an Annex B, which has not been 
  2325. included in ISO 8650. Annex B contains the ACPM state table information 
  2326. for use when the X.410-1984 mode is invoked.
  2327.  
  2328. I.4     There is no equivalent of this Appendix I in ISO 8650.
  2329.  
  2330. I.5     This Recommendation contains an Appendix II which has not yet 
  2331. been included in ISO 8650. Appendix II lists the OBJECT IDENTIFIER 
  2332. values assigned in Recommendations X.217 and X.227.
  2333.  
  2334. APPENDIX II
  2335.  
  2336. (to Recommendation X.227)
  2337.  
  2338. Summary of assigned object identifier values 
  2339.  
  2340.     This Appendix summarises the OBJECT IDENTIFIER values assigned in 
  2341. Recommendations X.217 and X.227.
  2342.  
  2343.     {     joint-iso-ccitt association-control (2), 
  2344.  
  2345.         abstract-syntax (1), 
  2346.  
  2347.         apdus (0), 
  2348.  
  2349.         version (1)
  2350.  
  2351.     }
  2352.  
  2353. -- may be used to reference the abstract syntax 
  2354.  
  2355. -- for Association Control defined in 
  2356.  
  2357. -- Recommendation X.227, º 9.1.
  2358.  
  2359.     Additionally Recommendation X.227 º 9.3 makes reference to the OBJECT 
  2360. IDENTIFIER value assigned in Recommendation X.209 for the basic 
  2361. encoding rules for ASN.1 as the means of specifying a transfer syntax for 
  2362. the abstract syntax defined in Recommendation X.227.
  2363.