Archived

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

How to config the AdapterId?

Hi:
I want the application to get the port dynamic.
I don't know how to config the property of "AdapterId" in the config-file.
Can you give me some help?

Comments

  • matthew
    matthew NL, Canada
    I'm sorry, I have no idea what you are asking. Are you asking how to configure a server how to use IceGrid to generate indirect references?
  • hi

    Hi:
    Following is my parameters:

    /////////////////////////////////////////
    Ice.Default.Locator=... // the stringified locator proxy
    MyAdapter.AdapterId=theAdapter
    MyAdapter.Endpoints=default
    ///////////////////////////////////////////////////


    I don't know what is meaning of property 'AdapterId',and what value can I set ?

    Thanks!
  • matthew
    matthew NL, Canada
    Normally you don't set this value at all. You use IceGrid which sets all this up for you. Please see the ice manual, and the newsletter articles that Benoit & I wrote on IceGrid -- these can be downloaded at http://www.zeroc.com/newsletter.
  • Thanks!!

    I see!

    Thank you very much!