mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-24 22:27:55 -05:00
47 lines
1.9 KiB
C++
47 lines
1.9 KiB
C++
/////////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Copyright (C) 2025 Equinor ASA
|
|
//
|
|
// ResInsight is free software: you can redistribute it and/or modify
|
|
// it under the terms of the GNU General Public License as published by
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
// (at your option) any later version.
|
|
//
|
|
// ResInsight is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
// FITNESS FOR A PARTICULAR PURPOSE.
|
|
//
|
|
// See the GNU General Public License at <http://www.gnu.org/licenses/gpl.html>
|
|
// for more details.
|
|
//
|
|
//////////////////////////////////////////////////////////////////////////////////
|
|
#pragma once
|
|
|
|
#include "SimulatorTables.grpc.pb.h"
|
|
|
|
#include "RiaGrpcServiceInterface.h"
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
class RiaGrpcCallbackInterface;
|
|
|
|
//==================================================================================================
|
|
//
|
|
// gRPC-service answering requests about grid information for a simulation wells
|
|
//
|
|
//==================================================================================================
|
|
class RiaGrpcWellPathService final : public rips::WellPath::AsyncService, public RiaGrpcServiceInterface
|
|
{
|
|
public:
|
|
grpc::Status GetCompletionData( ::grpc::ServerContext* context,
|
|
const ::rips::SimulatorTableRequest* request,
|
|
::rips::SimulatorTableData* response ) override;
|
|
|
|
grpc::Status GetCompletionDataUnified( ::grpc::ServerContext* context,
|
|
const ::rips::SimulatorTableUnifiedRequest* request,
|
|
::rips::SimulatorTableData* response ) override;
|
|
|
|
std::vector<RiaGrpcCallbackInterface*> createCallbacks() override;
|
|
};
|