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

Public Member Functions

 connect ($server, $wait='1', $session=false)
 __sendBody ($body=null, $recv=true)
 __buildBody ($sub=null)
 __process ()
 __parseBuffer ()
 send ($msg)
 reset ()
 loadSession ()
 saveSession ()

Protected Attributes

 $rid
 $sid
 $http_server
 $http_buffer = Array()
 $session = false

Detailed Description

Definition at line 43 of file BOSH.php.


Member Function Documentation

__buildBody ( sub = null)

Definition at line 106 of file BOSH.php.

Here is the caller graph for this function:

Definition at line 133 of file BOSH.php.

Here is the caller graph for this function:

__process ( )

Definition at line 124 of file BOSH.php.

Here is the call graph for this function:

__sendBody ( body = null,
recv = true 
)

Definition at line 84 of file BOSH.php.

Here is the call graph for this function:

Here is the caller graph for this function:

connect ( timeout,
persistent = '1',
sendinit = false 
)

Connect to XMPP Host

Parameters:
integer$timeout
boolean$persistent
boolean$sendinit

Reimplemented from XMPPHP_XMLStream.

Definition at line 51 of file BOSH.php.

Here is the call graph for this function:

Definition at line 173 of file BOSH.php.

Here is the caller graph for this function:

reset ( )

Reset connection

Reimplemented from XMPPHP_XMLStream.

Definition at line 158 of file BOSH.php.

Here is the call graph for this function:

Definition at line 181 of file BOSH.php.

send ( msg)

Definition at line 150 of file BOSH.php.

Here is the call graph for this function:


Field Documentation

$http_buffer = Array() [protected]

Definition at line 48 of file BOSH.php.

$http_server [protected]

Definition at line 47 of file BOSH.php.

$rid [protected]

Definition at line 45 of file BOSH.php.

$session = false [protected]

Definition at line 49 of file BOSH.php.

$sid [protected]

Definition at line 46 of file BOSH.php.


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