#pragma once #include namespace NBus { namespace NTest { struct TBusClientHandlerError: public IBusClientHandler { void OnError(TAutoPtr pMessage, EMessageStatus status) override; void OnMessageSentOneWay(TAutoPtr pMessage) override; void OnReply(TAutoPtr pMessage, TAutoPtr pReply) override; }; struct TBusServerHandlerError: public IBusServerHandler { void OnError(TAutoPtr pMessage, EMessageStatus status) override; void OnMessage(TOnMessageContext& pMessage) override; }; } }