This interface defines virtual methods for each of the user-facing overload sets in TraceServiceClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type TraceServiceClient.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 UTC."],[[["\u003cp\u003eThe latest version available is 2.37.0-rc, with numerous other versions, from 2.36.0 down to 2.11.0, also accessible.\u003c/p\u003e\n"],["\u003cp\u003eThe page details the \u003ccode\u003eTraceServiceConnection\u003c/code\u003e object, which is integral to the \u003ccode\u003eTraceServiceClient\u003c/code\u003e and provides methods to inject custom behavior in tests.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTraceServiceConnection\u003c/code\u003e interface has virtual methods corresponding to each user-facing overload set present within the \u003ccode\u003eTraceServiceClient\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe page includes information on creating concrete instances using \u003ccode\u003eMakeTraceServiceConnection()\u003c/code\u003e and mocking with \u003ccode\u003etrace_v2_mocks::MockTraceServiceConnection\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTraceServiceConnection\u003c/code\u003e object includes virtual functions for \u003ccode\u003eoptions()\u003c/code\u003e, \u003ccode\u003eBatchWriteSpans\u003c/code\u003e, and \u003ccode\u003eCreateSpan\u003c/code\u003e, with corresponding parameter and return types specified.\u003c/p\u003e\n"]]],[],null,[]]