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
|
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>eventc</title>
<link rel="stylesheet" href="omnievents.docbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
<link rel="home" href="index.html" title="omniEvents">
<link rel="up" href="ar01s07.html" title="7.Reference">
<link rel="previous" href="re02.html" title="omniEvents-win32">
<link rel="next" href="re04.html" title="eventf">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<div class="navheader">
<table width="100%" summary="Navigation header">
<tr><th colspan="3" align="center">eventc</th></tr>
<tr>
<td width="20%" align="left">
<a accesskey="p" href="re02.html">Prev</a></td>
<th width="60%" align="center">7.Reference</th>
<td width="20%" align="right"><a accesskey="n" href="re04.html">Next</a>
</td>
</tr>
</table>
<hr>
</div>
<div class="refentry" lang="en">
<a name="reference_eventc"></a><div class="titlepage">
<div></div>
<div></div>
</div>
<div class="refnamediv">
<h2>Name</h2>
<p>eventc — create a CORBA EventChannel and register it in the naming
service</p>
</div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<div class="cmdsynopsis"><p><tt class="command">eventc</tt> [-n <i class="replaceable"><tt>channel-name</tt></i>] [-N <i class="replaceable"><tt>factory-name</tt></i>] [-c <i class="replaceable"><tt>nanoseconds</tt></i>] [-i <i class="replaceable"><tt>id</tt></i>] [-p <i class="replaceable"><tt>num</tt></i>] [-q <i class="replaceable"><tt>num</tt></i>] [-R <i class="replaceable"><tt>milliseconds</tt></i>] [-t <i class="replaceable"><tt>repository-id</tt></i>] [-vh] [-ORB<i class="replaceable"><tt>parameter</tt></i>
<i class="replaceable"><tt>value</tt></i>] [<i class="replaceable"><tt>factory-uri</tt></i>]</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2460628"></a><h2>Description</h2>
<p>eventc contacts the omniEvents server to request an Event
Channel. The Event Channel is created within the the omniEvents
process. eventc then registers the created Event Channel with the
Naming Service, and exits.</p>
<p><tt class="option">factory-uri</tt>: The factory may be specified as a
URI. This may be an IOR, or a corbaloc::: or corbaname::: URI.</p>
<p>Example:
<span><b class="command">eventc corbaloc::localhost:11169/omniEvents</b></span></p>
<p>If the <tt class="option">factory-uri</tt> argument is not supplied,
then the <tt class="option">-N factory-name</tt> option is used to look up the
server in the CORBA Name Service.</p>
</div>
<div class="refsect1" lang="en">
<a name="id2460670"></a><h2>Options</h2>
<div class="variablelist"><dl>
<dt><span class="term"><tt class="option">-n channel-name</tt></span></dt>
<dd>
<p>Sets the CORBA Name Service name for the new EventChannel
CORBA object.</p>
<p>Format for channel-name:
<tt class="literal">[CONTEXT-ID[.CONTEXT-KIND]/]*OBJECT-ID[.OBJECT-KIND]</tt>
</p>
<p>Examples: <tt class="literal">foo</tt>,
<tt class="literal">foo.bar</tt>, <tt class="literal">foo.bar/baz/qux</tt>,
<tt class="literal">foo/bar/baz.qux</tt>.</p>
<p>The default is <tt class="literal">EventChannel</tt></p>
</dd>
<dt><span class="term"><tt class="option">-N factory-name</tt></span></dt>
<dd><p>The CORBA Name Service name for the EventChannelFactory
CORBA object. The default value is
<tt class="literal">EventChannelFactory</tt>. This value is only used
when the <tt class="literal">factory-uri</tt> argument is not
supplied.</p></dd>
<dt><span class="term"><tt class="option">-c nanoseconds</tt></span></dt>
<dd><p>Sets the <tt class="literal">CyclePeriod_ns</tt> parameter of the
new event channel.</p></dd>
<dt><span class="term"><tt class="option">-i id</tt></span></dt>
<dd><p>Set the <tt class="literal">InsName</tt> of new event channel,
to enable access via corbaloc.</p></dd>
<dt><span class="term"><tt class="option">-p num</tt></span></dt>
<dd><p>Sets the <tt class="literal">MaxNumProxies</tt> parameter of the
new event channel.</p></dd>
<dt><span class="term"><tt class="option">-q num</tt></span></dt>
<dd><p>Sets the <tt class="literal">MaxQueueLength</tt> parameter of the
new event channel.</p></dd>
<dt><span class="term"><tt class="option">-R milliseconds</tt></span></dt>
<dd><p>Sets the <tt class="literal">PullRetryPeriod_ms</tt> parameter of
the new event channel.</p></dd>
<dt><span class="term"><tt class="option">-t repository-id</tt></span></dt>
<dd><p>Sets the <tt class="literal">FilterId</tt> parameter of the
new event channel.</p></dd>
<dt><span class="term"><tt class="option">-v</tt></span></dt>
<dd><p>Output the CORBA IOR of the new EventChannel CORBA
object.</p></dd>
<dt><span class="term"><tt class="option">-h</tt></span></dt>
<dd><p>Display a short summary of command-line options.</p></dd>
<dt><span class="term"><tt class="option">-ORBparameter value</tt></span></dt>
<dd>
<p>Standard omniORB options. see omniORB documentation for
details. This option is commonly used to set the omniORB
<tt class="literal">traceLevel</tt>, in order to get more detailed
output.</p>
<p>Example: <span><b class="command">-ORBtraceLevel 5</b></span></p>
</dd>
</dl></div>
</div>
<div class="refsect1" lang="en">
<a name="id2460960"></a><h2>Environment Variables</h2>
<div class="variablelist"><dl>
<dt><span class="term">OMNIORB_CONFIG</span></dt>
<dd><p>The location of the omniORB configuration file.</p></dd>
</dl></div>
</div>
<div class="refsect1" lang="en">
<a name="id2460985"></a><h2>Copyright</h2>
<p>Copyright 2003-2005 Alex Tingle, 1999 Paul Nader.</p>
<p>This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.</p>
</div>
</div>
<div class="navfooter">
<hr>
<table width="100%" summary="Navigation footer">
<tr>
<td width="40%" align="left">
<a accesskey="p" href="re02.html">Prev</a></td>
<td width="20%" align="center"><a accesskey="u" href="ar01s07.html">Up</a></td>
<td width="40%" align="right"><a accesskey="n" href="re04.html">Next</a>
</td>
</tr>
<tr>
<td width="40%" align="left" valign="top">omniEvents-win32</td>
<td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td>
<td width="40%" align="right" valign="top">eventf</td>
</tr>
</table>
</div>
</body>
</html>
|