summaryrefslogtreecommitdiff
path: root/src/service/smtp.hpp
diff options
context:
space:
mode:
authoreportnov <eportnov@ibs.ru>2022-09-14 09:44:52 +0300
committereportnov <eportnov@ibs.ru>2022-09-14 09:44:52 +0300
commita78e04585b2d4097a88ab681c1beebe8fe9586a1 (patch)
tree0c7b4585ba47af057db150f6226ffcdeca66c7ba /src/service/smtp.hpp
parentbab12f829beb53feb6f48db7a0ef33574740989c (diff)
parent942b22b2ef5ba188ea077dd545c5f240a043cf6f (diff)
downloadobmc-sila-smtp-a78e04585b2d4097a88ab681c1beebe8fe9586a1.tar.xz
Merge branch 'feature/add_new_interfaces'
Diffstat (limited to 'src/service/smtp.hpp')
-rw-r--r--src/service/smtp.hpp14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/service/smtp.hpp b/src/service/smtp.hpp
index 0284f42..a52c9c0 100644
--- a/src/service/smtp.hpp
+++ b/src/service/smtp.hpp
@@ -22,14 +22,22 @@ namespace smtp::service
private:
void FillStorageByDefault();
void CreateService( ConnectionPtr bus );
- void CreateInterface( ConnectionPtr connection );
+ void CreateMessagerInterface( ConnectionPtr connection );
+ void CreateSettingsManagerInterface( ConnectionPtr connection );
+ void CreateMailManagerInterface( ConnectionPtr connection );
void AddProperties();
- void AddMethods();
+ void AddMessagerMethods();
+ void AddSettingsManagerMethods();
+ void AddMailManagerMethods();
+
bool RefreshSettings( bool is_need_auth, bool is_need_ssl,
std::string const& user, std::string const& password,
std::string const& host, std::string const& port );
- InterfacePtr mInterface;
+ InterfacePtr mMessagerInterface;
+ InterfacePtr mManagerSettingsInterface;
+ InterfacePtr mManagerMailInterface;
+
ObjectServerPtr mObjectServer;
manage::Settings mSettingsStorage;
manage::Mail mMailTo;