Skip to content

Conversation

@bernardnormier
Copy link
Member

This PR adds a new IceGrid/LocatorDiscovery demo (C#).

This demo provides only a client. Everything else comes from Greeter.

Alternatively:

  • we could copy everything else from Greeter (except Client) in here ... but this is a lot of duplication, and the user may not see immediately what's different

  • add a second client in IceGrid/Greeter - the LocatorDiscoveryClient. Downside: this makes Greeter more complicated

@bernardnormier bernardnormier requested review from externl and pepone March 3, 2025 20:01
Copy link
Member

@pepone pepone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

// Slice module VisitorCenter in Greeter.ice maps to C# namespace VisitorCenter.
using VisitorCenter;

// Configure the communicator to load the LocatorDiscovery plugin during initialization. We don't configure a locator
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we can mention the locator discovery plug-in is used to configure the communicator locator, instead of mentioning what we don't do.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right, I updated the comment.

@bernardnormier bernardnormier merged commit 16fab63 into zeroc-ice:main Mar 3, 2025
8 checks passed
@bernardnormier bernardnormier deleted the icegrid2 branch June 18, 2025 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants