Method |
Description |
|
createXMLStream ( ) |
|
|
getId ( ) : string |
Get next ID |
|
getVCard ( string $jid, callable $cb ) |
|
|
iqGet ( string $xml, callable $cb ) : boolean |
|
|
iqGetTo ( string $to, string $xml, callable $cb ) : boolean |
|
|
iqSet ( string $xml, callable $cb ) : boolean |
|
|
iqSetTo ( string $to, string $xml, callable $cb ) : boolean |
|
|
message ( string $to, string $body, string $type = 'chat', string $subject = null, $payload = null ) |
Send XMPP Message |
|
onFinish ( ) : void |
Called when session finishes |
|
onRead ( ) : void |
Called when new data received |
|
onReady ( ) : void |
Called when the connection is handshaked (at low-level), and peer is ready to recv. data |
|
ping ( string $to = null, callable $cb = null ) : boolean |
|
|
presence ( string $status = null, string $show = 'available', string $to = null, string $type = 'available', integer $priority ) |
Set Presence |
|
queryGet ( string $ns, callable $cb ) : boolean |
|
|
querySet ( string $ns, string $xml, callable $cb ) : boolean |
|
|
querySetTo ( string $to, string $ns, string $xml, callable $cb ) : boolean |
|
|
sendXML ( string $s ) |
|
|
startXMLStream ( ) |
|
|