PHP Class Pheanstalk\Socket\NativeSocket

Author: Paul Annesley
Inheritance: implements Pheanstalk\Socket
Show file Open project: pda/pheanstalk

Public Methods

Method Description
__construct ( string $host, integer $port, integer $connectTimeout, boolean $connectPersistent )
disconnect ( )
getLine ( $length = null ) * (non-phpdoc)
read ( $length ) * (non-phpdoc)
write ( $data ) * (non-phpdoc)

Private Methods

Method Description
_wrapper ( ) Wrapper class for all stream functions.

Method Details

__construct() public method

public __construct ( string $host, integer $port, integer $connectTimeout, boolean $connectPersistent )
$host string
$port integer
$connectTimeout integer
$connectPersistent boolean

disconnect() public method

public disconnect ( )

getLine() public method

* (non-phpdoc)
See also: Socket::write()
public getLine ( $length = null )

read() public method

* (non-phpdoc)
See also: Socket::write()
public read ( $length )

write() public method

* (non-phpdoc)
See also: Socket::write()
public write ( $data )