CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
26 namespace catapult {
namespace timesync {
44 const std::shared_ptr<thread::IoThreadPool>& pPool,
Represents the network timestamps for sending and receiving a time synchronization request / response...
Definition: CommunicationTimestamps.h:29
Settings used to configure connections.
Definition: ConnectionSettings.h:31
A default compatibility checker that indicates all responses are compatible.
Definition: BriefServerRequestor.h:36
Definition: BriefServerRequestor.h:48
static constexpr auto Friendly_Name
Definition: NodeNetworkTimeRequestor.h:32
An interface for reading and writing packets.
Definition: PacketIo.h:31
Represents a pair of private key with associated public key.
Definition: KeyPair.h:33
Provides a way to access the result of an asynchronous operation.
Definition: Future.h:29
std::shared_ptr< NodeNetworkTimeRequestor > CreateNodeNetworkTimeRequestor(const std::shared_ptr< thread::IoThreadPool > &pPool, const crypto::KeyPair &keyPair, const net::ConnectionSettings &settings)
Creates a node network time requestor for a server with a key pair of keyPair using pPool and configu...
Definition: NodeNetworkTimeRequestor.cpp:25
Node network time request policy.
Definition: NodeNetworkTimeRequestor.h:29
Definition: AddressExtractionExtension.cpp:28
std::unique_ptr< RemoteTimeSyncApi > CreateRemoteTimeSyncApi(ionet::PacketIo &io)
Creates a time sync api for interacting with a remote node with the specified io.
Definition: RemoteTimeSyncApi.cpp:72
static thread::future< ResponseType > CreateFuture(ionet::PacketIo &packetIo)
Definition: NodeNetworkTimeRequestor.h:34