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

Hook up some MTRDevice bits to XPC. #29689

Merged
merged 1 commit into from
Oct 12, 2023

Commits on Oct 10, 2023

  1. Hook up some MTRDevice bits to XPC.

    Specific changes:
    
    * Make MTRDevice get its MTRBaseDevice in a way that is XPC-friendly.
    * Implement readAttributePaths (which is what ends up getting called by
      MTRDevice's readAttributeWithEndpointID) over XPC, as long as there is just a
      single attribute path.
    * Implement _invokeCommandWithEndpointID (which is what ends up getting called
      by MTRDevice's _invokeKnownCommandWithEndpointID) over XPC, as long as
      serverSideProcessingTimeout is nil.
    * Writes already called an MTRBaseDevice function that was implemented over XPC.
    * Tests for the new setup; these were checked to fail without the other changes.
    
    This also makes MTRClusters work over XPC.
    bzbarsky-apple committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    7d4b7dd View commit details
    Browse the repository at this point in the history