Method | Description | |
---|---|---|
getProtocol ( ) | Returns the protocol processor used by the connection. | |
readBuffer ( integer $length ) : string | Reads the given number of bytes from the connection. | |
readLine ( ) | Reads a line from the connection. | |
writeBuffer ( string $buffer ) | Writes the buffer containing over the connection. |
public getProtocol ( ) |
public readBuffer ( integer $length ) : string | ||
$length | integer | |
return | string |
public writeBuffer ( string $buffer ) | ||
$buffer | string | String buffer to be sent over the connection. |