diff options
author | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-02-01 21:52:35 +0000 |
---|---|---|
committer | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-02-01 21:52:35 +0000 |
commit | d88a3c3fb918b8370f4bc9120cda4725828b2926 (patch) | |
tree | 9018a7c818a0395542ac56f9d0d6c4c92e9f801a /TAO/docs/ec_options.html | |
parent | ddfd80cbbf725aca96b577eb4a39676d54e8feb9 (diff) | |
download | ATCD-d88a3c3fb918b8370f4bc9120cda4725828b2926.tar.gz |
ChangeLogTag:Tue Feb 1 13:51:21 2000 Carlos O'Ryan <coryan@uci.edu>
Diffstat (limited to 'TAO/docs/ec_options.html')
-rw-r--r-- | TAO/docs/ec_options.html | 48 |
1 files changed, 46 insertions, 2 deletions
diff --git a/TAO/docs/ec_options.html b/TAO/docs/ec_options.html index 42474328ad1..8ec996176cd 100644 --- a/TAO/docs/ec_options.html +++ b/TAO/docs/ec_options.html @@ -10,7 +10,51 @@ <h1>Real-time Event Channel Configuration</h1> </CENTER> - <H3>Overview</H3> + <H3>Configuring the Event Channel at Compilation Time</H3> + + <P>TAO's Real-Time Event Channel can be configured at compilation + time to use a different payload than its default. To do so + there are several options: + </P> + + <UL> + <LI><P>To eliminate the <CODE>CORBA::Any</CODE> field in the + event payload you should define the + <CODE>TAO_LACKS_EVENT_CHANNEL_ANY</CODE> + macro when invoking the IDL compiler. + You can do as follows: +<PRE> +$ cd $TAO_ROOT/orbsvcs/orbsvcs +$ make TAO_IDLFLAGS=-DTAO_LACKS_EVENT_CHANNEL_ANY +</PRE> + </P> + </LI> + <LI><P>Similarly you can eliminate the octet sequence field in + the event payload using: +<PRE> +$ cd $TAO_ROOT/orbsvcs/orbsvcs +$ make TAO_IDLFLAGS=-DTAO_LACKS_EVENT_CHANNEL_OCTET_SEQUENCE +</PRE> + </P> + </LI> + <LI><P>Finally you can provide your own event payload, to do + this you should Replace the contents of the + <CODE>RtecDefaultEventData.idl</CODE> + and define some IDL structure named + <CODE>RtecEventData</CODE>. + For example, you could define you own event type as follows: +<PRE> +// Replace RtecDefaultEventData.idl with this: + +struct RtecEventData +{ + sequence<long> my_event_payload; +}; +</PRE> + </LI> + </UL> + + <H3>Run-time Configuration</H3> <P>The new implementation of the real-time event channel uses a factory to build all the objects and strategies it requires. @@ -436,7 +480,7 @@ static EC_Factory "-ECFiltering basic ....." <address><a href="mailto:coryan@cs.wustl.edu">Carlos O'Ryan</a></address> <!-- Created: Thu Jul 1 21:44:28 CDT 1999 --> <!-- hhmts start --> -Last modified: Fri Jan 28 15:59:23 PST 2000 +Last modified: Tue Feb 1 13:50:47 PST 2000 <!-- hhmts end --> </body> </html> |