snake: stream sql mock + add republished channel option
This commit is contained in:
24
ixsnake/ixsnake/IXStreamSql.h
Normal file
24
ixsnake/ixsnake/IXStreamSql.h
Normal file
@@ -0,0 +1,24 @@
|
||||
/*
|
||||
* IXStreamSql.h
|
||||
* Author: Benjamin Sergeant
|
||||
* Copyright (c) 2020 Machine Zone, Inc. All rights reserved.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include "nlohmann/json.hpp"
|
||||
|
||||
namespace snake
|
||||
{
|
||||
class StreamSql
|
||||
{
|
||||
public:
|
||||
StreamSql(const std::string& sqlFilter);
|
||||
~StreamSql() = default;
|
||||
|
||||
bool match(const nlohmann::json& pdu);
|
||||
|
||||
private:
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user