aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/messagebus/test/helper/message_handler_error.h
blob: 13097b771d6458f78a32579d5b91357b0480eb44 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#pragma once

#include <library/cpp/messagebus/ybus.h>

namespace NBus { 
    namespace NTest { 
        struct TBusClientHandlerError: public IBusClientHandler { 
            void OnError(TAutoPtr<TBusMessage> pMessage, EMessageStatus status) override; 
            void OnMessageSentOneWay(TAutoPtr<TBusMessage> pMessage) override; 
            void OnReply(TAutoPtr<TBusMessage> pMessage, TAutoPtr<TBusMessage> pReply) override; 
        }; 

        struct TBusServerHandlerError: public IBusServerHandler { 
            void OnError(TAutoPtr<TBusMessage> pMessage, EMessageStatus status) override; 
            void OnMessage(TOnMessageContext& pMessage) override; 
        }; 

    } 
}