#include <gridclienttcpcommandexecutor.hpp>
TCP command executor. Sends commands over HTTP transport.
| GridClientTcpCommandExecutor::GridClientTcpCommandExecutor | ( | boost::shared_ptr< GridClientConnectionPool > | connectionPool | ) | [inline] |
Public constructor.
| connectionPool | Connection pool to use. |
| void GridClientTcpCommandExecutor::executeGetCacheCmd | ( | const GridClientSocketAddress & | host, | |
| GridCacheRequestCommand & | cacheCmd, | |||
| GridClientMessageCacheGetResult & | rslt | |||
| ) | [virtual] |
Execute cache get command.
| nodeHost | Host/port to send command to. | |
| cacheCmd | Cache get request command. | |
| result | Cache get request result. |
Sends a cache get command to a remote host.
| host | Host/port pair to connect to. | |
| cacheCmd | Cache command to send. | |
| rslt | Cache get response message to fill. |
Implements GridClientCommandExecutor.
| void GridClientTcpCommandExecutor::executeGetCacheMetricsCmd | ( | const GridClientSocketAddress & | host, | |
| GridCacheRequestCommand & | cacheCmd, | |||
| GridClientMessageCacheMetricResult & | rslt | |||
| ) | [virtual] |
Execute cache metrics command.
| nodeHost | Host/port to send command to. | |
| cacheCmd | Cache metrics request command. | |
| result | Cache metrics request result. |
Sends a cache metrics command to a remote host.
| host | Host/port pair to connect to. | |
| cacheCmd | Cache metrics command to send. | |
| rslt | Cache metrics response message to fill. |
Implements GridClientCommandExecutor.
| void GridClientTcpCommandExecutor::executeLogCmd | ( | const GridClientSocketAddress & | host, | |
| GridLogRequestCommand & | logCmd, | |||
| GridClientMessageLogResult & | rslt | |||
| ) | [virtual] |
Execute log command.
| nodeHost | Host/port to send command to. | |
| logRequest | Log request command. | |
| result | Log request result. |
Sends a log command to a remote host.
| host | Host/port pair to connect to. | |
| logCmd | Log command to send. | |
| rslt | Log response message to fill. |
Implements GridClientCommandExecutor.
| void GridClientTcpCommandExecutor::executeModifyCacheCmd | ( | const GridClientSocketAddress & | host, | |
| GridCacheRequestCommand & | cacheCmd, | |||
| GridClientMessageCacheModifyResult & | rslt | |||
| ) | [virtual] |
Execute cache modify command.
| nodeHost | Host/port to send command to. | |
| cacheCmd | Cache modify request command. | |
| result | Cache modify request result. |
Sends a cache modify command to a remote host.
| host | Host/port pair to connect to. | |
| cacheCmd | Cache modify command to send. | |
| rslt | Cache modify response message to fill. |
Implements GridClientCommandExecutor.
| void GridClientTcpCommandExecutor::executeTaskCmd | ( | const GridClientSocketAddress & | host, | |
| GridTaskRequestCommand & | taskCmd, | |||
| GridClientMessageTaskResult & | rslt | |||
| ) | [virtual] |
Execute task command.
| nodeHost | Host/port to send command to. | |
| taskCmd | task request command. | |
| result | task request result. |
Sends a task command to a remote host.
| host | Host/port pair to connect to. | |
| taskCmd | task command to send. | |
| rslt | Task response message to fill. |
Implements GridClientCommandExecutor.
| void GridClientTcpCommandExecutor::executeTopologyCmd | ( | const GridClientSocketAddress & | host, | |
| GridTopologyRequestCommand & | topCmd, | |||
| GridClientMessageTopologyResult & | rslt | |||
| ) | [virtual] |
Execute topology command.
| nodeHost | Host/port to send command to. | |
| topologyRequest | Topology request command. | |
| result | Topology request result. |
Sends a topology command to a remote host.
| host | Host/port pair to connect to. | |
| topCmd | Topology command to send. | |
| rslt | Topology response message to fill. |
Implements GridClientCommandExecutor.
| void GridClientTcpCommandExecutor::stop | ( | ) | [virtual] |
Stops the command executor freeing all resources and closing all connections.
Implements GridClientCommandExecutorPrivate.
1.7.1