Esempio n. 1
0
 /**
  * Create a new Message from this FetchActions.
  *
  * @return \AlphaRPC\Common\Socket\Message
  */
 public function toMessage()
 {
     $msg = parent::createMessage();
     $msg->append(array(count($this->actions)));
     $msg->append($this->actions);
     return $msg;
 }
 /**
  * Create a new Message from this ActionResponse.
  *
  * @return \AlphaRPC\Common\Socket\Message
  */
 public function toMessage()
 {
     return parent::createMessage($this->getActions());
 }