12 typedef uint8_t ClientId;
24 virtual void execute(
const ClientId& clientId,
const IProtocolMessage& message) = 0;
34 void execute (
const ClientId& clientId,
const IProtocolMessage& message)
override {
36 execute(clientId, msg);
39 virtual void execute (
const ClientId& clientId,
const T* message) = 0;
48 typedef std::shared_ptr<IProtocolHandler> ProtocolHandlerPtr;
Definition: IProtocolHandler.h:28
A protocol message is used for the serialization of the ai states for remote debugging.
Definition: IProtocolMessage.h:60
Interface for the execution of assigned IProtocolMessage.
Definition: IProtocolHandler.h:19
Definition: IProtocolHandler.h:42
T ai_assert_cast(const S object)
If you compile with RTTI activated, you get additional sanity checks when using this macro to perform...
Definition: Types.h:84
Use this deleter for any handler that should not get freed by delete.
Definition: IProtocolHandler.h:53