// ABCSHandlers.h: interface for the ABCSHandlers class. // ////////////////////////////////////////////////////////////////////// #if !defined(AFX_ABCSHANDLERS_H__4645BD49_A1E3_11D3_9D28_0000F80788FD__INCLUDED_) #define AFX_ABCSHANDLERS_H__4645BD49_A1E3_11D3_9D28_0000F80788FD__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #include "rtrapi.h" class ABCSHandlers : public RTRServerMessageHandler, public RTRServerEventHandler { public: ABCSHandlers(); virtual ~ABCSHandlers(); /* These are RTR defined functions that we are overriding. */ rtr_status_t OnInitialize( RTRApplicationMessage *pRTRData, RTRServerTransactionController *pController ); rtr_status_t OnPrepareTransaction( RTRMessage *pRTRMessage, RTRServerTransactionController *pController ); rtr_status_t OnAccepted( RTRMessage *pRTRMessage, RTRServerTransactionController *pController); rtr_status_t OnRejected( RTRMessage *pRTRMessage, RTRServerTransactionController *pController); /* These are ABC defined functions. */ void OnABCOrderNotProcessed(); private: bool m_bVoteToAccept; }; #endif // !defined(AFX_ABCSHANDLERS_H__4645BD49_A1E3_11D3_9D28_0000F80788FD__INCLUDED_)