<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/book.event.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'tr',
  ),
  'this' => 
  array (
    0 => 'event.flags.php',
    1 => 'Event flags',
    2 => 'Event flags',
  ),
  'up' => 
  array (
    0 => 'book.event.php',
    1 => 'Event',
  ),
  'prev' => 
  array (
    0 => 'event.examples.php',
    1 => '&Ouml;rnekler',
  ),
  'next' => 
  array (
    0 => 'event.persistence.php',
    1 => 'About event persistence',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/event/event.flags.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="event.flags" class="chapter">
 <h1 class="title">Event flags</h1>

 <p class="para">
  <strong><code><a href="class.event.php#event.constants.read">Event::READ</a></code></strong>
  This flag indicates an event that becomes active when the provided file
  descriptor (usually a stream resource, or socket) is ready for reading.
 </p>
 <p class="para">
  <strong><code><a href="class.event.php#event.constants.write">Event::WRITE</a></code></strong>
  flag indicates an event that becomes active when the provided file
  descriptor (usually a stream resource, or socket) is ready for writing.
 </p>
 <p class="para">
  <strong><code><a href="class.event.php#event.constants.signal">Event::SIGNAL</a></code></strong>
  used to implement signal detection. See &quot;Constructing signal events&quot; below.
 </p>
 <p class="para">
  <strong><code><a href="class.event.php#event.constants.timeout">Event::TIMEOUT</a></code></strong>
  indicates an event that becomes active after a timeout elapses. The
  <strong><code><a href="class.event.php#event.constants.timeout">Event::TIMEOUT</a></code></strong>
  flag is ignored when constructing an event: one can either set a timeout
  when event is
  <em>added</em>,
  or not. It is set in the
  <code class="literal">$what</code>
  argument to the callback function when a timeout has occurred.
 </p>
 <p class="para">
  See also
  <a href="http://www.wangafu.net/~nickm/libevent-book/Ref4_event.html#_the_event_flags" class="link external">&raquo;&nbsp;Fast
 portable non-blocking network programming with Libevent, Working with events,
 Event flags</a>
 </p>
</div>
<?php manual_footer($setup); ?>