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

« back to all changes in this revision

Viewing changes to lib/asn1/test/asn1_SUITE_data/tcapsystem/TC-Notation-Extensions.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 TC-Notation-Extensions (Q.775:06/1997)
 
2
 
 
3
TC-Notation-Extensions {itu-t recommendation q 775 modules(2)
 
4
  notation-extension(4) version1(1)} DEFINITIONS ::=
 
5
BEGIN
 
6
 
 
7
IMPORTS
 
8
  TCMessage{}
 
9
    FROM TCAPMessages {itu-t recommendation q 773 modules(2) messages(1)
 
10
      version3(3)}
 
11
  Bind{}, Unbind{}
 
12
    FROM Remote-Operations-Generic-ROS-PDUs {joint-iso-itu-t
 
13
      remote-operations(4) generic-ROS-PDUs(6) version1(0)}
 
14
  AllOperations{}, ConsumerPerforms{}, SupplierPerforms{}, combine{}
 
15
    FROM Remote-Operations-Useful-Definitions {joint-iso-itu-t
 
16
      remote-operations(4) useful-definitions(7) version1(0)}
 
17
  CONTRACT, OPERATION-PACKAGE
 
18
    FROM Remote-Operations-Information-Objects {joint-iso-itu-t
 
19
      remote-operations(4) informationObjects(5) version1(0)}
 
20
  UniDialoguePDU, uniDialogue-as-id
 
21
    FROM UnidialoguePDUs {itu-t recommendation q 773 modules(2)
 
22
      unidialoguePDUs(3) version1(1)}
 
23
  DialoguePDU, dialogue-as-id
 
24
    FROM DialoguePDUs {itu-t recommendation q 773 modules(2) dialoguePDUs(2)
 
25
      version1(1)};
 
26
 
 
27
APPLICATION-CONTEXT ::= CLASS {
 
28
  &associationContract           CONTRACT,
 
29
  &dialogueMode                  DialogueMode,
 
30
  &termination                   Termination OPTIONAL,
 
31
  &componentGrouping             BOOLEAN DEFAULT TRUE,
 
32
  &dialogueAndComponentGrouping  BOOLEAN DEFAULT TRUE,
 
33
  &AdditionalASEs                OBJECT IDENTIFIER OPTIONAL,
 
34
  &AbstractSyntaxes              ABSTRACT-SYNTAX,
 
35
  &applicationContextName        OBJECT IDENTIFIER UNIQUE
 
36
}
 
37
WITH SYNTAX {
 
38
  CONTRACT &associationContract
 
39
  DIALOGUE MODE &dialogueMode
 
40
  [TERMINATION &termination]
 
41
  [COMPONENT GROUPING ALLOWED &componentGrouping]
 
42
  [DIALOGUE WITH COMPONENTS ALLOWED &dialogueAndComponentGrouping]
 
43
  [ADDITIONAL ASES &AdditionalASEs]
 
44
  ABSTRACT SYNTAXES &AbstractSyntaxes
 
45
  APPLICATION CONTEXT NAME &applicationContextName
 
46
}
 
47
 
 
48
DialogueMode ::= ENUMERATED {structured(1), unstructured(2)}
 
49
 
 
50
Termination ::= ENUMERATED {basic(1), prearranged(2)}
 
51
 
 
52
dialogue-abstract-syntax ABSTRACT-SYNTAX ::= {
 
53
  DialoguePDU
 
54
  IDENTIFIED BY  dialogue-as-id
 
55
}
 
56
 
 
57
uniDialogue-abstract-syntax ABSTRACT-SYNTAX ::= {
 
58
  UniDialoguePDU
 
59
  IDENTIFIED BY  uniDialogue-as-id
 
60
}
 
61
 
 
62
TCSingleAS{OPERATION-PACKAGE:package} ::=
 
63
  TCMessage{{AllOperations  {package}}, {AllOperations  {package}}}
 
64
 
 
65
TCConsumerAS{OPERATION-PACKAGE:package} ::=
 
66
  TCMessage{{ConsumerPerforms  {package}}, {ConsumerPerforms  {package}}}
 
67
 
 
68
TCSupplierAS{OPERATION-PACKAGE:package} ::=
 
69
  TCMessage{{SupplierPerforms  {package}}, {SupplierPerforms  {package}}}
 
70
 
 
71
AllPackagesAS{APPLICATION-CONTEXT:ac} ::=
 
72
  TCSingleAS
 
73
    {combine{{ac.&associationContract.&OperationsOf |
 
74
            ac.&associationContract.&InitiatorConsumerOf |
 
75
            ac.&associationContract.&InitiatorSupplierOf},
 
76
            {...}, --was illegaly empty, needs to be changed 
 
77
            { -- Information Object of class OPERATION-PACKAGE to be defined --}}}
 
78
 
 
79
ConnectionAS{APPLICATION-CONTEXT:ac} ::= CHOICE {
 
80
  bind    Bind{ac.&associationContract.&connection.&bind},
 
81
  unbind  Unbind{ac.&associationContract.&connection.&unbind}
 
82
}
 
83
 
 
84
END
 
85
 
 
86
-- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D
 
87