Debian Codegraph @

tests/inputs/clusterConf.ttcn

raw
1 // http://www.wiley.com/legacy/wileychi/ttcn-3/supp/clusterConf.ttcn
2
3 /* ------------------------------------------------------------
4 *
5 * $Id: clusterConf.ttcn,v 1.5 2005/02/10 07:33:55 deiss Exp $
6 *
7 * @author Thomas Deiss
8 * @remark Copyright: Nokia, 2004, 2005
9 *
10 * @remark DISCLAIMER: This TTCN-3 code is experimental code.
11 * Its purpose is to highlight strengths and weaknesses of
12 * TTCN-3, but it is not intended to be directly added to
13 * real test suites. The reader is strongly advised to check the code
14 * whether it fits the readers purpose and adapt it accordingly.
15 *
16 * @desc This module contains type definitions for clusters of components.
17 */
18
19 module clusterConf {
20
21 group g_ports {
22
23 type port AnyPort mixed {
24 inout all
25 }
26
27 } // endgroup g_ports
28
29 group g_components {
30
31 type component Server {
32 port AnyPort pt_servers
33 }
34
35 type component Supervisor {
36 port AnyPort pt_servers;
37 port AnyPort pt_cluster
38 }
39
40 type component Worker {
41 port AnyPort pt_servers
42 }
43
44 } // endgroup g_components
45
46 } //endmodule clusterConf