Files
PolyORB/examples/corba/random/random.idl
Jérôme Hugues 7c617cead6 New example : random, ported from AdaBroker
[Imported from Perforce change 5377 at 2006-12-01 19:47:19]

Subversion-branch: /trunk/polyorb
Subversion-revision: 33904
2002-09-17 15:43:36 +00:00

15 lines
355 B
Plaintext

// This interface was copied from http://random.org/corba.html, where you can
// also find the current IOR of the server.
// See client.cc for details.
// IDL
interface Random {
// return non-negative long integer in the interval [0, 2^31)
long lrand48();
// return signed long integer in the interval [-2^31, 2^31)
long mrand48();
};