File: a00090.html

package info (click to toggle)
omnievents 2.6.1-4
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 5,228 kB
  • ctags: 2,538
  • sloc: cpp: 7,346; sh: 2,568; python: 2,171; xml: 2,057; java: 1,407; makefile: 304; ansic: 9
file content (233 lines) | stat: -rw-r--r-- 10,401 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>defaults.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.2.15 -->
<center>
<a class="qindex" href="main.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>defaults.h File Reference</h1>
<p>
This graph shows which files directly or indirectly include this file:<p><center><img src="a00211.png" border="0" usemap="#defaults.hdep_map" alt="Included by dependency graph"></center>
<map name="defaults.hdep_map">
<area href="a00093.html" shape="rect" coords="34,3,135,22" alt="">
<area href="a00110.html" shape="rect" coords="37,46,133,64" alt="">
<area href="a00112.html" shape="rect" coords="26,88,143,107" alt="">
</map>

<p>
<a href="a00150.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td colspan=2><br><h2>Defines</h2></td></tr>
<tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="a00090.html#a0">PULL_RETRY_PERIOD_MS</a>&nbsp;&nbsp;&nbsp;1000</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>1 second.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="a00090.html#a1">MAX_QUEUE_LENGTH</a>&nbsp;&nbsp;&nbsp;1023</td></tr>
<tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="a00090.html#a2">MAX_NUM_PROXIES</a>&nbsp;&nbsp;&nbsp;1024</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Only limits number of ProxyPullSuppliers.</em> <a href="#a2">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="a00090.html#a3">CYCLE_PERIOD_NS</a>&nbsp;&nbsp;&nbsp;100000000</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Delay between cycles. (0.1 second).</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="a00090.html#a4">OMNIEVENTS_LOG_DEFAULT_LOCATION</a>&nbsp;&nbsp;&nbsp;"/var/lib/omniEvents"</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Define OMNIEVENTS_LOG_DEFAULT_LOCATION to specify the default location where the omniEvents server executable places its persistency log file.</em> <a href="#a4">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="a00090.html#a5">OMNIEVENTS_LOGDIR_ENV_VAR</a>&nbsp;&nbsp;&nbsp;"OMNIEVENTS_LOGDIR"</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Define OMNIEVENTS_LOGDIR_ENV_VAR to specify the environment variable that users may set to override the OMNIEVENTS_LOG_DEFAULT_LOCATION.</em> <a href="#a5">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="a00090.html#a6">OMNIEVENTS_LOG_CHECKPOINT_PERIOD</a>&nbsp;&nbsp;&nbsp;(15*60)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Define OMNIEVENTS_LOG_CHECKPOINT_PERIOD to specify the number of seconds the omniEvents server executable should wait before persistency log check- points.</em> <a href="#a6">More...</a><em></em></font><br><br></td></tr>
</table>
<hr><h2>Define Documentation</h2>
<a name="a3" doxytag="defaults.h::CYCLE_PERIOD_NS"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> #define CYCLE_PERIOD_NS&nbsp;&nbsp;&nbsp;100000000
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Delay between cycles. (0.1 second).
<p>

<p>
Definition at line <a class="el" href="a00150.html#l00076">76</a> of file <a class="el" href="a00150.html">defaults.h</a>.
<p>
Referenced by <a class="el" href="a00153.html#l00171">OmniEvents::EventChannel_i::cyclePeriod_ns</a>().    </td>
  </tr>
</table>
<a name="a2" doxytag="defaults.h::MAX_NUM_PROXIES"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> #define MAX_NUM_PROXIES&nbsp;&nbsp;&nbsp;1024
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Only limits number of ProxyPullSuppliers.
<p>

<p>
Definition at line <a class="el" href="a00150.html#l00075">75</a> of file <a class="el" href="a00150.html">defaults.h</a>.
<p>
Referenced by <a class="el" href="a00153.html#l00169">OmniEvents::EventChannel_i::maxNumProxies</a>().    </td>
  </tr>
