The Net_IMSP class provides a common interface to an IMSP server .
Required parameters:
'server' Hostname of IMSP server. 'port' Port of IMSP server.
$Horde: framework/Net_IMSP/IMSP.php,v 1.13.10.27 2009/10/02 00:03:01 mrubinsk Exp $
Copyright 2003-2009 The Horde Project (http://www.horde.org/)
See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.
Located in /Net_IMSP/IMSP.php (line 27)
String containing port for IMSP server.
String containing name/IP address of IMSP host.
String buffer containing the last raw NO or BAD response from the server.
Boolean to set if we should write to a log, if one is set up.
Constructor function.
Returns the raw capability response from the server.
Attempts to create a Net_IMSP object based on $driver.
Must be called as $imsp = &Net_IMSP::factory($driver, $params);
Retrieves CRLF terminated response from server and splits it into an array delimited by a <space>.
Raises an IMSP error. Basically, only writes error out to the horde logfile and returns PEAR_Error
Attempts to open an IMSP socket with the server.
Receives a single CRLF terminated server response string
Attempts to send a command to the server.
Initialization function to be called after object is returned. This allows errors to occur and not break the script.
Logs out of the server and closes the IMSP stream
Determines if a string needs to be quoted before sending to the server.
Creates a new Log object based on $params
Attempts to return a Net_IMSP object based on $driver. Only creates a new object if one with the same parameters already doesn't exist.
Must be called as $imsp = &Net_IMSP::singleton($driver, $params);
Writes a message to the IMSP logfile.
Documentation generated on Sun, 30 Jan 2011 05:18:32 +0000 by phpDocumentor 1.4.3