Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 07-05-2007
jgaa's Avatar
jgaa jgaa is offline
Registered User
 
Name: Jarle Aase
Organization: Jgaa's Internet
Project: War FTP Daemon
 
Join Date: Mar 2005
Location: Bergen, Norway
Posts: 8
Using ICE without an endpoint

Hi,

In one of my projects, I've used ICE to make it easy to split the application into a server/client model in the future. At the moment however, It's all in the same application, and I don't need any socket endpoint. How is the preferred way to disable this?

I have tried to use createObjectAdapter() to create an adapter with no endpoints, and use the same communicator to create the proxies later on. However, when I start the application with no endpoints, it bombs out with the error below as soon as it tries to access a proxy:

.\Reference.cpp:1124: Ice::NoEndpointException:
no suitable endpoint available for proxy `whid -t' {MainFrame::ReloadNodes()}
Reply With Quote
  #2 (permalink)  
Old 07-05-2007
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,564
Hi,

You should configure your object adapter with an adapter ID using the <adapter name>.AdapterId property. This will allow the collocation optimization check to work even if there are no endpoints.

Cheers,
Benoit.

Last edited by benoit : 07-05-2007 at 11:09 AM.
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
Share endpoint between services in IceBox rspivak Help Center 2 04-14-2006 07:18 AM
How can I remove an Endpoint from an Adapter?and...? xiehua Help Center 3 02-23-2006 09:58 AM
SSL Proxy Endpoint and -s gsalazar Help Center 11 06-22-2005 02:57 PM
Endpoint format acbell Help Center 1 02-21-2005 11:44 AM
Endpoint merge ganzuoni Help Center 1 06-25-2003 09:52 AM


All times are GMT -4. The time now is 12:11 AM.


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