</table>
<a name="a1" doxytag="defaults.h::MAX_QUEUE_LENGTH"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> #define MAX_QUEUE_LENGTH&nbsp;&nbsp;&nbsp;1023
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a00150.html#l00074">74</a> of file <a class="el" href="a00150.html">defaults.h</a>.
<p>
Referenced by <a class="el" href="a00153.html#l00167">OmniEvents::EventChannel_i::maxQueueLength</a>().    </td>
  </tr>
</table>
<a name="a6" doxytag="defaults.h::OMNIEVENTS_LOG_CHECKPOINT_PERIOD"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> #define OMNIEVENTS_LOG_CHECKPOINT_PERIOD&nbsp;&nbsp;&nbsp;(15*60)
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Define OMNIEVENTS_LOG_CHECKPOINT_PERIOD to specify the number of seconds the omniEvents server executable should wait before persistency log check- points.
<p>
The default value is 900 (ie 15 minutes). You should adjust this value depending on how often operations involving state changes are performed. Operations of this type include creating event channels and connecting or disconnecting clients. Lowering the period reduces the maximum size of the logfile. Value is in seconds. 
<p>
Definition at line <a class="el" href="a00150.html#l00108">108</a> of file <a class="el" href="a00150.html">defaults.h</a>.
<p>
Referenced by <a class="el" href="a00172.html#l00413">OmniEvents::omniEventsLog::checkpoint</a>().    </td>
  </tr>
</table>
<a name="a4" doxytag="defaults.h::OMNIEVENTS_LOG_DEFAULT_LOCATION"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> #define OMNIEVENTS_LOG_DEFAULT_LOCATION&nbsp;&nbsp;&nbsp;"/var/lib/omniEvents"
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Define OMNIEVENTS_LOG_DEFAULT_LOCATION to specify the default location where the omniEvents server executable places its persistency log file.
<p>
The default location is C:\TEMP for Win32 and /var/lib/omniEvents for UNIX systems. The location can be overridden at runtime using the OMNIEVENTS_LOGDIR environment variable. Value must be an absolute pathname. 
<p>
Definition at line <a class="el" href="a00150.html#l00090">90</a> of file <a class="el" href="a00150.html">defaults.h</a>.
<p>
Referenced by <a class="el" href="a00172.html#l00591">OmniEvents::omniEventsLog::initializeFileNames</a>(), and <a class="el" href="a00170.html#l00049">OmniEvents::usage</a>().    </td>
  </tr>
</table>
<a name="a5" doxytag="defaults.h::OMNIEVENTS_LOGDIR_ENV_VAR"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> #define OMNIEVENTS_LOGDIR_ENV_VAR&nbsp;&nbsp;&nbsp;"OMNIEVENTS_LOGDIR"
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Define OMNIEVENTS_LOGDIR_ENV_VAR to specify the environment variable that users may set to override the OMNIEVENTS_LOG_DEFAULT_LOCATION.
<p>
The default environment variable name is `OMNIEVENTS_LOGDIR'. 
<p>
Definition at line <a class="el" href="a00150.html#l00097">97</a> of file <a class="el" href="a00150.html">defaults.h</a>.    </td>
  </tr>
</table>
<a name="a0" doxytag="defaults.h::PULL_RETRY_PERIOD_MS"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> #define PULL_RETRY_PERIOD_MS&nbsp;&nbsp;&nbsp;1000
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
1 second.
<p>

<p>
Definition at line <a class="el" href="a00150.html#l00073">73</a> of file <a class="el" href="a00150.html">defaults.h</a>.
<p>
Referenced by <a class="el" href="a00153.html#l00165">OmniEvents::EventChannel_i::pullRetryPeriod_ms</a>().    </td>
  </tr>
</table>
<hr><address align="right"><small>Generated on Fri Nov 19 17:42:22 2004 for OmniEvents by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 
width=110 height=53></a>1.2.15 </small></address>
</body>
</html>