Name

eventc — create a CORBA EventChannel and register it in the naming service

Synopsis

eventc [-n channel-name] [-N factory-name] [-c nanoseconds] [-i id] [-p num] [-q num] [-r seconds] [-t repository-id] [-vh] [-ORBparameter value] [factory-uri]

Description

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.

factory-uri: The factory may be specified as a URI. This may be an IOR, or a corbaloc::: or corbaname::: URI.

Example: eventc corbaloc::localhost:11169/omniEvents

If the factory-uri argument is not supplied, then the -N factory-name option is used to look up the server in the CORBA Name Service.

Options

-n channel-name

Sets the CORBA Name Service name for the new EventChannel CORBA object.

Format for channel-name: [CONTEXT-ID[.CONTEXT-KIND]/]*OBJECT-ID[.OBJECT-KIND]

Examples: foo, foo.bar, foo.bar/baz/qux, foo/bar/baz.qux.

The default is EventChannel

-N factory-name

The CORBA Name Service name for the EventChannelFactory CORBA object. The default value is EventChannelFactory. This value is only used when the factory-uri argument is not supplied.

-c nanoseconds

Sets the CyclePeriod_ns parameter of the new event channel.

-i id

Set the InsName of new event channel, to enable access via corbaloc.

-p num

Sets the MaxNumProxies parameter of the new event channel.

-q num

Sets the MaxQueueLength parameter of the new event channel.

-r seconds

Sets the PullRetryPeriod parameter of the new event channel.

-t repository-id

Sets the FilterId parameter of the new event channel.

-v

Output the CORBA IOR of the new EventChannel CORBA object.

-h

Display a short summary of command-line options.

-ORBparameter value

Standard omniORB options. see omniORB documentation for details. This option is commonly used to set the omniORB traceLevel, in order to get more detailed output.

Example: -ORBtraceLevel 5

Environment Variables

OMNIORB_CONFIG

The location of the omniORB configuration file.

Copyright

Copyright © 2003-2004 Alex Tingle, 1999 Paul Nader.

This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.