CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
26 struct NodeInteractionResult;
30 namespace catapult {
namespace extensions {
NodeContainerModifier modifier()
Gets a write only view of the nodes.
Definition: NodeContainer.cpp:254
Key IdentityKey
Identity key of the remote node.
Definition: NodeInteractionResult.h:42
NodeInteractionResultCode Code
Interaction result code.
Definition: NodeInteractionResult.h:45
void IncrementNodeInteraction(ionet::NodeContainer &nodes, const ionet::NodeInteractionResult &result)
Increments the interaction counter indicated by result in the node container (nodes).
Definition: NodeInteractionUtils.cpp:27
A collection of nodes.
Definition: NodeContainer.h:109
void incrementSuccesses(const Key &identityKey)
Increments the number of successful interactions for the node identified by identityKey.
Definition: NodeContainer.cpp:179
Result from a node interaction.
Definition: NodeInteractionResult.h:28
Definition: AddressExtractionExtension.cpp:28
void incrementFailures(const Key &identityKey)
Increments the number of failed interactions for the node identified by identityKey.
Definition: NodeContainer.cpp:184