6#include <ocpp/common/message_queue.hpp>
21 virtual void dispatch_call(
const json& call,
bool triggered =
false) = 0;
28 virtual std::future<ocpp::EnhancedMessage<T>>
dispatch_call_async(
const json& call,
bool triggered =
false) = 0;
Interface for dispatching OCPP messages that shall be send over the websocket. This interface defines...
Definition: message_dispatcher.hpp:13
virtual void dispatch_call_error(const json &call_error)=0
Dispatches a CallError message.
virtual std::future< ocpp::EnhancedMessage< T > > dispatch_call_async(const json &call, bool triggered=false)=0
Dispatches a Call message asynchronously.
virtual void dispatch_call(const json &call, bool triggered=false)=0
Dispatches a Call message.
virtual void dispatch_call_result(const json &call_result)=0
Dispatches a CallResult message.