5 #ifndef __PKT_SANDESH_FLOW_H__
6 #define __PKT_SANDESH_FLOW_H__
10 #include "pkt/pkt_types.h"
56 FlowStatsCollectorRecordsResp *
resp_;
virtual bool Run()
Code to execute. Returns true if task is completed. Return false to reschedule the task...
void SendResponse(SandeshResponse *resp)
FlowRecordsResp * resp_obj_
static std::string GetFlowKey(const FlowKey &key, uint16_t partition_id)
static const char kDelimiter
bool SetFlowKey(std::string key)
DISALLOW_COPY_AND_ASSIGN(PktSandeshFlowStats)
virtual ~PktSandeshFlowStats()
bool SetProtoKey(std::string key)
void set_delete_op(bool delete_op)
static const std::string start_key
DISALLOW_COPY_AND_ASSIGN(PktSandeshFlow)
static const int kMaxFlowResponse
PktSandeshFlowStats(Agent *agent, FlowStatsCollectorRecordsResp *obj, std::string resp_ctx, std::string key)
std::string Description() const
bool SetProto(std::string &key)
FlowStatsCollectorRecordsResp * resp_
FlowKey flow_iteration_key_
virtual bool Run()
Code to execute. Returns true if task is completed. Return false to reschedule the task...
PktSandeshFlow(Agent *agent, FlowRecordsResp *obj, std::string resp_ctx, std::string key)
void SetSandeshFlowData(std::vector< SandeshFlowData > &list, FlowEntry *fe, const FlowExportInfo *info)
Task is a wrapper over tbb::task to support policies.
virtual ~PktSandeshFlow()