// Copyright (C) 2022 The Qt Company Ltd. // Copyright (C) 2019 Alexey Edelev // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only #include #include #include #include QT_BEGIN_NAMESPACE using namespace Qt::StringLiterals; /*! \class QGrpcCallReply \inmodule QtGrpc \brief The QGrpcCallReply class provides access in handling unary RPCs. The QGrpcCallReply class provides the interface for handling unary remote procedure calls (RPCs), which is one of the four \gRPC \l{Service Methods}{service methods}. For a high-level overview, refer to the \l{Unary Calls} {Qt GRPC Client Guide}. \include qtgrpc-shared.qdocinc rpc-lifetime-note */ /*! \internal Constructs a new QGrpcCallReply from an \a operationContext. This is usually called by the generated client interface. \sa QGrpcClientBase::call QAbstractGrpcChannel::call */ QGrpcCallReply::QGrpcCallReply(std::shared_ptr operationContext) : QGrpcOperation(std::move(operationContext)) { } /*! Destroys the QGrpcCallReply. */ QGrpcCallReply::~QGrpcCallReply() = default; bool QGrpcCallReply::event(QEvent *event) { return QObject::event(event); } QT_END_NAMESPACE #include "moc_qgrpccallreply.cpp"