<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/book.zmq.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'ru',
  ),
  'this' => 
  array (
    0 => 'class.zmqdevice.php',
    1 => 'ZMQDevice',
    2 => 'Класс ZMQDevice',
  ),
  'up' => 
  array (
    0 => 'book.zmq.php',
    1 => 'Обмен сообщениями 0MQ',
  ),
  'prev' => 
  array (
    0 => 'zmqpoll.remove.php',
    1 => 'ZMQPoll::remove',
  ),
  'next' => 
  array (
    0 => 'zmqdevice.construct.php',
    1 => 'ZMQDevice::__construct',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'ru',
    'path' => 'reference/zmq/zmqdevice.xml',
  ),
  'history' => 
  array (
  ),
  'extra_header_links' => 
  array (
    'rel' => 'alternate',
    'href' => '/manual/en/feeds/class.zmqdevice.atom',
    'type' => 'application/atom+xml',
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="class.zmqdevice" class="reference">

 <h1 class="title">Класс ZMQDevice</h1>
 

 <div class="partintro"><p class="verinfo">(PECL zmq &gt;= 0.5.0)</p>

  
  <div class="section" id="zmqdevice.intro">
   <h2 class="title">Введение</h2>
   <p class="para">

   </p>
  </div>
  

  <div class="section" id="zmqdevice.synopsis">
   <h2 class="title">Обзор класса</h2>

   
   <div class="classsynopsis">
    <span class="ooclass"><strong class="classname"></strong></span>

    
    <div class="classsynopsisinfo">
     <span class="ooclass">
      <span class="modifier">class</span> <strong class="classname">ZMQDevice</strong>
     </span>
     {</div>
    

    <div class="classsynopsisinfo classsynopsisinfo_comment">/* Методы */</div>
    <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><a href="zmqdevice.construct.php" class="methodname">__construct</a></span>(<span class="methodparam"><span class="type"><a href="class.zmqsocket.php" class="type ZMQSocket">ZMQSocket</a></span> <code class="parameter">$frontend</code></span>, <span class="methodparam"><span class="type"><a href="class.zmqsocket.php" class="type ZMQSocket">ZMQSocket</a></span> <code class="parameter">$backend</code></span>, <span class="methodparam"><span class="type"><a href="class.zmqsocket.php" class="type ZMQSocket">ZMQSocket</a></span> <code class="parameter">$listener</code><span class="initializer"> = ?</span></span>)</div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="zmqdevice.getidletimeout.php" class="methodname">getIdleTimeout</a></span>(): <span class="type"><a href="class.zmqdevice.php" class="type ZMQDevice">ZMQDevice</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="zmqdevice.gettimertimeout.php" class="methodname">getTimerTimeout</a></span>(): <span class="type"><a href="class.zmqdevice.php" class="type ZMQDevice">ZMQDevice</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="zmqdevice.run.php" class="methodname">run</a></span>(): <span class="type"><a href="language.types.void.php" class="type void">void</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="zmqdevice.setidlecallback.php" class="methodname">setIdleCallback</a></span>(<span class="methodparam"><span class="type"><a href="language.types.callable.php" class="type callable">callable</a></span> <code class="parameter">$cb_func</code></span>, <span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$timeout</code></span>, <span class="methodparam"><span class="type"><a href="language.types.mixed.php" class="type mixed">mixed</a></span> <code class="parameter">$user_data</code><span class="initializer"> = ?</span></span>): <span class="type"><a href="class.zmqdevice.php" class="type ZMQDevice">ZMQDevice</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="zmqdevice.setidletimeout.php" class="methodname">setIdleTimeout</a></span>(<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$timeout</code></span>): <span class="type"><a href="class.zmqdevice.php" class="type ZMQDevice">ZMQDevice</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="zmqdevice.settimercallback.php" class="methodname">setTimerCallback</a></span>(<span class="methodparam"><span class="type"><a href="language.types.callable.php" class="type callable">callable</a></span> <code class="parameter">$cb_func</code></span>, <span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$timeout</code></span>, <span class="methodparam"><span class="type"><a href="language.types.mixed.php" class="type mixed">mixed</a></span> <code class="parameter">$user_data</code><span class="initializer"> = ?</span></span>): <span class="type"><a href="class.zmqdevice.php" class="type ZMQDevice">ZMQDevice</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="zmqdevice.settimertimeout.php" class="methodname">setTimerTimeout</a></span>(<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$timeout</code></span>): <span class="type"><a href="class.zmqdevice.php" class="type ZMQDevice">ZMQDevice</a></span></div>

   }</div>
   

  </div>

 </div>

 






















































<h2>Содержание</h2><ul class="chunklist chunklist_reference"><li><a href="zmqdevice.construct.php">ZMQDevice::__construct</a> — Создаёт новое устройство</li><li><a href="zmqdevice.getidletimeout.php">ZMQDevice::getIdleTimeout</a> — Получить время ожидания бездействия</li><li><a href="zmqdevice.gettimertimeout.php">ZMQDevice::getTimerTimeout</a> — Получить время ожидания таймера</li><li><a href="zmqdevice.run.php">ZMQDevice::run</a> — Запуск нового устройства</li><li><a href="zmqdevice.setidlecallback.php">ZMQDevice::setIdleCallback</a> — Установить callback-функцию бездействия</li><li><a href="zmqdevice.setidletimeout.php">ZMQDevice::setIdleTimeout</a> — Установить время ожидания простоя</li><li><a href="zmqdevice.settimercallback.php">ZMQDevice::setTimerCallback</a> — Установить callback-функцию по таймеру</li><li><a href="zmqdevice.settimertimeout.php">ZMQDevice::setTimerTimeout</a> — Установить время ожидания таймера</li></ul>
</div>
<?php manual_footer($setup); ?>