17 lines
426 B
C++
17 lines
426 B
C++
#pragma once
|
|
|
|
#include <sp/protocol/Message.h>
|
|
#include <sp/protocol/GenericHandler.h>
|
|
|
|
namespace sp {
|
|
class PacketHandler;
|
|
|
|
using PacketMessage = Message<
|
|
option::MsgIdType<std::uint8_t>, // add id() operation
|
|
option::ReadOperations, // add read() operation
|
|
option::WriteOperations, // add write() operation
|
|
option::Handler<PacketHandler> // add dispatch() operation
|
|
>;
|
|
|
|
} // namespace sp
|