This interface defines virtual methods for each of the user-facing overload sets in ServiceControllerClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type ServiceControllerClient.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-14 UTC."],[[["This webpage details the `ServiceControllerConnection` interface for the `ServiceControllerClient` in version 2.12.0 of the C++ Service Control library."],["The `ServiceControllerConnection` allows users to inject custom behavior for testing purposes, such as using Google Mock objects with the `ServiceControllerClient`."],["The latest release candidate is version 2.37.0-rc, and the page lists versions ranging from 2.37.0-rc down to 2.11.0, with each containing the `ServiceControllerConnection` class."],["The interface includes virtual methods like `options()`, `Check()`, and `Report()` for interacting with the Service Controller."],["The `MakeServiceControllerConnection()` function is provided to help create a real instance, whereas `MockServiceControllerConnection` can be used for mocking purposes."]]],[]]