Fabcoin Core
0.16.2
P2P Digital Currency
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
src
cpp-ethereum
libweb3jsonrpc
AdminUtils.h
Go to the documentation of this file.
1
#pragma once
2
#include "
AdminUtilsFace.h
"
3
4
namespace
dev
5
{
6
namespace
rpc
7
{
8
9
class
SessionManager;
10
11
class
SystemManager
12
{
13
public
:
14
virtual
void
exit
() = 0;
15
};
16
17
class
AdminUtils
:
public
dev::rpc::AdminUtilsFace
18
{
19
public
:
20
AdminUtils
(
SessionManager
& _sm,
SystemManager
* _systemManager =
nullptr
);
21
virtual
RPCModules
implementedModules
()
const override
22
{
23
return
RPCModules
{RPCModule{
"admin"
,
"1.0"
}};
24
}
25
virtual
bool
admin_setVerbosity(
int
_v, std::string
const
& _session)
override
;
26
virtual
bool
admin_verbosity(
int
_v)
override
;
27
virtual
bool
admin_exit(std::string
const
& _session)
override
;
28
29
private
:
30
SessionManager
&
m_sm
;
31
SystemManager
* m_systemManager =
nullptr
;
32
};
33
34
}
35
}
dev
Adapted from code found on http://stackoverflow.com/questions/180947/base64-decode-snippet-in-c Origi...
Definition:
Arith256.cpp:15
ServerInterface< AdminUtilsFace >::RPCModules
std::vector< RPCModule > RPCModules
Definition:
ModularServer.h:50
dev::rpc::AdminUtilsFace
Definition:
AdminUtilsFace.h:12
dev::rpc::SessionManager
Definition:
SessionManager.h:38
dev::rpc::AdminUtils::implementedModules
virtual RPCModules implementedModules() const override
Definition:
AdminUtils.h:21
AdminUtilsFace.h
dev::rpc::SystemManager::exit
virtual void exit()=0
dev::rpc::SystemManager
Definition:
AdminUtils.h:11
dev::rpc::AdminUtils
Definition:
AdminUtils.h:17
dev::rpc::AdminUtils::m_sm
SessionManager & m_sm
Definition:
AdminUtils.h:30
Generated on Mon Oct 22 2018 15:15:29 for Fabcoin Core by
1.8.11