#include <PacketVersionResolver.hpp>
Definition at line 39 of file PacketVersionResolver.hpp.
◆ PacketVersionResolver()
◆ ~PacketVersionResolver()
◆ ResolvePacketVersion()
Version ResolvePacketVersion |
( |
uint32_t |
familyId, |
|
|
uint32_t |
packetId |
|
) |
| const |
Definition at line 55 of file PacketVersionResolver.cpp.
Referenced by BOOST_AUTO_TEST_CASE(), CommandHandler::Stop(), GatordMockService::WaitCommand(), and FileOnlyProfilingConnection::WritePacket().
57 const PacketKey packetKey(familyId, packetId);
59 if( packetKey == ActivateTimeLinePacket )
61 return Version(1, 1, 0);
63 if( packetKey == DeactivateTimeLinePacket )
65 return Version(1, 1, 0);
68 return Version(1, 0, 0);
The documentation for this class was generated from the following files: