#include "dbus/mock_object_proxy.h"
namespace dbus {
MockObjectProxy::MockObjectProxy(Bus* bus,
const std::string& service_name,
const ObjectPath& object_path)
: … { … }
MockObjectProxy::~MockObjectProxy() = default;
void MockObjectProxy::CallMethod(MethodCall* method_call,
int timeout_ms,
ResponseCallback callback) { … }
void MockObjectProxy::CallMethodWithErrorResponse(
MethodCall* method_call,
int timeout_ms,
ResponseOrErrorCallback callback) { … }
void MockObjectProxy::CallMethodWithErrorCallback(
MethodCall* method_call,
int timeout_ms,
ResponseCallback callback,
ErrorCallback error_callback) { … }
void MockObjectProxy::WaitForServiceToBeAvailable(
WaitForServiceToBeAvailableCallback callback) { … }
void MockObjectProxy::ConnectToSignal(
const std::string& interface_name,
const std::string& signal_name,
SignalCallback signal_callback,
OnConnectedCallback on_connected_callback) { … }
}