[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/lib/horde/framework/Horde/Socket/ -> Client.php (summary)

Copyright 2013-2014 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.

Copyright: 2013-2014 Horde LLC
License: http://www.horde.org/licenses/lgpl21 LGPL 2.1
File Size: 212 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Client:: (7 methods):
  __construct()
  __get()
  __clone()
  __sleep()
  startTls()
  close()
  _connect()


Class: Client  - X-Ref

Utility interface for establishing a stream socket client.

__construct($host, $port, $timeout = 30, $secure = false, array $params = array()   X-Ref
Constructor.

param: string $host      Hostname of remote server.
param: integer $port     Port number of remote server.
param: integer $timeout  Connection timeout (in seconds).
param: mixed $secure     Security layer requested. One of:
param: array $params     Additional options.

__get($name)   X-Ref
No description

__clone()   X-Ref
This object can not be cloned.


__sleep()   X-Ref
This object can not be serialized.


startTls()   X-Ref
Start a TLS connection.

return: boolean  Whether TLS was successfully started.

close()   X-Ref
Close the connection.


_connect($host, $port, $timeout, $secure, $retries = 0)   X-Ref
Connect to the remote server.




Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1