PHP 클래스 Pheanstalk\Socket\NativeSocket

저자: Paul Annesley
상속: implements Pheanstalk\Socket
파일 보기 프로젝트 열기: pda/pheanstalk

공개 메소드들

메소드 설명
__construct ( string $host, integer $port, integer $connectTimeout, boolean $connectPersistent )
disconnect ( )
getLine ( $length = null ) * (non-phpdoc)
read ( $length ) * (non-phpdoc)
write ( $data ) * (non-phpdoc)

비공개 메소드들

메소드 설명
_wrapper ( ) Wrapper class for all stream functions.

메소드 상세

__construct() 공개 메소드

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

disconnect() 공개 메소드

public disconnect ( )

getLine() 공개 메소드

* (non-phpdoc)
또한 보기: Socket::write()
public getLine ( $length = null )

read() 공개 메소드

* (non-phpdoc)
또한 보기: Socket::write()
public read ( $length )

write() 공개 메소드

* (non-phpdoc)
또한 보기: Socket::write()
public write ( $data )