Home Help Center

is that a typo?

leojayleojay Member Leo JayOrganization: AOVTechProject: DPMT
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

  • matthewmatthew NL, CanadaMember Matthew NewhookOrganization: ZeroC, Inc.Project: Internet Communications Engine ✭✭✭
    Its supposed to return a bool as the slice file says. The manual is wrong and the python version of Ice has a bug.
Sign In or Register to comment.