CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
26 namespace ionet {
class Node; }
27 namespace thread {
class IoThreadPool; }
30 namespace catapult {
namespace tools {
namespace health {
#define CATAPULT_LOG(SEV)
Writes a log entry to the default logger with SEV severity.
Definition: Logging.h:340
boost::asio::ip::tcp::endpoint m_endpoint
Definition: ApiNodeHealthUtils.cpp:153
utils::BaseValue< uint64_t, Height_tag > Height
Definition: src/catapult/types.h:85
Represents a thread pool that shares a single io context across multiple threads.
Definition: IoThreadPool.h:30
Definition: IoThreadPool.h:25
constexpr std::underlying_type_t< TEnum > to_underlying_type(TEnum value)
Converts a strongly typed enumeration value to its underlying integral value.
Definition: Casting.h:37
ConnectResult
Enumeration of possible connection results.
Definition: ConnectResult.h:41
ResolverType m_resolver
Definition: ApiNodeHealthUtils.cpp:148
virtual boost::asio::io_context & ioContext()=0
Gets the underlying io_context.
boost::asio::streambuf m_request
Definition: ApiNodeHealthUtils.cpp:305
Provides a way to access the result of an asynchronous operation.
Definition: Future.h:29
SocketConnector m_connector
Definition: ApiNodeHealthUtils.cpp:302
def info(*args)
Definition: forwardsValidation.py:12
catapult_error< std::runtime_error > catapult_runtime_error
Definition: exceptions.h:87
boost::asio::ip::tcp::socket socket
Definition: IoTypes.h:30
thread::promise< ionet::ConnectResult > m_promise
Definition: ApiNodeHealthUtils.cpp:154
std::vector< std::string > m_apiUris
Definition: ApiNodeHealthUtils.cpp:303
size_t m_numUnmatchedOpenBraces
Definition: ApiNodeHealthUtils.cpp:63
All cosigners are eligible and sufficient.
ResultType m_values
Definition: ApiNodeHealthUtils.cpp:308
boost::asio::streambuf m_response
Definition: ApiNodeHealthUtils.cpp:306
const NodeEndpoint & endpoint() const
Gets the endpoint.
Definition: Node.cpp:64
std::string Host
Host.
Definition: Node.h:37
Information about a chain.
Definition: ChainApi.h:31
model::ChainScore Score
Chain score.
Definition: ChainApi.h:36
ionet::Node Node
Definition: PacketWriters.cpp:45
model::ChainScore ChainScore
Definition: tools/health/main.cpp:43
Definition: AddressExtractionExtension.cpp:28
ResolverType::query m_query
Definition: ApiNodeHealthUtils.cpp:151
std::string m_host
Definition: ApiNodeHealthUtils.cpp:150
boost::asio::ip::tcp::socket m_socket
Definition: ApiNodeHealthUtils.cpp:147
catapult::Height Height
Chain height.
Definition: ChainApi.h:33
bool TryParseValue(const std::string &str, LogLevel &parsedValue)
Tries to parse str into a log level (parsedValue).
Definition: ConfigurationValueParsers.cpp:60
A node in the catapult network.
Definition: Node.h:82