~ubuntu-branches/debian/squeeze/erlang/squeeze

« back to all changes in this revision

Viewing changes to lib/asn1/test/asn1_SUITE_data/x420/Remote-Operations-Abstract-Syntaxes.asn

  • Committer: Bazaar Package Importer
  • Author(s): Sergei Golovan
  • Date: 2010-03-09 17:34:57 UTC
  • mfrom: (10.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20100309173457-4yd6hlcb2osfhx31
Tags: 1:13.b.4-dfsg-3
Manpages in section 1 are needed even if only arch-dependent packages are
built. So, re-enabled them.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
-- Module Remote-Operations-Abstract-Syntaxes (X.882:07/1994)
 
2
 
 
3
Remote-Operations-Abstract-Syntaxes {joint-iso-itu-t remote-operations(4)
 
4
  remote-operations-abstract-syntaxes(12) version1(0)} DEFINITIONS ::=
 
5
BEGIN
 
6
 
 
7
-- exports everything
 
8
IMPORTS
 
9
  OPERATION-PACKAGE
 
10
    FROM Remote-Operations-Information-Objects {joint-iso-itu-t
 
11
      remote-operations(4) informationObjects(5) version1(0)}
 
12
  InvokeId, noInvokeId, ROS{}, Bind{}, Unbind{}
 
13
    FROM Remote-Operations-Generic-ROS-PDUs {joint-iso-itu-t
 
14
      remote-operations(4) generic-ROS-PDUs(6) version1(0)}
 
15
  ACSE-apdu
 
16
    FROM ACSE-1 {joint-iso-itu-t association-control(2) modules(0) apdus(0)
 
17
      version1(1)}
 
18
  RTORQapdu, RTOACapdu, RTORJapdu
 
19
    FROM Reliable-Transfer-APDU {joint-iso-itu-t reliable-transfer(3) apdus(0)}
 
20
  combine{}, AllOperations{}, ConsumerPerforms{}, SupplierPerforms{}
 
21
    FROM Remote-Operations-Useful-Definitions {joint-iso-itu-t
 
22
      remote-operations(4) useful-definitions(7) version1(0)}
 
23
  APPLICATION-CONTEXT
 
24
    FROM Remote-Operations-Information-Objects-extensions {joint-iso-itu-t
 
25
      remote-operations(4) informationObjects-extensions(8) version1(0)};
 
26
 
 
27
RTSE-apdus ::= CHOICE {
 
28
  rtorq-apdu  [16] IMPLICIT RTORQapdu,
 
29
  rtoac-apdu  [17] IMPLICIT RTOACapdu,
 
30
  rtorj-apdu  [18] IMPLICIT RTORJapdu,
 
31
  rttp-apdu   RTTPapdu,
 
32
  rttr-apdu   RTTRapdu,
 
33
  rtab-apdu   [22] IMPLICIT RTABapdu
 
34
}
 
35
 
 
36
RTTPapdu ::= -- priority-- INTEGER
 
37
 
 
38
RTTRapdu ::= OCTET STRING
 
39
 
 
40
RTABapdu ::= SET {
 
41
  abortReason         [0] IMPLICIT AbortReason OPTIONAL,
 
42
  reflectedParameter  [1] IMPLICIT BIT STRING OPTIONAL,
 
43
  -- 8 bits maximum, only if abortReason is invalidParameter
 
44
  userdataAB
 
45
    [2]  TYPE-IDENTIFIER.&Type
 
46
      OPTIONAL -- only in normal mode and if abortReason--
 
47
  -- is userError 
 
48
}
 
49
 
 
50
AbortReason ::= INTEGER {
 
51
  localSystemProblem(0),
 
52
  invalidParameter(1), -- reflectedParameter supplied
 
53
  unrecognizedActivity(2),
 
54
  temporaryProblem(3),
 
55
  -- the RTSE cannot accept a session for a period of time
 
56
  protocolError(4), -- RTSE level protocol error
 
57
  permanentProblem(5), --provider-abort solely in normal mode 
 
58
  userError(6), -- user-abort solely in normal mode
 
59
  transferCompleted(7) -- activity can't be discarded--}
 
60
 
 
61
acse-abstract-syntax ABSTRACT-SYNTAX ::= {
 
62
  ACSE-apdu
 
63
  IDENTIFIED BY
 
64
    {joint-iso-itu-t association-control(2) abstract-syntax(1) apdus(0)
 
65
     version1(1)}
 
66
}
 
67
 
 
68
rtse-abstract-syntax ABSTRACT-SYNTAX ::= {
 
69
  RTSE-apdus
 
70
  IDENTIFIED BY  {joint-iso-itu-t reliable-transfer(3) apdus(0)}
 
71
}
 
72
 
 
73
AllValues{APPLICATION-CONTEXT:ac} ::= CHOICE {
 
74
  bind          Bind{ac.&associationContract.&connection.&bind},
 
75
  unbind        Unbind{ac.&associationContract.&connection.&unbind},
 
76
  ros-singleAS
 
77
    ROS-SingleAS{{ROSEInvokeIds},
 
78
                combine{{ac.&associationContract.&OperationsOf |
 
79
                       ac.&associationContract.&InitiatorConsumerOf |
 
80
                       ac.&associationContract.&ResponderConsumerOf}, {
 
81
                       ...},
 
82
                       {-- Information Object of class OPERATION-PACKAGE to be defined -- }}}
 
83
}
 
84
 
 
85
ROS-SingleAS{InvokeId:ROSEInvokeIds, OPERATION-PACKAGE:package} ::=
 
86
  ROS{{ROSEInvokeIds}, {AllOperations  {package}}, {AllOperations  {package}}}
 
87
 
 
88
ROS-ConsumerAS{InvokeId:ROSEInvokeIds, OPERATION-PACKAGE:package} ::=
 
89
  ROS
 
90
    {{ROSEInvokeIds}, {ConsumerPerforms  {package}},
 
91
    {SupplierPerforms  {package}}}
 
92
 
 
93
ROS-SupplierAS{InvokeId:ROSEInvokeIds, OPERATION-PACKAGE:package} ::=
 
94
  ROS
 
95
    {{ROSEInvokeIds}, {SupplierPerforms  {package}},
 
96
    {ConsumerPerforms  {package}}}
 
97
 
 
98
ROSEInvokeIds InvokeId ::= {ALL EXCEPT noInvokeId}
 
99
 
 
100
END -- end of the remote-operations-abstract-syntaxes module
 
101
 
 
102
-- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D
 
103