blob: 714b96b5c35ea5e60dfea15611a0d943f07f943c [file] [log] [blame]
Harald Welte7a23af32011-02-07 21:24:26 +01001-- Generated by Asnp, the pretty-printer of France Telecom R&D (http://asn1.elibel.tm.fr/asnp/)
2Remote-Operations-Useful-Definitions {joint-iso-itu-t remote-operations(4)
3 useful-definitions(7) version1(0)}
4
5DEFINITIONS IMPLICIT TAGS
6
7::=
8
9BEGIN
10
11-- exports everything
12IMPORTS
13 OPERATION, ERROR, OPERATION-PACKAGE, Code
14 FROM Remote-Operations-Information-Objects {joint-iso-itu-t
15 remote-operations(4) informationObjects(5) version1(0)}
16 InvokeId, ROS{}
17 FROM Remote-Operations-Generic-ROS-PDUs {joint-iso-itu-t
18 remote-operations(4) generic-ROS-PDUs(6) version1(0)};
19
20emptyBind OPERATION ::= {ERRORS {refuse}
21 SYNCHRONOUS TRUE
22}
23
24emptyUnbind OPERATION ::= {SYNCHRONOUS TRUE
25}
26
27refuse ERROR ::= {CODE local:-1
28}
29
30no-op OPERATION ::= {ALWAYS RESPONDS FALSE
31 CODE local:-1
32}
33
34Forward{OPERATION:OperationSet} OPERATION ::=
35 {OperationSet | OperationSet.&Linked.&Linked |
36 OperationSet.&Linked.&Linked.&Linked.&Linked}
37
38Reverse{OPERATION:OperationSet} OPERATION ::= {Forward{{OperationSet.&Linked}}}
39
40ConsumerPerforms{OPERATION-PACKAGE:package} OPERATION ::=
41 {Forward{{package.&Consumer}} | Forward{{package.&Both}} |
42 Reverse{{package.&Supplier}} | Reverse{{package.&Both}}}
43
44SupplierPerforms{OPERATION-PACKAGE:package} OPERATION ::=
45 {Forward{{package.&Supplier}} | Forward{{package.&Both}} |
46 Reverse{{package.&Consumer}} | Reverse{{package.&Both}}}
47
48AllOperations{OPERATION-PACKAGE:package} OPERATION ::=
49 {ConsumerPerforms{package} | SupplierPerforms{package}}
50
51-- continued on the next page
52recode{OPERATION:operation, Code:code} OPERATION ::= {
53 ARGUMENT operation.&ArgumentType
54 OPTIONAL operation.&argumentTypeOptional
55 RESULT operation.&ResultType
56 OPTIONAL operation.&resultTypeOptional
57 RETURN RESULT operation.&returnResult
58 ERRORS {operation.&Errors}
59 LINKED {operation.&Linked}
60 SYNCHRONOUS operation.&synchronous
61 ALWAYS RESPONDS operation.&alwaysReturns
62 INVOKE PRIORITY {operation.&InvokePriority}
63 RESULT-PRIORITY {operation.&ResultPriority}
64 CODE code
65}
66
67switch{OPERATION-PACKAGE:package, OBJECT IDENTIFIER:id} OPERATION-PACKAGE ::=
68{
69 OPERATIONS {package.&Both}
70 CONSUMER INVOKES {package.&Consumer}
71 SUPPLIER INVOKES {package.&Supplier}
72 ID id
73}
74
75combine{OPERATION-PACKAGE:ConsumerConsumes, OPERATION-PACKAGE:ConsumerSupplies,
76 OPERATION-PACKAGE:base} OPERATION-PACKAGE ::= {
77 OPERATIONS {ConsumerConsumes.&Both | ConsumerSupplies.&Both}
78 CONSUMER INVOKES {ConsumerConsumes.&Consumer | ConsumerSupplies.&Supplier}
79 SUPPLIER INVOKES {ConsumerConsumes.&Supplier | ConsumerSupplies.&Consumer}
80 ID base.&id
81}
82
83ROS-SingleAS{InvokeId:InvokeIdSet, OPERATION-PACKAGE:package} ::=
84 ROS{{InvokeIdSet}, {AllOperations {package}}, {AllOperations {package}}}
85
86ROS-ConsumerAS{InvokeId:InvokeIdSet, OPERATION-PACKAGE:package} ::=
87 ROS
88 {{InvokeIdSet}, {ConsumerPerforms {package}},
89 {SupplierPerforms {package}}}
90
91ROS-SupplierAS{InvokeId:InvokeIdSet, OPERATION-PACKAGE:package} ::=
92 ROS
93 {{InvokeIdSet}, {SupplierPerforms {package}},
94 {ConsumerPerforms {package}}}
95
96END -- end of useful definitions.
97
98-- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D
99