<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>The ZMQDevice class</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="zmqpoll.remove.html">ZMQPoll::remove</a></div> <div class="next" style="text-align: right; float: right;"><a href="zmqdevice.construct.html">ZMQDevice::__construct</a></div> <div class="up"><a href="book.zmq.html">0MQ messaging</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="class.zmqdevice" class="reference"> <h1 class="title">The ZMQDevice class</h1> <div class="partintro"><p class="verinfo">(No version information available, might only be in SVN)</p> <div class="section" id="zmqdevice.intro"> <h2 class="title">Introduction</h2> <p class="para"> </p> </div> <div class="section" id="zmqdevice.synopsis"> <h2 class="title">Class synopsis</h2> <div class="classsynopsis"> <div class="ooclass"></div> <div class="classsynopsisinfo"> <span class="ooclass"> <strong class="classname">ZMQDevice</strong> </span> {</div> <div class="classsynopsisinfo classsynopsisinfo_comment">/* Methods */</div> <div class="methodsynopsis dc-description"> <span class="methodname"><a href="zmqdevice.construct.html" class="methodname">__construct</a></span> ( <span class="methodparam"><span class="type"><a href="class.zmqsocket.html" class="type ZMQSocket">ZMQSocket</a></span> <code class="parameter">$frontend</code></span> , <span class="methodparam"><span class="type"><a href="class.zmqsocket.html" class="type ZMQSocket">ZMQSocket</a></span> <code class="parameter">$backend</code></span> [, <span class="methodparam"><span class="type"><a href="class.zmqsocket.html" class="type ZMQSocket">ZMQSocket</a></span> <code class="parameter">$listener</code></span> ] )</div> <div class="methodsynopsis dc-description"> <span class="modifier">public</span> <span class="type">ZMQDevice</span> <span class="methodname"><a href="zmqdevice.getidletimeout.html" class="methodname">getIdleTimeout</a></span> ( <span class="methodparam">void</span> )</div> <div class="methodsynopsis dc-description"> <span class="modifier">public</span> <span class="type">ZMQDevice</span> <span class="methodname"><a href="zmqdevice.gettimertimeout.html" class="methodname">getTimerTimeout</a></span> ( <span class="methodparam">void</span> )</div> <div class="methodsynopsis dc-description"> <span class="modifier">public</span> <span class="type">void</span> <span class="methodname"><a href="zmqdevice.run.html" class="methodname">run</a></span> ( <span class="methodparam">void</span> )</div> <div class="methodsynopsis dc-description"> <span class="modifier">public</span> <span class="type">ZMQDevice</span> <span class="methodname"><a href="zmqdevice.setidlecallback.html" class="methodname">setIdleCallback</a></span> ( <span class="methodparam"><span class="type"><a href="language.types.callable.html" class="type callable">callable</a></span> <code class="parameter">$cb_func</code></span> , <span class="methodparam"><span class="type">integer</span> <code class="parameter">$timeout</code></span> [, <span class="methodparam"><span class="type"><a href="language.pseudo-types.html#language.types.mixed" class="type mixed">mixed</a></span> <code class="parameter">$user_data</code></span> ] )</div> <div class="methodsynopsis dc-description"> <span class="modifier">public</span> <span class="type">ZMQDevice</span> <span class="methodname"><a href="zmqdevice.setidletimeout.html" class="methodname">setIdleTimeout</a></span> ( <span class="methodparam"><span class="type">integer</span> <code class="parameter">$timeout</code></span> )</div> <div class="methodsynopsis dc-description"> <span class="modifier">public</span> <span class="type">ZMQDevice</span> <span class="methodname"><a href="zmqdevice.settimercallback.html" class="methodname">setTimerCallback</a></span> ( <span class="methodparam"><span class="type"><a href="language.types.callable.html" class="type callable">callable</a></span> <code class="parameter">$cb_func</code></span> , <span class="methodparam"><span class="type">integer</span> <code class="parameter">$timeout</code></span> [, <span class="methodparam"><span class="type"><a href="language.pseudo-types.html#language.types.mixed" class="type mixed">mixed</a></span> <code class="parameter">$user_data</code></span> ] )</div> <div class="methodsynopsis dc-description"> <span class="modifier">public</span> <span class="type">ZMQDevice</span> <span class="methodname"><a href="zmqdevice.settimertimeout.html" class="methodname">setTimerTimeout</a></span> ( <span class="methodparam"><span class="type">integer</span> <code class="parameter">$timeout</code></span> )</div> }</div> </div> </div> <h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="zmqdevice.construct.html">ZMQDevice::__construct</a> — Construct a new device</li><li><a href="zmqdevice.getidletimeout.html">ZMQDevice::getIdleTimeout</a> — Get the idle timeout</li><li><a href="zmqdevice.gettimertimeout.html">ZMQDevice::getTimerTimeout</a> — Get the timer timeout</li><li><a href="zmqdevice.run.html">ZMQDevice::run</a> — Run the new device</li><li><a href="zmqdevice.setidlecallback.html">ZMQDevice::setIdleCallback</a> — Set the idle callback function</li><li><a href="zmqdevice.setidletimeout.html">ZMQDevice::setIdleTimeout</a> — Set the idle timeout</li><li><a href="zmqdevice.settimercallback.html">ZMQDevice::setTimerCallback</a> — Set the timer callback function</li><li><a href="zmqdevice.settimertimeout.html">ZMQDevice::setTimerTimeout</a> — Set the timer timeout</li></ul> </div> <hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="zmqpoll.remove.html">ZMQPoll::remove</a></div> <div class="next" style="text-align: right; float: right;"><a href="zmqdevice.construct.html">ZMQDevice::__construct</a></div> <div class="up"><a href="book.zmq.html">0MQ messaging</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>