CARMA C++
SzaPorts.h
1 #ifndef SZA_UTIL_SZAPORTS_H
2 #define SZA_UTIL_SZAPORTS_H
3 
4 #include "carma/szautil/Directives.h"
5 
6 #if DIR_IS_STABLE
7 #define SZA_PORT_OFFSET 5000
8 #else
9 #define SZA_PORT_OFFSET 6000
10 #endif
11 
12 /*
13  * The TCP/IP port on which the control program listens for connection
14  * requests from the translator control process.
15  */
16 #define CP_RTC_PORT 440+SZA_PORT_OFFSET
17 
18 /*
19  * The TCP/IP port on which the control-program listens for external
20  * control clients.
21  */
22 #define CP_CONTROL_PORT 441+SZA_PORT_OFFSET
23 
24 /*
25  * The TCP/IP port on which the control program listens for external
26  * monitor clients.
27  */
28 #define CP_MONITOR_PORT 442+SZA_PORT_OFFSET
29 
30 /*
31  * The TCP/IP port on which the control program listens for external
32  * image monitor clients.
33  */
34 #define CP_IM_MONITOR_PORT 443+SZA_PORT_OFFSET
35 
36 /*
37  * The TCP/IP port on which that the control program listens for
38  * connection requests from the translator scanner process.
39  */
40 #define CP_RTS_PORT 444+SZA_PORT_OFFSET
41 
42 /*
43  * The TCP/IP port on which the control program listens for
44  * connection requests from the translator optcam process.
45  */
46 #define CP_RTO_PORT 445+SZA_PORT_OFFSET
47 
48 /*
49  * The TCP/IP port on which the translator listens for control
50  * connections from antenna computers.
51  */
52 #define TRANS_ANT_CONTROL_PORT 446+SZA_PORT_OFFSET
53 
54 /*
55  * The TCP/IP port on which the translator listens for scanner
56  * connections from antenna computers.
57  */
58 #define TRANS_ANT_SCANNER_PORT 447+SZA_PORT_OFFSET
59 
60 /*
61  * The TCP/IP port on which the translator listens for control
62  * connections from the frame grabber
63  */
64 #define TRANS_GRABBER_CONTROL_PORT 448+SZA_PORT_OFFSET
65 
66 /*
67  * The TCP/IP port on which the weather server listens for connection
68  * requests
69  */
70 #define TRANS_WEATHER_PORT 449+SZA_PORT_OFFSET
71 
72 /*
73  * The TCP/IP port on which the weather server listens for connection
74  * requests
75  */
76 #define TRANS_WX200_PORT 450+SZA_PORT_OFFSET
77 
78 /*
79  * The TCP/IP port on which the linelength server listens for connection
80  * requests
81  */
82 #define TRANS_LLCARMA_PORT 451+SZA_PORT_OFFSET
83 
84 /*
85  * The TCP/IP port on which the CARMA weather server listens for connection
86  * requests
87  */
88 #define TRANS_WXCARMA_PORT 452+SZA_PORT_OFFSET
89 
90 #endif