Moodle  2.2.1
http://www.collinsharper.com
XMPPHP_XMPPOld Class Reference
Inheritance diagram for XMPPHP_XMPPOld:
Collaboration diagram for XMPPHP_XMPPOld:

Public Member Functions

 __construct ($host, $port, $user, $password, $resource, $server=null, $printlog=false, $loglevel=null)
 startXML ($parser, $name, $attr)
 authenticate ()
 authFieldsHandler ($xml)
 oldAuthResultHandler ($xml)

Protected Attributes

 $session_id

Detailed Description

XMPPHP_XMPP

This file is unnecessary unless you need to connect to older, non-XMPP-compliant servers like Dreamhost's. In this case, use instead of XMPPHP_XMPP, otherwise feel free to delete it. The old Jabber protocol wasn't standardized, so use at your own risk.

Definition at line 38 of file XMPP_Old.php.


Constructor & Destructor Documentation

__construct ( host,
port,
user,
password,
resource,
server = null,
printlog = false,
loglevel = null 
)

Constructor

Parameters:
string$host
integer$port
string$user
string$password
string$resource
string$server
boolean$printlog
string$loglevel

Reimplemented from XMPPHP_XMPP.

Definition at line 45 of file XMPP_Old.php.


Member Function Documentation

Send Authenticate Info Request

Definition at line 71 of file XMPP_Old.php.

Here is the call graph for this function:

Here is the caller graph for this function:

authFieldsHandler ( xml)

Retrieve auth fields and send auth attempt

Parameters:
XMLObj$xml

Definition at line 82 of file XMPP_Old.php.

Here is the call graph for this function:

Determine authenticated or failure

Parameters:
XMLObj$xml

Definition at line 101 of file XMPP_Old.php.

Here is the call graph for this function:

startXML ( parser,
name,
attr 
)

Override XMLStream's startXML

Parameters:
parser$parser
string$name
array$attr

Reimplemented from XMPPHP_XMLStream.

Definition at line 59 of file XMPP_Old.php.

Here is the call graph for this function:


Field Documentation

$session_id [protected]

Definition at line 43 of file XMPP_Old.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations