Home
last modified time | relevance | path

Searched refs:IExecuter (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/base/customization/enterprise_device_management/services/edm_plugin/src/network/executer/
H A Diexecuter.cpp41 IExecuter::IExecuter(std::string chainName) : chainName_(std::move(chainName)) in IExecuter() function in OHOS::EDM::IPTABLES::IExecuter
46 ErrCode IExecuter::CreateChain() in CreateChain()
54 ErrCode IExecuter::Add(const std::shared_ptr<ChainRule>& rule) in Add()
66 ErrCode IExecuter::Remove(const std::shared_ptr<ChainRule>& rule) in Remove()
80 ErrCode IExecuter::ExecWithOption(std::ostringstream& oss, const std::shared_ptr<ChainRule>& rule) in ExecWithOption()
113 ErrCode IExecuter::GetAll(std::vector<std::string>& ruleList) in GetAll()
H A Dexecuter_factory.cpp71 std::shared_ptr<IExecuter> ExecuterFactory::GetExecuter(const std::string& chainName) const in GetExecuter()
81 std::vector<std::shared_ptr<IExecuter>> ExecuterFactory::GetAllExecuter() const in GetAllExecuter()
H A Ddomain_executer.cpp29 DomainExecuter::DomainExecuter(const std::string& chainName) : IExecuter(chainName) in DomainExecuter()
H A Dfirewall_executer.cpp30 …FirewallExecuter(std::string actualChainName, const std::string& chainName) : IExecuter(chainName), in FirewallExecuter()
/ohos5.0/base/customization/enterprise_device_management/services/edm_plugin/include/network/executer/
H A Dexecuter_factory.h34 std::shared_ptr<IExecuter> GetExecuter(const std::string &chainName) const;
36 std::vector<std::shared_ptr<IExecuter>> GetAllExecuter() const;
43 std::unordered_map<std::string, std::shared_ptr<IExecuter>> executerMap_;
45 std::vector<std::shared_ptr<IExecuter>> executerVector_;
H A Diexecuter.h31 class IExecuter {
33 explicit IExecuter(std::string chainName);
45 IExecuter() = default;
H A Ddomain_executer.h26 class DomainExecuter final: public IExecuter {
H A Dfirewall_executer.h26 class FirewallExecuter final: public IExecuter {
/ohos5.0/base/customization/enterprise_device_management/test/unittest/services/edm_plugin/src/network/executer/
H A Diexecuter_test.cpp45 class IExecuterMock final: public IExecuter {
74 std::shared_ptr<IExecuter> executer = std::make_shared<IExecuterMock>();
85 std::shared_ptr<IExecuter> executer = std::make_shared<IExecuterMock>();
101 std::shared_ptr<IExecuter> executer = std::make_shared<IExecuterMock>();
133 std::shared_ptr<IExecuter> executer = std::make_shared<IExecuterMock>();
165 std::shared_ptr<IExecuter> executer = std::make_shared<IExecuterMock>();
193 std::shared_ptr<IExecuter> executer = std::make_shared<IExecuterMock>();
/ohos5.0/base/customization/enterprise_device_management/services/edm_plugin/src/network/
H A Diptables_manager.cpp334 …std::vector<std::shared_ptr<IExecuter>> allExecuter = ExecuterFactory::GetInstance()->GetAllExecut… in Init()