Class Controller2Connection (2.11.0)

This interface defines virtual methods for each of the user-facing overload sets in Controller2Client. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type Controller2Client.

To create a concrete instance, see MakeController2Connection().

For mocking, see debugger_v2_mocks::MockController2Connection.

Functions

virtual options()

Returns
TypeDescription
Options

virtual RegisterDebuggee(google::devtools::clouddebugger::v2::RegisterDebuggeeRequest const &)

Parameter
NameDescription
request google::devtools::clouddebugger::v2::RegisterDebuggeeRequest const &
Returns
TypeDescription
StatusOr< google::devtools::clouddebugger::v2::RegisterDebuggeeResponse >

virtual ListActiveBreakpoints(google::devtools::clouddebugger::v2::ListActiveBreakpointsRequest const &)

Parameter
NameDescription
request google::devtools::clouddebugger::v2::ListActiveBreakpointsRequest const &
Returns
TypeDescription
StatusOr< google::devtools::clouddebugger::v2::ListActiveBreakpointsResponse >

virtual UpdateActiveBreakpoint(google::devtools::clouddebugger::v2::UpdateActiveBreakpointRequest const &)

Parameter
NameDescription
request google::devtools::clouddebugger::v2::UpdateActiveBreakpointRequest const &
Returns
TypeDescription
StatusOr< google::devtools::clouddebugger::v2::UpdateActiveBreakpointResponse >