Archived

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

Hi:

Thank you very much has been helpful!

I feel that the "waitForShutdown"is very good.So I want to study its source code.Can you send it to my email(wdp221651@163.com)?


I would be grateful!

Comments

  • xdm
    xdm La Coruña, Spain
    Hi Wang

    Ice source code is available in our download page http://www.zeroc.com/download.html#src

    Regards,
    José
  • Hi:
    xdm wrote: »
    Hi Wang

    Ice source code is available in our download page http://www.zeroc.com/download.html#src

    Regards,
    José

    Thank you!
    I would like to know "waitforshutdown" is how to achieve the ICE。
  • matthew
    matthew NL, Canada
    Sorry, I don't understand what you want. Could you rephrase?
  • Hi:
    matthew wrote: »
    Sorry, I don't understand what you want. Could you rephrase?

    I want to know the complete code of function of waitForShutdown(__current).

    The code I download from your homepage only is:
    Demo::Throughput::___waitForShutdown(::IceInternal::Incoming&, const ::Ice::Current& __current)
    {
    __checkMode(::Ice::Normal, __current.mode);
    waitForShutdown(__current);
    return ::IceInternal::DispatchOK;
    }
  • matthew
    matthew NL, Canada
    I'm not sure where that came from, unless you modified one of our demos. At any rate, if you want the implementation for Ice::Communicator::waitForShutdown look at cpp/src/Ice/CommunicatorI.cpp.

    Note that the free support we provide on these forums does not extend to describing the implementation of Ice internals.