Méthode |
Description |
|
__construct ( array $config ) |
|
|
__destruct ( ) |
|
|
add_cb ( string $ev, callable $cb, integer $priority = 1 ) : string |
Add callback. |
|
del_cb ( $ref ) |
|
|
enable_unix_sock ( ) |
|
|
getTransport ( ) : JAXLClientBase |
|
|
get_pid_file_path ( ) |
|
|
get_roster ( $cb = null ) |
|
|
get_scram_sha1_response ( $pass, $challenge ) |
http://tools.ietf.org/html/rfc5802#section-5 |
|
get_sock_file_path ( ) |
|
|
get_socket_path ( ) |
|
|
get_vcard ( $jid = null, $cb = null ) |
|
|
handle_auth_failure ( string $reason ) |
|
|
handle_auth_mechs ( $stanza, $mechanisms ) |
|
|
handle_auth_success ( ) |
|
|
handle_debug_shell ( $_raw ) |
security is all upto you, no checks made here |
|
handle_domain_info ( $stanza ) |
|
|
handle_domain_items ( $stanza ) |
|
|
handle_iq ( $stanza ) |
|
|
handle_message ( $stanza ) |
|
|
handle_other ( $event, $args ) |
TODO: in a lot of cases this will be called, need more checks |
|
handle_presence ( $stanza ) |
|
|
handle_stream_start ( $stanza ) |
|
|
on_unix_sock_accept ( $_c, $addr ) |
not for public consumption |
|
on_unix_sock_request ( $_c, $_raw ) |
know what you are doing while in production |
|
require_xep ( array $xeps ) |
|
|
retry ( ) |
|
|
send_chat_msg ( $to, $body, $thread = null, $subject = null ) |
|
|
set_status ( $status, $show = 'chat', $priority = 10 ) |
|
|
signal_handler ( integer $sig ) |
Signals callback handler. |
|
start ( array $opts = [] ) |
|
|
subscribe ( $to ) |
|
|
subscribed ( $to ) |
|
|
unsubscribe ( $to ) |
|
|
unsubscribed ( $to ) |
|
|
wait_for_cram_md5_response ( $event, $args ) |
someday this needs to go inside xmpp stream |
|
wait_for_scram_sha1_response ( $event, $args ) |
|
|