i_postsendlistener.h

来自「java开源的企业总线.xmlBlaster」· C头文件 代码 · 共 39 行

H
39
字号
/*------------------------------------------------------------------------------Name:      I_PostSendListener.hProject:   xmlBlaster.orgCopyright: xmlBlaster.org, see xmlBlaster-LICENSE fileComment:   Is called when asynchronously messages are send from the client side queue------------------------------------------------------------------------------*/#ifndef I_POSTSENDLISTENER_#define I_POSTSENDLISTENER_#include <util/xmlBlasterDef.h>#include <util/queue/MsgQueueEntry.h>namespace org { namespace xmlBlaster { namespace util { namespace dispatch {/** * Notify when a message is successfully send asynchronously.  * Does not notify for oneway messages (PUBLISH_ONEWAY, UPDATE_ONEWAY)  * Is called when asynchronously messages are send from the client side queue * This is a pure virtual class. * <p /> * @author Marcel Ruff */class Dll_Export I_PostSendListener{public:   virtual ~I_PostSendListener() {}   /**    * Called after a messages is send, but not for oneway messages.     * @param msgQueueEntry, includes the returned QoS    */   virtual void postSend(const org::xmlBlaster::util::queue::MsgQueueEntry &msgQueueEntry) = 0;};}}}} // namespaces#endif /*I_POSTSENDLISTENER_*/

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?