Lines Matching full:payload
97 * @brief a payload class that provides a mechanism to pack and unpack data
99 * When a new request is being executed, the Payload class is responsible for
102 * Payload object, which will then allow the remaining data to be extracted as
106 * newly created payload object to pack all the parameters into a buffer that is
112 struct Payload struct
114 Payload() = default;
115 Payload(const Payload&) = default;
116 Payload& operator=(const Payload&) = default;
117 Payload(Payload&&) = default;
118 Payload& operator=(Payload&&) = default;
120 explicit Payload(SecureBuffer&& data) : raw(std::move(data)) {} in Payload() argument
122 ~Payload() in ~Payload() argument
273 * @brief Prepends another payload to this one
276 * front of the response payload.
278 * @param p - The payload to prepend
282 int prepend(const ipmi::message::Payload& p) in prepend() argument
517 payload(), ctx(context), cc(ccSuccess) in Response()
521 * @brief pack arbitrary values (of any supported type) into the payload
532 return payload.pack(std::forward<Args>(args)...); in pack()
536 * @brief pack a tuple of values (of any supported type) into the payload
550 return payload.pack(t); in pack()
554 * @brief Prepends another payload to this one
557 * front of the response payload.
559 * @param p - The payload to prepend
563 int prepend(const ipmi::message::Payload& p) in prepend()
565 return payload.prepend(p); in prepend()
568 Payload payload; member
598 payload(std::forward<SecureBuffer>(d)), ctx(context) in Request()
602 * @brief unpack arbitrary values (of any supported type) from the payload
613 int unpackRet = payload.unpack(std::forward<Args>(args)...); in unpack()
619 if (!payload.trailingOk) in unpack()
621 if (!payload.fullyUnpacked()) in unpack()
631 * @brief unpack a tuple of values (of any supported type) from the payload
658 Payload payload; member