message_handler_error.h 681 B

12345678910111213141516171819
  1. #pragma once
  2. #include <library/cpp/messagebus/ybus.h>
  3. namespace NBus {
  4. namespace NTest {
  5. struct TBusClientHandlerError: public IBusClientHandler {
  6. void OnError(TAutoPtr<TBusMessage> pMessage, EMessageStatus status) override;
  7. void OnMessageSentOneWay(TAutoPtr<TBusMessage> pMessage) override;
  8. void OnReply(TAutoPtr<TBusMessage> pMessage, TAutoPtr<TBusMessage> pReply) override;
  9. };
  10. struct TBusServerHandlerError: public IBusServerHandler {
  11. void OnError(TAutoPtr<TBusMessage> pMessage, EMessageStatus status) override;
  12. void OnMessage(TOnMessageContext& pMessage) override;
  13. };
  14. }
  15. }