Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move IAP EndpointInfo and ConnectionInfo #3199

Merged
merged 1 commit into from
Nov 27, 2024

Conversation

bernardnormier
Copy link
Member

This PR moves the IAP EndpointInfo and ConnectionInfo definitions to namespace Ice.

It also makes them available all the time - not just for iOS. These are tiny classes, there is no real benefit in ifdefing them out.

* Provides access to the connection details of an IAP connection
* \headerfile Ice/Ice.h
*/
class IAPConnectionInfo final : public ConnectionInfo
Copy link
Member Author

Choose a reason for hiding this comment

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

I didn't update the Swift code yet even though this renaming makes an update necessary.

I am curious to see if the Swift CI will fail.

Copy link
Member

Choose a reason for hiding this comment

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

Seems we are not building for iOS, there is some commented out code in the ci workflow:

# # Xcode SDK builds
# # TODO - Should we also test the debug config here as well?
# - macos-15
# config: "xcodesdk"
# working_directory: "cpp"
# build_flags: "CONFIGS=xcodesdk PLATFORMS=iphonesimulator"
# test_flags: "--config=xcodesdk --platform=iphonesimulator --controller-app"
# build_cpp_and_python: true

@@ -383,9 +383,9 @@ - (void)stream:(NSStream*)stream handleEvent:(NSStreamEvent)eventCode
IceObjC::iAPTransceiver::getInfo(bool incoming, string adapterName, string connectionId) const
{
assert(!incoming);
assert(adapterName.empty());
Copy link
Member Author

Choose a reason for hiding this comment

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

See #3197.

@bernardnormier bernardnormier merged commit 75f1462 into zeroc-ice:main Nov 27, 2024
19 checks passed
@bernardnormier bernardnormier deleted the iap-info branch December 9, 2024 17:10
InsertCreativityHere pushed a commit to InsertCreativityHere/compiler-comparison that referenced this pull request Jan 1, 2025
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.

2 participants