..
Author: abhinavsingh
Inheritance: extends JAXLFsm
 function test_xmpp_stream()
 {
     $xmpp = new XMPPStream("test@localhost", "password");
     $xmpp->connect();
     $xmpp->start_stream();
     while ($xmpp->sock->fd) {
         $xmpp->sock->recv();
     }
 }
Ejemplo n.º 2
0
 public function test_xmpp_stream()
 {
     $this->markTestSkipped('Need help!');
     $xmpp = new XMPPStream("test@localhost", "password");
     $xmpp->connect();
     $xmpp->start_stream();
     while ($xmpp->sock->fd) {
         $xmpp->sock->recv();
     }
 }
Ejemplo n.º 3
0
 public function __destruct()
 {
     // delete pid file
     _info("cleaning up pid and unix sock files");
     @unlink($this->get_pid_file_path());
     @unlink($this->get_sock_file_path());
     parent::__destruct();
 }
Ejemplo n.º 4
0
Archivo: jaxl.php Proyecto: jaxl/JAXL
 public function __destruct()
 {
     // delete pid file
     JAXLLogger::info("cleaning up pid and unix sock files");
     if (file_exists($this->get_pid_file_path())) {
         unlink($this->get_pid_file_path());
     }
     if (file_exists($this->get_sock_file_path())) {
         unlink($this->get_sock_file_path());
     }
     parent::__destruct();
 }