Public Member Functions

GridClientCommandExecutor Class Reference

#include <gridclientcommandexecutor.hpp>

Inheritance diagram for GridClientCommandExecutor:
GridClientCommandExecutorPrivate GridClientHttpCommandExecutor GridClientTcpCommandExecutor

List of all members.

Public Member Functions

virtual ~GridClientCommandExecutor ()
virtual void executeLogCmd (const GridClientSocketAddress &nodeHost, GridLogRequestCommand &logRequest, GridClientMessageLogResult &result)=0
virtual void executeTopologyCmd (const GridClientSocketAddress &nodeHost, GridTopologyRequestCommand &topologyRequest, GridClientMessageTopologyResult &result)=0
virtual void executeGetCacheCmd (const GridClientSocketAddress &nodeHost, GridCacheRequestCommand &cacheCmd, GridClientMessageCacheGetResult &result)=0
virtual void executeModifyCacheCmd (const GridClientSocketAddress &nodeHost, GridCacheRequestCommand &cacheCmd, GridClientMessageCacheModifyResult &result)=0
virtual void executeGetCacheMetricsCmd (const GridClientSocketAddress &nodeHost, GridCacheRequestCommand &cacheCmd, GridClientMessageCacheMetricResult &result)=0
virtual void executeTaskCmd (const GridClientSocketAddress &nodeHost, GridTaskRequestCommand &taskCmd, GridClientMessageTaskResult &result)=0

Detailed Description

Generic command executor class. Currently is implemented with TCP and HTTP executors.


Constructor & Destructor Documentation

virtual GridClientCommandExecutor::~GridClientCommandExecutor (  )  [inline, virtual]

Virtual destructor.


Member Function Documentation

virtual void GridClientCommandExecutor::executeGetCacheCmd ( const GridClientSocketAddress &  nodeHost,
GridCacheRequestCommand &  cacheCmd,
GridClientMessageCacheGetResult &  result 
) [pure virtual]

Execute cache get command.

Parameters:
nodeHost Host/port to send command to.
cacheCmd Cache get request command.
result Cache get request result.

Implemented in GridClientHttpCommandExecutor, and GridClientTcpCommandExecutor.

virtual void GridClientCommandExecutor::executeGetCacheMetricsCmd ( const GridClientSocketAddress &  nodeHost,
GridCacheRequestCommand &  cacheCmd,
GridClientMessageCacheMetricResult &  result 
) [pure virtual]

Execute cache metrics command.

Parameters:
nodeHost Host/port to send command to.
cacheCmd Cache metrics request command.
result Cache metrics request result.

Implemented in GridClientHttpCommandExecutor, and GridClientTcpCommandExecutor.

virtual void GridClientCommandExecutor::executeLogCmd ( const GridClientSocketAddress &  nodeHost,
GridLogRequestCommand &  logRequest,
GridClientMessageLogResult &  result 
) [pure virtual]

Execute log command.

Parameters:
nodeHost Host/port to send command to.
logRequest Log request command.
result Log request result.

Implemented in GridClientHttpCommandExecutor, and GridClientTcpCommandExecutor.

virtual void GridClientCommandExecutor::executeModifyCacheCmd ( const GridClientSocketAddress &  nodeHost,
GridCacheRequestCommand &  cacheCmd,
GridClientMessageCacheModifyResult &  result 
) [pure virtual]

Execute cache modify command.

Parameters:
nodeHost Host/port to send command to.
cacheCmd Cache modify request command.
result Cache modify request result.

Implemented in GridClientHttpCommandExecutor, and GridClientTcpCommandExecutor.

virtual void GridClientCommandExecutor::executeTaskCmd ( const GridClientSocketAddress &  nodeHost,
GridTaskRequestCommand &  taskCmd,
GridClientMessageTaskResult &  result 
) [pure virtual]

Execute task command.

Parameters:
nodeHost Host/port to send command to.
taskCmd task request command.
result task request result.

Implemented in GridClientHttpCommandExecutor, and GridClientTcpCommandExecutor.

virtual void GridClientCommandExecutor::executeTopologyCmd ( const GridClientSocketAddress &  nodeHost,
GridTopologyRequestCommand &  topologyRequest,
GridClientMessageTopologyResult &  result 
) [pure virtual]

Execute topology command.

Parameters:
nodeHost Host/port to send command to.
topologyRequest Topology request command.
result Topology request result.

Implemented in GridClientHttpCommandExecutor, and GridClientTcpCommandExecutor.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends