Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 12-14-2005
PeteH PeteH is offline
Registered User
 
Name: Peter Hug
Organization: Warehouse Optimization LLC
Project: APAL
 
Join Date: Oct 2004
Location: Napier, New Zealand
Posts: 26
createObjectAdapterWithEndpoints: purpose of 'name' argument

Just out of curiosity, what exactly is the purpose of the name argument in the method Ice::Communicator::createObjectAdapterWithEndpoint s? The documentation is unclear about this.
__________________
Peter Hug
Warehouse Optimization LLC (http://www.warehouseoptimization.com)
Reply With Quote
  #2 (permalink)  
Old 12-14-2005
mes's Avatar
mes mes is offline
ZeroC Staff
 
Name: Mark Spruiell
Organization: ZeroC, Inc.
Project: Ice Developer
 
Join Date: Feb 2003
Location: California
Posts: 971
Hi Peter,

The name argument uniquely identifies an adapter within its communicator. This name is also used for configuration purposes. For example, when you call createObjectAdapter("AdapterName"), the adapter determines its endpoints using the configuration property AdapterName.Endpoints. Although the operation createObjectAdapterWithEndpoints allows you to specify the adapter's endpoints directly, the adapter supports many other configuration properties in addition to its endpoints.

Hope that helps,
- Mark
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
createObjectAdapterWithEndpoints problem leoang Help Center 4 06-18-2006 11:47 PM
createObjectAdapter and createObjectAdapterWithEndpoints AlexKom Help Center 2 08-15-2005 04:01 PM
what's the purpose of ::IceUtil::noncopyable ? rc_hz Comments 7 05-31-2005 09:31 PM
Objects as argument ? ChMeessen Comments 2 09-18-2003 05:48 PM


All times are GMT -4. The time now is 10:39 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.