CatapultServer
v0.5.0.1 (Elephant)
RemoteApi.h
Go to the documentation of this file.
1
21
#pragma once
22
#include "
catapult/types.h
"
23
24
namespace
catapult
{
namespace
api {
25
27
class
RemoteApi
{
28
protected
:
30
explicit
RemoteApi
(
const
Key
&
remotePublicKey
) :
m_remotePublicKey
(
remotePublicKey
)
31
{}
32
33
public
:
34
virtual
~RemoteApi
() =
default
;
35
36
public
:
38
const
Key
&
remotePublicKey
()
const
{
39
return
m_remotePublicKey
;
40
}
41
42
private
:
43
Key
m_remotePublicKey
;
44
};
45
}}
catapult::api::RemoteApi::RemoteApi
RemoteApi(const Key &remotePublicKey)
Creates a remote api for the node with specified public key (remotePublicKey).
Definition:
RemoteApi.h:30
catapult::api::RemoteApi::m_remotePublicKey
Key m_remotePublicKey
Definition:
RemoteApi.h:43
catapult::api::RemoteApi::remotePublicKey
const Key & remotePublicKey() const
Gets the remote node public key.
Definition:
RemoteApi.h:38
catapult::api::RemoteApi::~RemoteApi
virtual ~RemoteApi()=default
types.h
catapult
Definition:
AddressExtractionExtension.cpp:28
catapult::api::RemoteApi
An api for retrieving information from a remote node.
Definition:
RemoteApi.h:27
catapult::utils::ByteArray< Key_Size, Key_tag >
catapult-server
src
catapult
api
RemoteApi.h
Generated by
1.8.16