Harald Welte | 7a23af3 | 2011-02-07 21:24:26 +0100 | [diff] [blame] | 1 | -- Generated by Asnp, the pretty-printer of France Telecom R&D (http://asn1.elibel.tm.fr/asnp/) |
| 2 | Remote-Operations-Useful-Definitions {joint-iso-itu-t remote-operations(4) |
| 3 | useful-definitions(7) version1(0)} |
| 4 | |
| 5 | DEFINITIONS IMPLICIT TAGS |
| 6 | |
| 7 | ::= |
| 8 | |
| 9 | BEGIN |
| 10 | |
| 11 | -- exports everything |
| 12 | IMPORTS |
| 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 | |
| 20 | emptyBind OPERATION ::= {ERRORS {refuse} |
| 21 | SYNCHRONOUS TRUE |
| 22 | } |
| 23 | |
| 24 | emptyUnbind OPERATION ::= {SYNCHRONOUS TRUE |
| 25 | } |
| 26 | |
| 27 | refuse ERROR ::= {CODE local:-1 |
| 28 | } |
| 29 | |
| 30 | no-op OPERATION ::= {ALWAYS RESPONDS FALSE |
| 31 | CODE local:-1 |
| 32 | } |
| 33 | |
| 34 | Forward{OPERATION:OperationSet} OPERATION ::= |
| 35 | {OperationSet | OperationSet.&Linked.&Linked | |
| 36 | OperationSet.&Linked.&Linked.&Linked.&Linked} |
| 37 | |
| 38 | Reverse{OPERATION:OperationSet} OPERATION ::= {Forward{{OperationSet.&Linked}}} |
| 39 | |
| 40 | ConsumerPerforms{OPERATION-PACKAGE:package} OPERATION ::= |
| 41 | {Forward{{package.&Consumer}} | Forward{{package.&Both}} | |
| 42 | Reverse{{package.&Supplier}} | Reverse{{package.&Both}}} |
| 43 | |
| 44 | SupplierPerforms{OPERATION-PACKAGE:package} OPERATION ::= |
| 45 | {Forward{{package.&Supplier}} | Forward{{package.&Both}} | |
| 46 | Reverse{{package.&Consumer}} | Reverse{{package.&Both}}} |
| 47 | |
| 48 | AllOperations{OPERATION-PACKAGE:package} OPERATION ::= |
| 49 | {ConsumerPerforms{package} | SupplierPerforms{package}} |
| 50 | |
| 51 | -- continued on the next page |
| 52 | recode{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 | |
| 67 | switch{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 | |
| 75 | combine{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 | |
| 83 | ROS-SingleAS{InvokeId:InvokeIdSet, OPERATION-PACKAGE:package} ::= |
| 84 | ROS{{InvokeIdSet}, {AllOperations {package}}, {AllOperations {package}}} |
| 85 | |
| 86 | ROS-ConsumerAS{InvokeId:InvokeIdSet, OPERATION-PACKAGE:package} ::= |
| 87 | ROS |
| 88 | {{InvokeIdSet}, {ConsumerPerforms {package}}, |
| 89 | {SupplierPerforms {package}}} |
| 90 | |
| 91 | ROS-SupplierAS{InvokeId:InvokeIdSet, OPERATION-PACKAGE:package} ::= |
| 92 | ROS |
| 93 | {{InvokeIdSet}, {SupplierPerforms {package}}, |
| 94 | {ConsumerPerforms {package}}} |
| 95 | |
| 96 | END -- end of useful definitions. |
| 97 | |
| 98 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D |
| 99 | |