-
Notifications
You must be signed in to change notification settings - Fork 593
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
Conversation
* Provides access to the connection details of an IAP connection | ||
* \headerfile Ice/Ice.h | ||
*/ | ||
class IAPConnectionInfo final : public ConnectionInfo |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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:
Lines 55 to 62 in 8c76edb
# # 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()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See #3197.
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.