]> git.stg.codes - stg.git/blobdiff - include/stg/traffcounter.h
Ticket. The stgTime argument added in TariffChangeIsAllowed() function
[stg.git] / include / stg / traffcounter.h
index 1962ee7a2bf07e979dcbef82aa045a1340e85e7d..97d1783752891990a0d5d6c7579f9912419b98d2 100644 (file)
@@ -25,7 +25,9 @@
 
 class TRAFFCOUNTER {
 public:
 
 class TRAFFCOUNTER {
 public:
+    virtual ~TRAFFCOUNTER() {}
     virtual void Process(const RAW_PACKET & rawPacket) = 0;
     virtual void Process(const RAW_PACKET & rawPacket) = 0;
+    virtual size_t RulesCount() const = 0;
 };
 
 #endif
 };
 
 #endif