InterfaceDomainBase¶
-
class
kanzi::connect
::
InterfaceDomainBase
¶ A class that acts as a container for domain specific information such as resource directory and also provides domain specific services such as uri translation.
Subclassed by InterfaceDomain, ServiceManager
Public Functions
-
virtual
~InterfaceDomainBase
() = default¶ Destructor.
-
const string &
getResourceDirectory
() const¶ Retrieves the content & resource directory of the system.
- Returns
File path to resource directory.
-
UriTranslator &
getUriTranslator
()¶ Returns translator for Uris.
- Returns
Translator that can be used to map uri to file in remote file server.
-
void
setResourceDirectory
(const string &path)¶ Sets resource directory of the system.
- Parameters
path – Path to resource directory.
-
virtual