Class Horde_Imsp_Client_Base
The Horde_Imsp_Client base class.
Copyright 2003-2012 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.
Direct known subclasses
Horde_Imsp_Client_Socket
Abstract
Package: Horde\Imsp
Author: Michael Rubinsky mrubinsk@horde.org
Located at Horde/Imsp/Client/Base.php
Package: Horde\Imsp
Author: Michael Rubinsky mrubinsk@horde.org
Located at Horde/Imsp/Client/Base.php
public
|
#
__construct( array $params )
Constructor function. Required parameters: authObj <Horde_Imsp_Auth> The object to handle the authentication |
public static
string
|
#
quoteSpacedString( string $string )
Determines if a string needs to be quoted before sending to the server. |
abstract public
|
|
abstract public
string
|
|
abstract public
|
|
abstract public
mixed
|
|
abstract public
array
|
#
getServerResponseChunks( )
Retrieves CRLF terminated response from server and splits it into
an array delimited by a |
abstract public
string
|
#
receiveStringLiteral( integer $length )
Receives fixed number of bytes from IMSP socket. Used when server returns a string literal. |
abstract public
boolean
|
string |
OCTET_COUNT
|
#
'/({)([0-9]{1,})(\}$)/'
|
string |
MUST_USE_LITERAL
|
#
'/[\x80-\xFF\\r\\n\"\\\\]/'
|
string |
MUST_QUOTE
|
#
'/[\W]/i'
|
public
string
|
$host
String containing name/IP address of IMSP host. |
#
'localhost'
|
public
string
|
$port
String containing port for IMSP server. |
#
'406'
|
public
string
|
$lastRawError
String buffer containing the last raw NO or BAD response from the server. |
|
public
Horde_Log_Logger
|
$_logger
Logger |