Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 11-22-2005
level level is offline
Registered User
 
 
Join Date: Feb 2004
Location: China
Posts: 71
About the Proxy's lifetime

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 .
__________________
Jianfeng Chen
PKPM.cn
Reply With Quote
  #2 (permalink)  
Old 11-22-2005
benoit's Avatar
benoit benoit is offline
ZeroC Staff
 
Name: Benoit Foucher
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Rennes, France
Posts: 1,540
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.
Reply With Quote
  #3 (permalink)  
Old 11-22-2005
level level is offline
Registered User
 
 
Join Date: Feb 2004
Location: China
Posts: 71
I see.
Thank you very much.
__________________
Jianfeng Chen
PKPM.cn
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ice AMI Callback Object Lifetime eric.hill Help Center 2 11-22-2006 01:05 PM
Question about proxy's factory methods. rc_hz Help Center 7 09-05-2006 08:58 AM
specifying proxy's locator n2503v Help Center 2 01-31-2006 10:54 PM
avoiding ping()ing to determine client's lifetime andhow Help Center 1 02-04-2005 04:41 AM
servant lifetime nsns Help Center 1 11-05-2004 08:04 AM


All times are GMT -4. The time now is 11:00 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.