00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef PEEKABOT_CLIENT_CLIENT_EXECUTION_CONTEXT_HH_INCLUDED
00012 #define PEEKABOT_CLIENT_CLIENT_EXECUTION_CONTEXT_HH_INCLUDED
00013
00014
00015 #include <string>
00016 #include <boost/cstdint.hpp>
00017
00018 #include "../Any.hh"
00019 #include "Status.hh"
00020
00021
00022 namespace peekabot
00023 {
00024 namespace client
00025 {
00026 class ClientImpl;
00027
00028 class ClientExecutionContext
00029 {
00030 protected:
00031 ClientImpl *m_client;
00032
00033 public:
00034 ClientExecutionContext(ClientImpl *client) throw();
00035
00036 void report_action_status(
00037 boost::uint32_t request_id,
00038 OperationOutcome outcome,
00039 const std::string &error_msg) throw();
00040
00041 void report_action_result(
00042 boost::uint32_t request_id,
00043 const Any &result) throw();
00044 };
00045 }
00046 }
00047
00048
00049 #endif // PEEKABOT_CLIENT_CLIENT_EXECUTION_CONTEXT_HH_INCLUDED