function test_xmpp_stream() { $xmpp = new XMPPStream("test@localhost", "password"); $xmpp->connect(); $xmpp->start_stream(); while ($xmpp->sock->fd) { $xmpp->sock->recv(); } }
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(); } }
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(); }
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(); }