Moodle  2.2.1
http://www.collinsharper.com
ChatDaemon Class Reference

Public Member Functions

 ChatDaemon ()
 error_handler ($errno, $errmsg, $filename, $linenum, $vars)
 poll_idle_chats ($now)
 query_start ()
 trace ($message, $level=E_USER_NOTICE)
 write_data ($connection, $text)
 user_lazy_update ($sessionid)
 get_user_window ($sessionid)
 new_ufo_id ()
 process_sidekicks ($sessionid)
 dispatch_sidekick ($handle, $type, $sessionid, $customdata)
 promote_final ($sessionid, $customdata)
 promote_ufo ($handle, $type, $sessionid, $customdata)
 dismiss_half ($sessionid, $disconnect=true)
 dismiss_set ($sessionid)
 dismiss_ufo ($handle, $disconnect=true, $message=NULL)
 conn_accept ()
 conn_activity_ufo (&$handles)
 message_broadcast ($message, $sender)
 disconnect_session ($sessionid)
 fatal ($message)
 init_sockets ()
 cli_switch ($switch, $param=NULL)

Data Fields

 $_resetsocket = false
 $_readytogo = false
 $_logfile = false
 $_trace_to_console = true
 $_trace_to_stdout = true
 $_logfile_name = 'chatd.log'
 $_last_idle_poll = 0
 $conn_ufo = array()
 $conn_side = array()
 $conn_half = array()
 $conn_sets = array()
 $sets_info = array()
 $chatrooms = array()

Detailed Description

Definition at line 79 of file chatd.php.


Member Function Documentation

Definition at line 98 of file chatd.php.

cli_switch ( switch,
param = NULL 
)

Definition at line 822 of file chatd.php.

Here is the call graph for this function:

Definition at line 671 of file chatd.php.

Here is the call graph for this function:

conn_activity_ufo ( &$  handles)

Definition at line 690 of file chatd.php.

disconnect_session ( sessionid)

Definition at line 750 of file chatd.php.

Here is the call graph for this function:

Here is the caller graph for this function:

dismiss_half ( sessionid,
disconnect = true 
)

Definition at line 619 of file chatd.php.

Here is the caller graph for this function:

dismiss_set ( sessionid)

Definition at line 633 of file chatd.php.

Here is the call graph for this function:

Here is the caller graph for this function:

dismiss_ufo ( handle,
disconnect = true,
message = NULL 
)

Definition at line 651 of file chatd.php.

Here is the call graph for this function:

Here is the caller graph for this function:

dispatch_sidekick ( handle,
type,
sessionid,
customdata 
)

Definition at line 332 of file chatd.php.

Here is the call graph for this function:

Here is the caller graph for this function:

error_handler ( errno,
errmsg,
filename,
linenum,
vars 
)

Definition at line 112 of file chatd.php.

Here is the call graph for this function:

fatal ( message)

Definition at line 778 of file chatd.php.

Here is the call graph for this function:

Here is the caller graph for this function:

get_user_window ( sessionid)

Definition at line 227 of file chatd.php.

Here is the caller graph for this function:

Definition at line 787 of file chatd.php.

Here is the call graph for this function:

message_broadcast ( message,
sender 
)

Definition at line 709 of file chatd.php.

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 312 of file chatd.php.

Here is the caller graph for this function:

poll_idle_chats ( now)

Definition at line 120 of file chatd.php.

Here is the call graph for this function:

process_sidekicks ( sessionid)

Definition at line 320 of file chatd.php.

Here is the call graph for this function:

Here is the caller graph for this function:

promote_final ( sessionid,
customdata 
)

Definition at line 481 of file chatd.php.

Here is the call graph for this function:

Here is the caller graph for this function:

promote_ufo ( handle,
type,
sessionid,
customdata 
)

Definition at line 562 of file chatd.php.

Here is the call graph for this function:

Definition at line 143 of file chatd.php.

trace ( message,
level = E_USER_NOTICE 
)

Definition at line 147 of file chatd.php.

Here is the caller graph for this function:

user_lazy_update ( sessionid)

Definition at line 206 of file chatd.php.

Here is the call graph for this function:

Here is the caller graph for this function:

write_data ( connection,
text 
)

Definition at line 184 of file chatd.php.

Here is the caller graph for this function:


Field Documentation

$_last_idle_poll = 0

Definition at line 86 of file chatd.php.

$_logfile = false

Definition at line 82 of file chatd.php.

$_logfile_name = 'chatd.log'

Definition at line 85 of file chatd.php.

$_readytogo = false

Definition at line 81 of file chatd.php.

$_resetsocket = false

Definition at line 80 of file chatd.php.

$_trace_to_console = true

Definition at line 83 of file chatd.php.

$_trace_to_stdout = true

Definition at line 84 of file chatd.php.

$chatrooms = array()

Definition at line 93 of file chatd.php.

$conn_half = array()

Definition at line 90 of file chatd.php.

$conn_sets = array()

Definition at line 91 of file chatd.php.

$conn_side = array()

Definition at line 89 of file chatd.php.

$conn_ufo = array()

Definition at line 88 of file chatd.php.

$sets_info = array()

Definition at line 92 of file chatd.php.


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