aboutsummaryrefslogtreecommitdiff
path: root/tests/profiling/gatordmock/GatordMockService.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/profiling/gatordmock/GatordMockService.cpp')
-rw-r--r--tests/profiling/gatordmock/GatordMockService.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/profiling/gatordmock/GatordMockService.cpp b/tests/profiling/gatordmock/GatordMockService.cpp
index 194b097af1..bf326a64c3 100644
--- a/tests/profiling/gatordmock/GatordMockService.cpp
+++ b/tests/profiling/gatordmock/GatordMockService.cpp
@@ -136,6 +136,16 @@ void GatordMockService::SendConnectionAck()
SendPacket(0, 1, nullptr, 0);
}
+void GatordMockService::SendRequestCounterDir()
+{
+ if (m_EchoPackets)
+ {
+ std::cout << "Sending connection acknowledgement." << std::endl;
+ }
+ // The connection ack packet is an empty data packet with packetId == 1.
+ SendPacket(0, 3, nullptr, 0);
+}
+
bool GatordMockService::LaunchReceivingThread()
{
if (m_EchoPackets)