[omniORB] unbinding an object

Johan Cronje jcronje at dsp.sun.ac.za
Tue Dec 2 19:01:41 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all

Is it necessary to unbind an object reference from the naming service?
I ask because, at the moment, I can't see an easy way to do this (by "easy" 
I mean in my server app), and the omniORB manual doesn't say anything about
it. I would think that unbinding a name would be a good way to tell a client
that an object is no more.

Also, is there a way to make the last statement (cout) in the following code
execute?

try
{
  ... //some code
  orb->run();
  cout << "Finished";
}
...

If possible, I can add the code to unbind the ior from the naming service to
my server app :)

Regards,
Johan

- -- 
"There is beauty in simplicity"		-- Johan Cronje
- ---------------------------------------------------------------
Johan Cronje
Digital Signal Processing / Telecommunications Group
Electrical and Electronic Engineering Department
University of Stellenbosch
http://www.dsp.sun.ac.za/~jcronje
- ---------------------------------------------------------------
GNUPG Key: http://www.dsp.sun.ac.za/~jcronje/jcronje.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iQEVAwUBP8zFeuEeclgONaRbAQIO3QgAqZvEJM+jiPz4UZIrip+ZbUyA5oNlbRQN
BDFNID62YHZLzvwh3hB99l0ym07VleZKZFd/4qBjWLEnYa1JAG5VfPV9iElcpA5B
x/cElDzw9Nsv+L4sE5Sw/pPAEG4jhYUvgHlF+Q/r4JzskHypOFrodHGLKsScSJ4+
yuZYe7NB2CICe4/CSZFFc7phN6xjaPO2cUJbMduZ2R/T4YCBDZmj5mtqdkV0o9hF
zFRouicQAKjm7x5OKzwYUIOJggm6zNqrLy2TK3uiuaFYSeeLRvKQkBunTIlyX4Qb
fl6yZsSQvGdznFkY8s56vMDPRBdi7am1UK/rRLn7jguhZmJn/aETcQ==
=6WIf
-----END PGP SIGNATURE-----




More information about the omniORB-list mailing list