예제 #1
0
파일: PingPong.php 프로젝트: Hywan/moxl
 public function handle($stanza, $parent = false)
 {
     //$node = $stanza->attributes()->node.'#'.$stanza->attributes()->ver;
     $to = (string) $parent->attributes()->from;
     $id = (string) $parent->attributes()->id;
     Ping::pong($to, $id);
 }
예제 #2
0
파일: PingPong.php 프로젝트: movim/moxl
 public function handle($stanza, $parent = false)
 {
     $to = (string) $parent->attributes()->from;
     $id = (string) $parent->attributes()->id;
     Ping::pong($to, $id);
 }
예제 #3
0
파일: Server.php 프로젝트: movim/moxl
 public function request()
 {
     $this->store();
     Ping::server();
 }