epan/dissectors/pidl/ C99 drsuapi
[wireshark-sm.git] / epan / dissectors / asn1 / tcap / TCAPMessages.asn
blobcccec042a74caff2bf22cfbc752177114065a220
1 -- Generated by Asnp, the pretty-printer of France Telecom R&D (http://asn1.elibel.tm.fr/asnp/)
2 TCAPMessages {itu-t recommendation q 773 modules(2) messages(1) version3(3)}
3 DEFINITIONS IMPLICIT TAGS ::=
4 BEGIN
6 -- EXPORTS everything
7 -- Transaction Portion fields.
8 IMPORTS
9   ROS{}, InvokeId
10     FROM Remote-Operations-Generic-ROS-PDUs {joint-iso-itu-t
11       remote-operations(4) generic-ROS-PDUs(6) version1(0)}
12   OPERATION
13     FROM Remote-Operations-Information-Objects {joint-iso-itu-t
14       remote-operations(4) informationObjects(5) version1(0)};
16 TCMessage{OPERATION:Invokable, OPERATION:Returnable} ::= CHOICE {
17   unidirectional  [APPLICATION 1]  Unidirectional{{Invokable}, {Returnable}},
18   begin           [APPLICATION 2]  Begin{{Invokable}, {Returnable}},
19   end             [APPLICATION 4]  End{{Invokable}, {Returnable}},
20   continue        [APPLICATION 5]  Continue{{Invokable}, {Returnable}},
21   abort           [APPLICATION 7]  Abort
24 Unidirectional{OPERATION:Invokable, OPERATION:Returnable} ::= SEQUENCE {
25   dialoguePortion  DialoguePortion OPTIONAL,
26   components       ComponentPortion{{Invokable}, {Returnable}}
29 Begin{OPERATION:Invokable, OPERATION:Returnable} ::= SEQUENCE {
30   otid             OrigTransactionID,
31   dialoguePortion  DialoguePortion OPTIONAL,
32   components       ComponentPortion{{Invokable}, {Returnable}} OPTIONAL
35 End{OPERATION:Invokable, OPERATION:Returnable} ::= SEQUENCE {
36   dtid             DestTransactionID,
37   dialoguePortion  DialoguePortion OPTIONAL,
38   components       ComponentPortion{{Invokable}, {Returnable}} OPTIONAL
41 Continue{OPERATION:Invokable, OPERATION:Returnable} ::= SEQUENCE {
42   otid             OrigTransactionID,
43   dtid             DestTransactionID,
44   dialoguePortion  DialoguePortion OPTIONAL,
45   components       ComponentPortion{{Invokable}, {Returnable}} OPTIONAL
48 Abort ::= SEQUENCE {
49   dtid    DestTransactionID,
50   reason  CHOICE {p-abortCause  P-AbortCause,
51                   u-abortCause  DialoguePortion} OPTIONAL
54 -- NOTE - When the Abort Message is generated by the Transaction sublayer, a p-Abort Cause may be 
55 -- present. The u-abortCause may be generated by the component sublayer in which case it is an ABRT 
56 -- APDU, or by the TC-User in which case it could be either an ABRT APDU or data in some user-defined
57 -- abstract syntax.
58 DialoguePortion ::= [APPLICATION 11] EXPLICIT EXTERNAL
60 -- The dialogue portion carries the dialogue control PDUs as value of the external data type. The direct 
61 -- reference should be set to {itu-t recommendation q 773 as(1) dialogue-as(1) version1(1)} if structured 
62 -- dialogue is used and to {itu-t recommendation q 773 as(1) unidialogue-as(2) version1(1)} if unstructured 
63 -- dialogue is used.
64 OrigTransactionID ::= [APPLICATION 8]  OCTET STRING(SIZE (1..4))
66 DestTransactionID ::= [APPLICATION 9]  OCTET STRING(SIZE (1..4))
68 P-AbortCause ::= [APPLICATION 10]  INTEGER {
69   unrecognizedMessageType(0), unrecognizedTransactionID(1),
70   badlyFormattedTransactionPortion(2), incorrectTransactionPortion(3),
71   resourceLimitation(4)}(0..127)
73 -- COMPONENT PORTION. The last field in the transaction portion of the TCAP message is the 
74 -- component portion. The component portion may be absent.
75 ComponentPortion{OPERATION:Invokable, OPERATION:Returnable} ::=
76   [APPLICATION 12] 
77     SEQUENCE SIZE (1..MAX) OF Component{{Invokable}, {Returnable}}
79 -- Component Portion fields
80 -- Recommendation X.880 defines four Application Protocol Data Units (APDUs) for invoking
81 -- operations, returning results or error, and for the rejection of invalid PDUs.
82 -- TCAP adds returnResultNotLast to allow for the segmentation of a result.
83 Component{OPERATION:Invokable, OPERATION:Returnable} ::= CHOICE {
84   basicROS             ROS{{TCInvokeIdSet}, {Invokable}, {Returnable}},
85   returnResultNotLast
86     [7]  returnResult < ROS{{TCInvokeIdSet}, {Invokable}, {Returnable}}
89 TCInvokeIdSet ::= InvokeId(WITH COMPONENTS {
90                              present  (-128..127)
91                            })
93 END -- TCAPMessages
95 -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D