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
|
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>events</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="re04.html" title="eventf">
<link rel="next" href="re06.html" title="rmeventc">
</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">events</th></tr>
<tr>
<td width="20%" align="left">
<a accesskey="p" href="re04.html">Prev</a></td>
<th width="60%" align="center">7.Reference</th>
<td width="20%" align="right"><a accesskey="n" href="re06.html">Next</a>
</td>
</tr>
</table>
<hr>
</div>
<div class="refentry" lang="en">
<a name="id2461137"></a><div class="titlepage">
<div></div>
<div></div>
</div>
<div class="refnamediv">
<h2>Name</h2>
<p>events — stream events from or to a CORBA EventChannel</p>
</div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<div class="cmdsynopsis"><p><tt class="command">events</tt> [-n <i class="replaceable"><tt>channel-name</tt></i>] [-s] [-h] [-ORB<i class="replaceable"><tt>parameter</tt></i>
<i class="replaceable"><tt>value</tt></i>] [<i class="replaceable"><tt>channel-uri</tt></i>]</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2461198"></a><h2>Description</h2>
<p><span><b class="command">events</b></span> streams events from an event channel to
standard output, or (<tt class="option">-s</tt>) from standard input to an
event channel.</p>
<p>Events are streamed in raw binary form, accompanied by a
timestamp. When the stream is played back into a channel, the timestamps
are used the replicate the original delays between the messages.</p>
<p>The main use for this command it to record sets of events and
play them back later for testing.</p>
<p>Recording example:
<span><b class="command">events corbaname::#EventChannel > test.dat</b></span></p>
<p>Playback example:
<span><b class="command">events -s corbaname::#EventChannel < test.dat</b></span></p>
</div>
<div class="refsect1" lang="en">
<a name="id2461248"></a><h2>Options</h2>
<div class="variablelist"><dl>
<dt><span class="term"><tt class="option">-n channel-name</tt></span></dt>
<dd>
<p>The CORBA Name Service name used to look up the 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">-s</tt></span></dt>
<dd><p>Supply mode. Read events from standard input.</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="id2461382"></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="id2461406"></a><h2>Copyright</h2>
<p>Copyright 2004,2005 Alex Tingle.</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="re04.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="re06.html">Next</a>
</td>
</tr>
<tr>
<td width="40%" align="left" valign="top">eventf</td>
<td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td>
<td width="40%" align="right" valign="top">rmeventc</td>
</tr>
</table>
</div>
</body>
</html>
|