00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef __CODEX_QUORUM_RESPONSECALLBACK_H__
00019 #define __CODEX_QUORUM_RESPONSECALLBACK_H__
00020
00021 #include "Message.h"
00022
00023 namespace CODEX_Quorum
00024 {
00030 class ResponseCallback
00031 {
00032 public :
00034 virtual ~ResponseCallback() {}
00035
00042 virtual bool operator()( unsigned int server, Message* msg ) = 0;
00043
00045 virtual void fail() {}
00046 };
00047 }
00048
00049 #endif