Commit Graph

3 Commits

Author SHA1 Message Date
Gleb Natapov
1dbad40513 gossip: add missing namespace
Signed-off-by: Avi Kivity <avi@cloudius-systems.com>
2015-04-15 22:37:30 +03:00
Asias He
d5f0ce2663 gossip: Add missing #pragma once 2015-03-04 15:51:35 +08:00
Nadav Har'El
3c74a5e15d gossip: convert ApplicationState to C++
The gossiped application state is a list of key/version pairs. The keys
come from the application_state enum in this patch.

This is a trivial conversion of the Java enum. It is possible we may need
to add more features to this enum class (Java enums have all sorts of weird
capabilities beyond C++ enums), but with any luck, we won't...

Signed-off-by: Nadav Har'El <nyh@cloudius-systems.com>
2015-01-07 13:59:29 +02:00