CatapultServer  v0.5.0.1 (Elephant)
NodeInteractionResult.h
Go to the documentation of this file.
1 
21 #pragma once
23 #include "catapult/types.h"
24 
25 namespace catapult { namespace ionet {
26 
29  public:
32  {}
33 
36  : IdentityKey(identityKey)
37  , Code(code)
38  {}
39 
40  public:
43 
46  };
47 }}
catapult::ionet::NodeInteractionResult::IdentityKey
Key IdentityKey
Identity key of the remote node.
Definition: NodeInteractionResult.h:42
catapult::ionet::NodeInteractionResult::Code
NodeInteractionResultCode Code
Interaction result code.
Definition: NodeInteractionResult.h:45
catapult::ionet::NodeRoles::None
No roles.
NodeInteractionResultCode.h
catapult::ionet::NodeInteractionResult
Result from a node interaction.
Definition: NodeInteractionResult.h:28
catapult::ionet::NodeInteractionResult::NodeInteractionResult
NodeInteractionResult()
Creates a default node interaction result.
Definition: NodeInteractionResult.h:31
types.h
catapult
Definition: AddressExtractionExtension.cpp:28
catapult::ionet::NodeInteractionResultCode
NodeInteractionResultCode
Possible node interaction result codes.
Definition: NodeInteractionResultCode.h:42
catapult::utils::ByteArray< Key_Size, Key_tag >
catapult::ionet::NodeInteractionResult::NodeInteractionResult
NodeInteractionResult(const Key &identityKey, NodeInteractionResultCode code)
Creates a node interaction result around identityKey and code.
Definition: NodeInteractionResult.h:35