xref: /aoo42x/main/idlc/test/service.idl (revision 540d5e64)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22#include <interface.idl>
23
24module idlc
25{
26module test
27{
28
29exception bla
30{
31};
32
33service IdlTest
34{
35//	[property] bla p0;
36	[property] short p1;
37	[optional, property] unsigned short p2;
38
39	[maybevoid, property] long p3;
40	[bound, property] unsigned long p4;
41
42	[constrained, property] hyper p5;
43	[transient, property] unsigned hyper p6;
44
45	[maybeambiguous, property] string p7;
46	[maybedefault, property] type p8;
47	[removable, property] any p9;
48
49	[readonly, optional, removable, property] ::idlc::test::BaseStruct p10;
50
51	interface XTestBaseTypes;
52	[optional] interface ::idlc::test::XTestComplexTypes;
53};
54
55service BetterIdlTest
56{
57	service IdlTest;
58
59	interface XTestBaseTypes;
60	[optional] interface ::idlc::test::XTestComplexTypes;
61};
62
63};
64};
65
66