~ubuntu-branches/ubuntu/utopic/python-omniorb/utopic

« back to all changes in this revision

Viewing changes to examples/poa/README

  • Committer: Bazaar Package Importer
  • Author(s): Floris Bruynooghe
  • Date: 2008-03-26 22:17:38 UTC
  • Revision ID: james.westby@ubuntu.com-20080326221738-r20t9hmikbvcg2vh
Tags: upstream-3.2
ImportĀ upstreamĀ versionĀ 3.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
This directory contains examples of various POA facilities.
 
2
 
 
3
All the examples implement the Echo server.
 
4
 
 
5
servantactivator.py and servantlocator.py do on-demand object
 
6
activation / location. If you run either program with a -l command
 
7
line argument, it will make a number of local calls to the object,
 
8
showing that the activator or locator runs in the local, as well as
 
9
the remote, case.
 
10
 
 
11
singlethread.py shows a single threaded POA. Only one thread at a time
 
12
is permitted to process requests, but invocations can happen on
 
13
different threads. mainthread.py performs all invocations on the main
 
14
thread, rather than threads created by omniORB.
 
15
 
 
16
Look at the source for each program to see extra things you can do
 
17
with them.
 
18
 
 
19
Before the programs will run, you must compile the IDL with
 
20
 
 
21
  omniidl -bpython echo.idl