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

« back to all changes in this revision

Viewing changes to examples/random/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 little example provides an omniORBpy client to the random number
 
2
server running on random.org.
 
3
 
 
4
To run the example, you must first compile the Python stubs from
 
5
random.idl, with
 
6
 
 
7
  omniidl -bpython random.idl
 
8
 
 
9
Then simply run the client with ./random_clt.py
 
10
 
 
11
Using omniORBpy reveals a bug in Orbix 2.3 running on random.org. The
 
12
first time omniORBpy makes a call to a remote object, it calls the
 
13
standard _is_a() operation to verify that the object is alive and
 
14
supports the required interface. Unfortunately, Orbix 2.3 incorrectly
 
15
returns FALSE to this _is_a() call. random_clt.py therefore configures
 
16
the ORB not to perform the _is_a() call.