xmppclient : update domci
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5913 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -32,17 +32,17 @@ class xmppclient
|
||||
*/
|
||||
private $debug = false;
|
||||
|
||||
/* The object identifier increment
|
||||
*/
|
||||
/** The object identifier increment
|
||||
*/
|
||||
private $id = 0;
|
||||
|
||||
/* The JID provided by the user
|
||||
*/
|
||||
/** The JID provided by the user
|
||||
*/
|
||||
private $jid = "";
|
||||
|
||||
/* Ratelimiter of send commands to server. Store the last timestamp, in
|
||||
* microseconds.
|
||||
*/
|
||||
/** Ratelimiter of send commands to server. Store the last timestamp, in
|
||||
* microseconds.
|
||||
*/
|
||||
private $sendLastTime = 0;
|
||||
// }}}
|
||||
|
||||
@@ -75,7 +75,7 @@ class xmppclient
|
||||
"to='$domain' from='$client'>";
|
||||
$this->sock->connect ();
|
||||
$this->debug ("Info: Connected to '$server:$port'");
|
||||
$this->send ($this->xmlStream);
|
||||
$this->send ($this->xmlStream);
|
||||
$xml = $this->read ();
|
||||
// Check if we can/must go in StartTLS
|
||||
preg_match ("#<starttls.*?".">(.*)<\/starttls>#", $xml, $tls);
|
||||
@@ -219,7 +219,7 @@ class xmppclient
|
||||
// }}}
|
||||
|
||||
/** Send the data on socket, add the carriage return
|
||||
* @param $msg The message to send
|
||||
* @param string $msg The message to send
|
||||
*/
|
||||
private function send ($msg)
|
||||
// {{{
|
||||
|
||||
Reference in New Issue
Block a user