include/SugarSearchEngine/Elastic/Elastica/Transport/Abstract.php
Elastica Abstract Transport object
- Author
- Nicolas Ruflin
- Category
- Xodoa
- Package
- Elastica
\Elastica_Transport_Abstract
Package: Elastica
Elastica Abstract Transport object
- Children
- \Elastica_Transport_Memcache
- \Elastica_Transport_Http
- Author
- Nicolas Ruflin
- Category
- Xodoa
Properties
Methods
__construct(
\Elastica_Request $request
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$request | \Elastica_Request | Request object |
exec(
string $host, int $port
)
:
\Elastica_Response
abstract
Executes the transport request
Parameters
Returns
Name | Type | Description |
---|---|---|
$host | string | Hostname |
$port | int | Port number |
Type | Description |
---|---|
\Elastica_Response | Response object |
getRequest(
)
:
\Elastica_Request
Returns the request object
Returns
Type | Description |
---|---|
\Elastica_Request | Request object |