Archived

This forum has been archived. Please start a new discussion on GitHub.

is that a typo?

page 792 of ice manual 3.2 says the prototype of isShutdown:
void isShutdown();

but, page 794 says:
This operation returns true if shutdown has been invoked on the communicator.

so, what's the return type of isShutdown? bool or void?

if the return type is void, it's useless, isn't it?

and i tried in python, it seems that the return type is void.
but in Communicator.ice:
["cpp:const"] bool isShutdown();

it's quite confusing.

Comments

  • matthew
    matthew NL, Canada
    Its supposed to return a bool as the slice file says. The manual is wrong and the python version of Ice has a bug.