Logo Search packages:      
Sourcecode: yate version File versions  Download package

Yate::Acknowledge (  ) 

Acknowledge the processing of a message passed from Yate

Parameters:
$handled (optional) True if Yate should stop processing, default false

Definition at line 228 of file libyate.php.

References Bool2str(), Escape(), and Output().

    {
      if ($this->type != "incoming") {
          Yate::Output("PHP bug: attempt to acknowledge message type: " . $this->type);
          return;
      }
      $i=Yate::Escape($this->id,':');
      $k=Yate::Bool2str($this->handled);
      $n=Yate::Escape($this->name,':');
      $r=Yate::Escape($this->retval,':');
      $p="";
      array_walk(&$this->params, "_yate_message_walk", &$p);
      print "%%<message:$i:$k:$n:$r$p\n";
      $this->type="acknowledged";
    }


Generated by  Doxygen 1.6.0   Back to index