Apollo C++ Client
C++ client for Apollo Configuration Center
Loading...
Searching...
No Matches
apollo_types.h File Reference

Apollo Client Library Type Definitions. More...

#include <map>
#include <memory>
#include <vector>
#include <string>

Go to the source code of this file.

Classes

struct  apollo::client::Change
 Structure representing a change in configuration. More...
struct  apollo::client::Opts
 Options for configuring the Apollo client. More...
class  apollo::client::ILogger

Typedefs

using apollo::client::NamespaceType = std::string
 Type alias for namespace identifiers.
using apollo::client::Changes = std::vector<Change>
 List of configuration changes.
using apollo::client::Configures = std::map<std::string, std::string>
 Map of key-value pairs representing a namespace's configuration.
using apollo::client::LoggerPtr = std::shared_ptr<ILogger>

Enumerations

enum class  apollo::client::ChangeType { Added , Updated , Deleted }
 Enum class representing the type of change in configuration. More...
enum class  LogLevel {
  Disabled , Error , Warning , Info ,
  Debug
}

Variables

constexpr auto apollo::client::long_poller_interval_default = 1000

Detailed Description

Apollo Client Library Type Definitions.

Enumeration Type Documentation

◆ ChangeType

enum class apollo::client::ChangeType
strong

Enum class representing the type of change in configuration.

Enumerator
Added 

A new configuration item has been added

Updated 

An existing configuration item has been updated

Deleted 

An existing configuration item has been deleted

Variable Documentation

◆ long_poller_interval_default

auto apollo::client::long_poller_interval_default = 1000
constexpr

Default long poller interval in milliseconds