00001 /* Copyright (C) GridGain Systems. All Rights Reserved. */ 00002 00003 /* _________ _____ __________________ _____ 00004 * __ ____/___________(_)______ /__ ____/______ ____(_)_______ 00005 * _ / __ __ ___/__ / _ __ / _ / __ _ __ `/__ / __ __ \ 00006 * / /_/ / _ / _ / / /_/ / / /_/ / / /_/ / _ / _ / / / 00007 * \____/ /_/ /_/ \_,__/ \____/ \__,_/ /_/ /_/ /_/ 00008 */ 00009 00010 #ifndef GRID_CLIENT_COMMAND_EXECUTOR_FACTORY_HPP_INCLUDED 00011 #define GRID_CLIENT_COMMAND_EXECUTOR_FACTORY_HPP_INCLUDED 00012 00013 #include "gridgain/gridclientprotocolconfiguration.hpp" 00014 #include "gridgain/impl/cmd/gridclientcommandexecutor.hpp" 00015 #include "gridgain/impl/connection/gridclientconnectionpool.hpp" 00016 00020 class GridClientCommandExecutorFactory { 00021 public: 00029 static boost::shared_ptr<GridClientCommandExecutor> createCommandExecutor( 00030 const GridClientProtocolConfiguration& protoCfg, boost::shared_ptr<GridClientConnectionPool>& pool); 00031 00032 private: 00034 GridClientCommandExecutorFactory(); 00035 00041 GridClientCommandExecutorFactory(const GridClientCommandExecutorFactory& other); 00042 00048 const GridClientCommandExecutorFactory& operator = (const GridClientCommandExecutorFactory& other); 00049 }; 00050 00051 #endif
1.7.1