| [ Index ] |
PHP Cross Reference of Unnamed Project |
[Source view] [Print] [Project Stats]
XMPPHP: The PHP XMPP Library Copyright (C) 2008 Nathanael C. Fritz This file is part of SleekXMPP. XMPPHP is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
| Author: | Nathanael C. Fritz |
| Author: | Stephan Wentz |
| Author: | Michael Garvin |
| Copyright: | 2008 Nathanael C. Fritz |
| File Size: | 763 lines (18 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
XMPPHP_XMLStream:: (29 methods):
__construct()
__destruct()
getLog()
getId()
useSSL()
addIdHandler()
addHandler()
addXPathHandler()
addEventHandler()
connect()
doReconnect()
setReconnectTimeout()
disconnect()
isDisconnected()
__process()
process()
processTime()
processUntil()
Xapply_socket()
startXML()
endXML()
charXML()
event()
read()
send()
time()
reset()
setupParser()
readyToProcess()
Class: XMPPHP_XMLStream - X-Ref
XMPPHP XML Stream| __construct($host = null, $port = null, $printlog = false, $loglevel = null, $is_server = false) X-Ref |
| Constructor param: string $host param: string $port param: boolean $printlog param: string $loglevel param: boolean $is_server |
| __destruct() X-Ref |
| Destructor Cleanup connection |
| getLog() X-Ref |
| Return the log instance return: XMPPHP_Log |
| getId() X-Ref |
| Get next ID return: integer |
| useSSL($use=true) X-Ref |
| Set SSL return: integer |
| addIdHandler($id, $pointer, $obj = null) X-Ref |
| Add ID Handler param: integer $id param: string $pointer param: string $obj |
| addHandler($name, $ns, $pointer, $obj = null, $depth = 1) X-Ref |
| Add Handler param: string $name param: string $ns param: string $pointer param: string $obj param: integer $depth |
| addXPathHandler($xpath, $pointer, $obj = null) X-Ref |
| Add XPath Handler param: string $xpath param: string $pointer param: |
| addEventHandler($name, $pointer, $obj) X-Ref |
| Add Event Handler param: integer $id param: string $pointer param: string $obj |
| connect($timeout = 30, $persistent = false, $sendinit = true) X-Ref |
| Connect to XMPP Host param: integer $timeout param: boolean $persistent param: boolean $sendinit |
| doReconnect() X-Ref |
| Reconnect XMPP Host |
| setReconnectTimeout($timeout) X-Ref |
| No description |
| disconnect() X-Ref |
| Disconnect from XMPP Host |
| isDisconnected() X-Ref |
| Are we are disconnected? return: boolean |
| __process($maximum=5) X-Ref |
| Core reading tool 0 -> only read if data is immediately ready NULL -> wait forever and ever integer -> process for this amount of time |
| process() X-Ref |
| Process return: string |
| processTime($timeout=NULL) X-Ref |
| Process until a timeout occurs param: integer $timeout return: string |
| processUntil($event, $timeout=-1) X-Ref |
| Process until a specified event or a timeout occurs param: string|array $event param: integer $timeout return: string |
| Xapply_socket($socket) X-Ref |
| Obsolete? |
| startXML($parser, $name, $attr) X-Ref |
| XML start callback param: resource $parser param: string $name |
| endXML($parser, $name) X-Ref |
| XML end callback param: resource $parser param: string $name |
| charXML($parser, $data) X-Ref |
| XML character callback param: resource $parser param: string $data |
| event($name, $payload = null) X-Ref |
| Event? param: string $name param: string $payload |
| read() X-Ref |
| Read from socket |
| send($msg, $timeout=NULL) X-Ref |
| Send to socket param: string $msg |
| time() X-Ref |
| No description |
| reset() X-Ref |
| Reset connection |
| setupParser() X-Ref |
| Setup the XML parser |
| readyToProcess() X-Ref |
| No description |
| Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |