message_handler_error.cpp 775 B

1234567891011121314151617181920212223242526
  1. #include "message_handler_error.h"
  2. #include <util/system/yassert.h>
  3. using namespace NBus;
  4. using namespace NBus::NTest;
  5. void TBusClientHandlerError::OnError(TAutoPtr<TBusMessage>, EMessageStatus status) {
  6. Y_ABORT("must not be called, status: %s", ToString(status).data());
  7. }
  8. void TBusClientHandlerError::OnReply(TAutoPtr<TBusMessage>, TAutoPtr<TBusMessage>) {
  9. Y_ABORT("must not be called");
  10. }
  11. void TBusClientHandlerError::OnMessageSentOneWay(TAutoPtr<TBusMessage>) {
  12. Y_ABORT("must not be called");
  13. }
  14. void TBusServerHandlerError::OnError(TAutoPtr<TBusMessage>, EMessageStatus status) {
  15. Y_ABORT("must not be called, status: %s", ToString(status).data());
  16. }
  17. void TBusServerHandlerError::OnMessage(TOnMessageContext&) {
  18. Y_ABORT("must not be called");
  19. }