summaryrefslogtreecommitdiff
path: root/apps/Orbix-Examples/Logger/README
blob: 19b1db681f2da39fbb7e49b1b7494feb5aef02d4 (plain)
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
The directory contains the source code that implements an Orbix
version of the distributed Logger.  Other ACE versions of this code
appear in the ./apps/Logger directory.  It is interesting to compare
and contrast the alternative implementations.

RUNNING:

The client is run as follows:

client -h host -m max_message_size

The -h host is optional if the locator service is properly configured.
The -m specifies the maximum number of kilobytes to be sent per log.  This
is useful when redirecting messages to stdin.

TIMING:

I recommend timing the log's by specifying a max_message_size and 
redirecting /usr/dict/words.  This will give you several trials from
which to take an average.

CLIENT:

While using the client and typing in messages manually, capital Q and V
must be used to quit and toggle verbose respectively.  This allows you
to redirect /usr/dict/words without quiting at the q's!!

SERVER:

To turn off message reporting on the server side, do a

setenv NO_MESSAGES

in the enviroment where the server will be run.  If this is done, the server
will only report that a message was received, but not display the messages.