blob: 4ca30b11a525a895ef41a24f756a4fba07b4f751 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include <string>
class FRT_Supervisor;
namespace slobrok {
class ManagedRpcServer;
//-----------------------------------------------------------------------------
/**
* @class IRpcServerManager
* @brief A manager for ManagedRpcServer objects.
*
* Interface class.
**/
class IRpcServerManager
{
public:
virtual void notifyFailedRpcSrv(ManagedRpcServer *rpcsrv, std::string errmsg) = 0;
virtual void notifyOkRpcSrv(ManagedRpcServer *rpcsrv) = 0;
virtual FRT_Supervisor *getSupervisor() = 0;
virtual ~IRpcServerManager() {}
};
//-----------------------------------------------------------------------------
} // namespace slobrok
|