00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef GRID_CLIENT_COMMMAND_EXECUTOR_HPP_INCLUDED
00011 #define GRID_CLIENT_COMMMAND_EXECUTOR_HPP_INCLUDED
00012
00013 #include "gridgain/impl/connection/gridclientconnection.hpp"
00014 #include "gridgain/impl/cmd/gridclientmessagetopologyrequestcommand.hpp"
00015 #include "gridgain/impl/cmd/gridclientmessagetopologyresult.hpp"
00016 #include "gridgain/impl/cmd/gridclientmessagelogrequestcommand.hpp"
00017 #include "gridgain/impl/cmd/gridclientmessagelogresult.hpp"
00018 #include "gridgain/impl/cmd/gridclientmessagecacherequestcommand.hpp"
00019 #include "gridgain/impl/cmd/gridclientmessagecacheresult.hpp"
00020 #include "gridgain/impl/cmd/gridclientmessagecachemodifyresult.hpp"
00021 #include "gridgain/impl/cmd/gridclientmessagecachemetricsresult.hpp"
00022 #include "gridgain/impl/cmd/gridclientmessagecachegetresult.hpp"
00023 #include "gridgain/impl/cmd/gridclientmessagetaskrequestcommand.hpp"
00024 #include "gridgain/impl/cmd/gridclientmessagetaskresult.hpp"
00025 #include "gridgain/gridsocketaddress.hpp"
00026
00030 class GridClientCommandExecutor {
00031 public:
00033 virtual ~GridClientCommandExecutor() {}
00034
00042 virtual void executeLogCmd(const GridClientSocketAddress& nodeHost,
00043 GridLogRequestCommand& logRequest, GridClientMessageLogResult& result) = 0;
00044
00052 virtual void executeTopologyCmd(const GridClientSocketAddress& nodeHost,
00053 GridTopologyRequestCommand& topologyRequest, GridClientMessageTopologyResult& result) = 0;
00054
00062 virtual void executeGetCacheCmd(const GridClientSocketAddress& nodeHost,
00063 GridCacheRequestCommand& cacheCmd, GridClientMessageCacheGetResult& result) = 0;
00064
00072 virtual void executeModifyCacheCmd(const GridClientSocketAddress& nodeHost,
00073 GridCacheRequestCommand& cacheCmd, GridClientMessageCacheModifyResult& result) = 0;
00074
00082 virtual void executeGetCacheMetricsCmd(const GridClientSocketAddress& nodeHost,
00083 GridCacheRequestCommand& cacheCmd, GridClientMessageCacheMetricResult& result) = 0;
00084
00092 virtual void executeTaskCmd(const GridClientSocketAddress& nodeHost,
00093 GridTaskRequestCommand& taskCmd, GridClientMessageTaskResult& result) = 0;
00094 };
00095
00096 #endif