Home
last modified time | relevance | path

Searched refs:connection (Results 1 – 25 of 221) sorted by relevance

123456789

/plugin/swiftmail/Swift/Authenticator/
H A D@PopB4Smtp.php23 protected $connection = null; variable in Swift_Authenticator_PopB4Smtp
32 if (is_object($conn)) $this->connection = $conn;
56 $this->connection->start();
57 $this->connection->assertOk($this->connection->read());
58 $this->connection->write("USER " . $user);
59 $this->connection->assertOk($this->connection->read());
60 $this->connection->write("PASS " . $pass);
61 $this->connection->assertOk($this->connection->read());
62 $this->connection->write("QUIT");
63 $this->connection->assertOk($this->connection->read());
[all …]
/plugin/openid/Auth/OpenID/
H A DMDB2Store.php52 * @param connection $connection This must be an established
65 function Auth_OpenID_MDB2Store($connection, argument
74 if (!is_object($connection) ||
82 $this->connection = $connection;
125 switch ($this->connection->phptype) {
130 $r = $this->connection->exec(
195 switch ($this->connection->phptype) {
306 return $this->connection->exec(
313 return $this->connection->exec(
359 $r = $this->connection->execParam(
[all …]
H A DSQLStore.php64 * @param connection $connection This must be an established
87 if (!(is_object($connection) &&
89 is_subclass_of($connection,
97 $this->connection = $connection;
345 $this->connection->commit();
347 $this->connection->rollback();
389 $this->connection->commit();
391 $this->connection->rollback();
463 $this->connection->commit();
543 $this->connection->commit();
[all …]
H A DMemcachedStore.php46 $this->connection = $connection;
64 $serverAssociations = $this->connection->get($serverKey);
74 $this->connection->set(
80 $this->connection->set(
96 $association = $this->connection->get(
106 $serverAssociations = $this->connection->get($serverKey);
118 $association = $this->connection->get($lastKey);
134 $serverAssociations = $this->connection->get($serverKey);
151 $this->connection->set(
158 return $this->connection->delete($associationKey);
[all …]
/plugin/fedauth/Auth/OpenID/
H A DMDB2Store.php52 * @param connection $connection This must be an established
65 function Auth_OpenID_MDB2Store($connection, argument
74 if (!is_object($connection) ||
82 $this->connection = $connection;
125 switch ($this->connection->phptype) {
130 $r = $this->connection->exec(
195 switch ($this->connection->phptype) {
306 return $this->connection->exec(
313 return $this->connection->exec(
359 $r = $this->connection->execParam(
[all …]
H A DSQLStore.php64 * @param connection $connection This must be an established
87 if (!(is_object($connection) &&
89 is_subclass_of($connection,
97 $this->connection = $connection;
345 $this->connection->commit();
347 $this->connection->rollback();
389 $this->connection->commit();
391 $this->connection->rollback();
463 $this->connection->commit();
543 $this->connection->commit();
[all …]
H A DMemcachedStore.php46 $this->connection = $connection;
64 $serverAssociations = $this->connection->get($serverKey);
74 $this->connection->set(
80 $this->connection->set(
96 $association = $this->connection->get(
106 $serverAssociations = $this->connection->get($serverKey);
118 $association = $this->connection->get($lastKey);
134 $serverAssociations = $this->connection->get($serverKey);
151 $this->connection->set(
158 return $this->connection->delete($associationKey);
[all …]
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/src/Elasticsearch/ConnectionPool/
H A DStaticConnectionPool.php58 if ($connection->isAlive() === true) {
59 return $connection;
62 if ($this->readyToRevive($connection) === true) {
63 if ($connection->ping() === true) {
64 return $connection;
67 $skipped[] = $connection;
72 foreach ($skipped as $connection) {
73 if ($connection->ping() === true) {
74 return $connection;
83 foreach ($this->connections as $connection) {
[all …]
H A DSniffingConnectionPool.php60 $connection = $this->selector->select($this->connections);
61 if ($connection->isAlive() === true || $connection->ping() === true) {
62 return $connection;
90 $connection = $this->selector->select($this->connections);
92 if ($connection->isAlive() xor $force) {
96 if ($this->sniffConnection($connection) === true) {
105 foreach ($this->seedConnections as $connection) {
106 if ($this->sniffConnection($connection) === true) {
112 private function sniffConnection(Connection $connection): bool argument
115 $response = $connection->sniff();
[all …]
H A DStaticNoPingConnectionPool.php54 $connection = $this->selector->select($this->connections);
55 if ($connection->isAlive() === true) {
56 return $connection;
59 if ($this->readyToRevive($connection) === true) {
60 return $connection;
71 private function readyToRevive(Connection $connection): bool argument
74 $this->pingTimeout * pow(2, $connection->getPingFailures()),
78 if ($connection->getLastPing() + $timeout < time()) {
/plugin/elasticsearch/vendor/ruflin/elastica/src/Transport/
H A DGuzzle.php52 $connection = $this->getConnection();
57 'base_uri' => $this->_getBaseUrl($connection),
64 if ($connection->getTimeout()) {
68 if (null !== $proxy = $connection->getProxy()) {
72 $req = $this->_createPsr7Request($request, $connection);
85 if ($connection->hasConfig('bigintConversion')) {
115 $connection->hasConfig('headers') && \is_array($connection->getConfig('headers'))
116 ? $connection->getConfig('headers')
157 $url = $connection->hasConfig('url') ? $connection->getConfig('url') : '';
164 'host' => $connection->getHost(),
[all …]
H A DAwsAuthV4.php32 protected function _getBaseUrl(Connection $connection): string argument
36 return parent::_getBaseUrl($connection);
75 $connection = $this->getConnection(); variable in Elastica\\Transport\\AwsAuthV4
77 if ($connection->hasParam('aws_credential_provider')) {
81 if ($connection->hasParam('aws_secret_access_key')) {
83 $connection->getParam('aws_access_key_id'),
85 $connection->hasParam('aws_session_token')
96 $connection = $this->getConnection();
97 if (true === $this->isSslRequired($connection)) {
99 $connection->setPort(443);
[all …]
H A DHttp.php50 $connection = $this->getConnection();
52 $conn = $this->_getConnection($connection->isPersistent());
55 $url = $connection->hasConfig('url') ? $connection->getConfig('url') : '';
60 …$baseUri = $this->_scheme.'://'.$connection->getHost().':'.$connection->getPort().'/'.$connection-…
88 $connectTimeoutMs = $connection->getConnectTimeout() * 1000;
96 if (null !== $proxy = $connection->getProxy()) {
100 $username = $connection->getUsername();
101 $password = $connection->getPassword();
109 $headersConfig = $connection->hasConfig('headers') ? $connection->getConfig('headers') : [];
139 if ($connection->hasCompression()) {
[all …]
H A DHttpAdapter.php38 public function __construct(?Connection $connection, HttpAdapterInterface $httpAdapter) argument
40 parent::__construct($connection);
57 $connection = $this->getConnection();
59 if ($timeout = $connection->getTimeout()) {
63 $httpAdapterRequest = $this->_createHttpAdapterRequest($elasticaRequest, $connection);
95 …createHttpAdapterRequest(ElasticaRequest $elasticaRequest, Connection $connection): HttpAdapterReq… argument
100 $headers = $connection->hasConfig('headers') ?: [];
118 $url = $this->_getUri($elasticaRequest, $connection);
124 protected function _getUri(ElasticaRequest $request, Connection $connection): string argument
126 $url = $connection->hasConfig('url') ? $connection->getConfig('url') : '';
[all …]
H A DAbstractTransport.php28 public function __construct(?Connection $connection = null) argument
30 if ($connection) {
31 $this->setConnection($connection);
43 public function setConnection(Connection $connection): AbstractTransport argument
45 $this->_connection = $connection;
91 * @param Connection $connection A connection instance
96 …public static function create($transport, Connection $connection, array $params = []): AbstractTra… argument
123 $transport->setConnection($connection);
/plugin/authgoogle/google/cache/
H A DGoogle_MemcacheCache.php27 private $connection = false; variable in Google_MemcacheCache
43 if ((@memcache_get($this->connection, $key . '.lock')) === false) {
53 @memcache_add($this->connection, $key . '.lock', '', 0, 5);
59 @memcache_delete($this->connection, $key . '.lock');
81 if (! $this->connection = @memcache_pconnect($this->host, $this->port)) {
87 if (! $this->connection) {
97 if (($ret = @memcache_get($this->connection, $key)) === false) {
116 if (@memcache_set($this->connection, $key, array('time' => time(),
128 @memcache_delete($this->connection, $key);
/plugin/jplayer/vendor/james-heinrich/getid3/getid3/
H A Dextension.cache.mysql.php84 private $connection; variable in getID3_cached_mysql
112 $this->connection = mysql_pconnect($host, $username, $password);
113 if (!$this->connection) {
118 if (!mysql_select_db($database, $this->connection)) {
136 if ($this->cursor = mysql_query($SQLquery, $this->connection)) {
153 …ursor = mysql_query('DELETE FROM `'.mysql_real_escape_string($this->table).'`', $this->connection);
154 …ble).'` VALUES (\''.getID3::VERSION.'\', -1, -1, -1, \''.getID3::VERSION.'\')', $this->connection);
184 $this->cursor = mysql_query($SQLquery, $this->connection);
203 $this->cursor = mysql_query($SQLquery, $this->connection);
224 $this->cursor = mysql_query($SQLquery, $this->connection);
[all …]
/plugin/swiftmail/Swift/Events/
H A DDisconnectEvent.php24 protected $connection = null; variable in Swift_Events_DisconnectEvent
30 public function __construct(Swift_Connection $connection) argument
32 $this->connection = $connection;
40 return $this->connection;
H A DConnectEvent.php24 protected $connection = null; variable in Swift_Events_ConnectEvent
30 public function __construct(Swift_Connection $connection) argument
32 $this->connection = $connection;
40 return $this->connection;
/plugin/elasticsearch/vendor/ruflin/elastica/src/Connection/
H A DConnectionPool.php43 public function addConnection(Connection $connection): self argument
45 $this->_connections[] = $connection;
64 foreach ($this->_connections as $connection) {
65 if ($connection->isEnabled()) {
89 public function onFail(Connection $connection, Exception $e, Client $client): void argument
91 $connection->setEnabled(false);
94 ($this->_callback)($connection, $e, $client);
/plugin/elasticsearch/vendor/ruflin/elastica/src/Connection/Strategy/
H A DSimple.php20 foreach ($connections as $connection) {
21 if ($connection->isEnabled()) {
22 return $connection;
/plugin/sqlcomp/
H A Dsyntax.php387 $rs = odbc_exec($connection,$Query);
393 odbc_close($connection);
406 pg_close($connection);
412 if(!$connection = mysqli_connect($Server, $User, $Pass) or false)
415 if (!mysqli_select_db($connection, $Database))
416 throw new Exception(mysqli_error($connection));
418 $rs = mysqli_query($connection, $Query);
428 mysqli_close($connection);
456 if(!$connection = oci_connect($User, $Pass, $Server) or false)
460 $rs = oci_parse($connection, $Query);
[all …]
/plugin/elasticsearch/vendor/ruflin/elastica/src/
H A DRequest.php38 …tring $method = self::GET, $data = [], array $query = [], ?Connection $connection = null, string $… argument
45 if ($connection) {
46 $this->setConnection($connection);
135 public function setConnection(Connection $connection) argument
137 $this->_connection = $connection;
/plugin/swiftmail/Swift/Plugin/
H A DConnectionRotator.php76 if (!method_exists($e->getSwift()->connection, "nextConnection"))
82 $this->used[] = $e->getSwift()->connection->getActive();
87 $e->getSwift()->connection->nextConnection();
88 if (!in_array(($id = $e->getSwift()->connection->getActive()), $this->used))
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/docs/build/Elasticsearch/Namespaces/
H A DSnapshotNamespace.asciidoc42 $params['master_timeout'] = (time) Explicit operation timeout for connection to master node
59 $params['master_timeout'] = (time) Explicit operation timeout for connection to master node
75 $params['master_timeout'] = (time) Explicit operation timeout for connection to master node
91 $params['master_timeout'] = (time) Explicit operation timeout for connection to master node
109 $params['master_timeout'] = (time) Explicit operation timeout for connection to master node
137 $params['master_timeout'] = (time) Explicit operation timeout for connection to master node
153 $params['master_timeout'] = (time) Explicit operation timeout for connection to master node
169 $params['master_timeout'] = (time) Explicit operation timeout for connection to master node
186 $params['master_timeout'] = (time) Explicit operation timeout for connection to master node
201 $params['master_timeout'] = (time) Explicit operation timeout for connection to master node

123456789