more work on write policy plugins

This commit is contained in:
Doug Hoyte
2023-02-08 15:04:59 -05:00
parent 50a3b5ed71
commit 4eb7a4fe53
6 changed files with 143 additions and 56 deletions

View File

@ -67,6 +67,15 @@ enum class EventSourceType {
Sync = 5,
};
inline std::string eventSourceTypeToStr(EventSourceType t) {
if (t == EventSourceType::IP4) return "IP4";
else if (t == EventSourceType::IP6) return "IP6";
else if (t == EventSourceType::Import) return "Import";
else if (t == EventSourceType::Stream) return "Stream";
else if (t == EventSourceType::Sync) return "Sync";
else return "?";
}
enum class EventWriteStatus {