Class facade
Namespace: keychain
#include "keychain/cache/facade.hpp"
Inheritance: facade
Facade
Facade encapsulates the methods in common between persona and Contacts for use in methods in other classes that can take either class. These classes provide basic information about the related keychains such as the maturity (blockchain confirmation) level of the two keychains and the base URI.
The distinction between a persona and a contact is that a gateway creates a persona locally whereas a contact is created by another device.
Method Summary
| Return type | Method and Description |
|---|---|
|
Get the facade ID. |
|
Get the name attribute. |
|
Get the blockchain status. |
|
|
Get the subname attribute. |
|
Get the blockchain URI. |
|
|
Null object pattern. |
Methods
get_name() Method
std::string get_name();
Get the facade name, which is a local attribute initially associated with the facade at its creation time.