Home Help Center

About the Proxy's lifetime

levellevel Member ✭✭
I create a proxy just like
(code segment in server)

CallbackPrx client =
CallbackPrx::uncheckedCast(curr.con->createProxy(ident));

use Bi-directional mode.

If the Client's proxy long time no run(call function),this proxy is down(?),and I in server could not call this proxy' function.

Please tell me how can I config the LiftTime about the proxy that be created use Bi-directional mode .

Comments

  • benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    Hi,

    I suspect that you're using bi-directional connections with active connection management enabled. If that's the case, you should disable active connection management in the client and in the server. See section 34.4 and 34.7 for more information about this.

    Benoit.
  • levellevel Member ✭✭
    I see.
    Thank you very much.
Sign In or Register to comment.