aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/ConnectionAcknowledgedCommandHandler.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/profiling/ConnectionAcknowledgedCommandHandler.hpp')
-rw-r--r--src/profiling/ConnectionAcknowledgedCommandHandler.hpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/profiling/ConnectionAcknowledgedCommandHandler.hpp b/src/profiling/ConnectionAcknowledgedCommandHandler.hpp
index 255fcf645a..7e7904de0f 100644
--- a/src/profiling/ConnectionAcknowledgedCommandHandler.hpp
+++ b/src/profiling/ConnectionAcknowledgedCommandHandler.hpp
@@ -6,6 +6,7 @@
#pragma once
#include "CommandHandlerFunctor.hpp"
+#include "ISendCounterPacket.hpp"
#include "Packet.hpp"
#include "ProfilingStateMachine.hpp"
@@ -22,15 +23,22 @@ public:
ConnectionAcknowledgedCommandHandler(uint32_t familyId,
uint32_t packetId,
uint32_t version,
+ ICounterDirectory& counterDirectory,
+ ISendCounterPacket& sendCounterPacket,
ProfilingStateMachine& profilingStateMachine)
: CommandHandlerFunctor(familyId, packetId, version)
+ , m_CounterDirectory(counterDirectory)
+ , m_SendCounterPacket(sendCounterPacket)
, m_StateMachine(profilingStateMachine)
{}
void operator()(const Packet& packet) override;
private:
- ProfilingStateMachine& m_StateMachine;
+ const ICounterDirectory& m_CounterDirectory;
+ ISendCounterPacket& m_SendCounterPacket;
+ ProfilingStateMachine& m_StateMachine;
+
};
} // namespace profiling