Tom Joseph | 64b3dec | 2017-04-03 01:53:44 +0530 | [diff] [blame^] | 1 | #pragma once |
| 2 | |
| 3 | #include <vector> |
| 4 | #include "message_handler.hpp" |
| 5 | |
| 6 | namespace sol |
| 7 | { |
| 8 | |
| 9 | namespace 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 | */ |
| 23 | std::vector<uint8_t> payloadHandler(std::vector<uint8_t>& inPayload, |
| 24 | const message::Handler& handler); |
| 25 | } // namespace command |
| 26 | |
| 27 | } // namespace sol |