implement async handlers for all requester commands

this commit makes use of 74f27c730ef3925a0f2a3adfaa04f8790f931372 to
convert the existing blocking requester commands in pldm to async
ones.
this is tested with Host code and seems to work fine

Change-Id: I8d4762c3cd5bce49f854b30f8325bfcd1dcb4ff9
Signed-off-by: Sampa Misra <sampmisr@in.ibm.com>
diff --git a/oem/ibm/libpldmresponder/platform_oem_ibm.hpp b/oem/ibm/libpldmresponder/platform_oem_ibm.hpp
index 639f1d5..6f3a320 100644
--- a/oem/ibm/libpldmresponder/platform_oem_ibm.hpp
+++ b/oem/ibm/libpldmresponder/platform_oem_ibm.hpp
@@ -1,6 +1,7 @@
 #pragma once

 

 #include "pldmd/dbus_impl_requester.hpp"

+#include "requester/handler.hpp"

 

 #include <vector>

 

@@ -18,14 +19,15 @@
  *  PLDM_EVENT_TYPE_OEM_EVENT_BIOS_ATTRIBUTE_UPDATE is send to host with the

  *  list of BIOS attribute handles.

  *

- *  @param[in] fd - socket descriptor to communicate to host

  *  @param[in] eid - MCTP EID of host firmware

  *  @param[in] requester - pointer to Requester object

  *  @param[in] handles - List of BIOS attribute handles

+ *  @param[in] handler - PLDM request handler

  */

-int sendBiosAttributeUpdateEvent(int fd, uint8_t eid,

-                                 dbus_api::Requester* requester,

-                                 const std::vector<uint16_t>& handles);

+int sendBiosAttributeUpdateEvent(

+    uint8_t eid, dbus_api::Requester* requester,

+    const std::vector<uint16_t>& handles,

+    pldm::requester::Handler<pldm::requester::Request>* handler);

 

 } // namespace platform