PHP Class Horde_Imap_Client_Socket_Connection_Socket, horde

NOTE: This class is NOT intended to be accessed outside of the package. There is NO guarantees that the API of this class will not change across versions.
Author: Michael Slusarz ([email protected])
Inheritance: extends Horde_Imap_Client_Socket_Connection_Base
Datei anzeigen Open project: horde/horde

Public Properties

Property Type Description
$client_debug boolean If false, does not outpt the current line of client output to debug.

Protected Properties

Property Type Description
$_buffer string Sending buffer.

Public Methods

Method Description
read ( integer $size = null ) : Horde_Imap_Client_Tokenize Read data from incoming IMAP stream.
write ( string $data, boolean $eol = false ) Writes data to the IMAP output stream.
writeLiteral ( mixed $data, integer $length, boolean $binary = false ) Writes literal data to the IMAP output stream.

Method Details

read() public method

Read data from incoming IMAP stream.
public read ( integer $size = null ) : Horde_Imap_Client_Tokenize
$size integer UNUSED: The number of bytes to read from the socket.
return Horde_Imap_Client_Tokenize The tokenized data.

write() public method

Writes data to the IMAP output stream.
public write ( string $data, boolean $eol = false )
$data string String data.
$eol boolean Append EOL?

writeLiteral() public method

Writes literal data to the IMAP output stream.
public writeLiteral ( mixed $data, integer $length, boolean $binary = false )
$data mixed Either a stream resource, or Horde_Stream object.
$length integer The literal length.
$binary boolean If true, this is binary data.

Property Details

$_buffer protected_oe property

Sending buffer.
protected string $_buffer
return string

$client_debug public_oe property

If false, does not outpt the current line of client output to debug.
public bool $client_debug
return boolean