tylerliu | 01d63ca | 2020-10-06 16:29:23 -0700 | [diff] [blame] | 1 | // |
| 2 | // Created by Tyler on 10/6/20. |
| 3 | // |
| 4 | |
| 5 | #ifndef NDNCERT_ASSIGNMENT_HASH_HPP |
| 6 | #define NDNCERT_ASSIGNMENT_HASH_HPP |
| 7 | |
| 8 | #include "assignment-funcs.hpp" |
| 9 | |
| 10 | namespace ndn { |
| 11 | namespace ndncert { |
| 12 | |
| 13 | /** |
| 14 | * assign names base on client probe parameter |
| 15 | */ |
| 16 | class AssignmentHash: public NameAssignmentFuncFactory{ |
| 17 | public: |
| 18 | AssignmentHash(); |
| 19 | |
| 20 | NameAssignmentFunc getFunction(const std::string &factoryParam) override; |
| 21 | |
tylerliu | 01d63ca | 2020-10-06 16:29:23 -0700 | [diff] [blame] | 22 | }; |
| 23 | } |
| 24 | } |
| 25 | |
| 26 | |
| 27 | |
| 28 | #endif //NDNCERT_ASSIGNMENT_HASH_HPP |