blob: 3c3e23d7a39fb0d8be2d2380306636d5bb457844 [file] [log] [blame]
Tom Joseph64b3dec2017-04-03 01:53:44 +05301#pragma once
2
3#include <vector>
4#include "message_handler.hpp"
5
6namespace sol
7{
8
9namespace command
10{
11
12/** @brief SOL Payload Handler
13 *
14 * This command is used for activating and deactivating a payload type under a
15 * given IPMI session. The UDP Port number for SOL is the same as the port that
16 * was used to establish the IPMI session.
17 *
18 * @param[in] inPayload - Request data for the command.
19 * @param[in] handler - Reference to the message handler.
20 *
21 * @return Response data for the command.
22 */
23std::vector<uint8_t> payloadHandler(std::vector<uint8_t>& inPayload,
24 const message::Handler& handler);
25} // namespace command
26
27} // namespace sol