Function sub_add_receive_callback

Function Documentation

ECAL_API bool sub_add_receive_callback(ECAL_HANDLE handle_, const ReceiveCallbackCT callback_, void *par_)

Add callback function for incoming receives.

Parameters
  • handle_ – Subscriber handle.

  • callback_ – The callback function to add.

  • par_ – User defined context that will be forwarded to the callback function.

Returns

True if succeeded.