1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280
|
<?xml version="1.0" encoding="UTF-8" ?>
<class xmlns="http://xml.phpdox.net/src" full="Ev" namespace="" name="Ev">
<constant name="FLAG_AUTO" value="0">
<docblock>
<var type="integer"/>
</docblock>
</constant>
<constant name="FLAG_NOENV" value="16777216">
<docblock>
<var type="integer"/>
</docblock>
</constant>
<constant name="FLAG_FORKCHECK" value="33554432">
<docblock>
<var type="integer"/>
</docblock>
</constant>
<constant name="FLAG_NOINOTIFY" value="1048576">
<docblock>
<var type="integer"/>
</docblock>
</constant>
<constant name="FLAG_SIGNALFD" value="2097152">
<docblock>
<var type="integer"/>
</docblock>
</constant>
<constant name="FLAG_NOSIGMASK" value="4194304">
<docblock>
<var type="integer"/>
</docblock>
</constant>
<constant name="RUN_NOWAIT" value="1">
<docblock>
<var type="integer"/>
</docblock>
</constant>
<constant name="RUN_ONCE" value="2">
<docblock>
<var type="integer"/>
</docblock>
</constant>
<constant name="BREAK_CANCEL" value="0">
<docblock>
<var type="integer"/>
</docblock>
</constant>
<constant name="BREAK_ONE" value="1">
<docblock>
<var type="integer"/>
</docblock>
</constant>
<constant name="BREAK_ALL" value="2">
<docblock>
<var type="integer"/>
</docblock>
</constant>
<constant name="MINPRI" value="-2">
<docblock>
<var type="integer"/>
</docblock>
</constant>
<constant name="MAXPRI" value="2">
<docblock>
<var type="integer"/>
</docblock>
</constant>
<constant name="READ" value="1">
<docblock>
<var type="integer"/>
</docblock>
</constant>
<constant name="WRITE" value="2">
<docblock>
<var type="integer"/>
</docblock>
</constant>
<constant name="TIMER" value="256">
<docblock>
<var type="integer"/>
</docblock>
</constant>
<constant name="PERIODIC" value="512">
<docblock>
<var type="integer"/>
</docblock>
</constant>
<constant name="SIGNAL" value="1024">
<docblock>
<var type="integer"/>
</docblock>
</constant>
<constant name="CHILD" value="2048">
<docblock>
<var type="integer"/>
</docblock>
</constant>
<constant name="STAT" value="4096">
<docblock>
<var type="integer"/>
</docblock>
</constant>
<constant name="IDLE" value="8192">
<docblock>
<var type="integer"/>
</docblock>
</constant>
<constant name="PREPARE" value="16384">
<docblock>
<var type="integer"/>
</docblock>
</constant>
<constant name="CHECK" value="32768">
<docblock>
<var type="integer"/>
</docblock>
</constant>
<constant name="EMBED" value="65536">
<docblock>
<var type="integer"/>
</docblock>
</constant>
<constant name="CUSTOM" value="16777216">
<docblock>
<var type="integer"/>
</docblock>
</constant>
<constant name="ERROR" value="2147483648">
<docblock>
<var type="integer"/>
</docblock>
</constant>
<constant name="BACKEND_SELECT" value="1">
<docblock>
<var type="integer"/>
</docblock>
</constant>
<constant name="BACKEND_POLL" value="2">
<docblock>
<var type="integer"/>
</docblock>
</constant>
<constant name="BACKEND_EPOLL" value="4">
<docblock>
<var type="integer"/>
</docblock>
</constant>
<constant name="BACKEND_KQUEUE" value="8">
<docblock>
<var type="integer"/>
</docblock>
</constant>
<constant name="BACKEND_DEVPOLL" value="16">
<docblock>
<var type="integer"/>
</docblock>
</constant>
<constant name="BACKEND_PORT" value="32">
<docblock>
<var type="integer"/>
</docblock>
</constant>
<constant name="BACKEND_ALL" value="63">
<docblock>
<var type="integer"/>
</docblock>
</constant>
<constant name="BACKEND_MASK" value="65535">
<docblock>
<var type="integer"/>
</docblock>
</constant>
<method name="backend" abstract="false" static="false" visibility="public" final="true">
<docblock>
<description compact="Returns an integer describing the backend used by libev"/>
<return type="int"/>
</docblock>
</method>
<method name="depth" abstract="false" static="false" visibility="public" final="true">
<docblock>
<description compact="Returns recursion depth"/>
<return type="int"/>
</docblock>
</method>
<method name="embeddableBackends" abstract="false" static="false" visibility="public" final="true">
<docblock>
<description compact="Returns the set of backends that are embeddable in other event loops"/>
<return type="void"/>
</docblock>
</method>
<method name="feedSignal" abstract="false" static="false" visibility="public" final="true">
<docblock>
<description compact="Feed a signal event info Ev">Simulates a signal receive. It is safe to call this function at any time, from any context, including signal handlers or random threads. Its main use is to customise signal handling in the process.</description>
<return type="void"/>
</docblock>
<parameter name="signum" optional="false" byreference="false" type="int"/>
</method>
<method name="feedSignalEvent" abstract="false" static="false" visibility="public" final="true">
<docblock>
<description compact="Feed signal event into the default loop"/>
<return type="void"/>
</docblock>
<parameter name="signum" optional="false" byreference="false" type="int"/>
</method>
<method name="iteration" abstract="false" static="false" visibility="public" final="true">
<docblock>
<description compact="Return the number of times the default event loop has polled for new events"/>
<return type="int"/>
</docblock>
</method>
<method name="now" abstract="false" static="false" visibility="public" final="true">
<docblock>
<description compact="Returns the time when the last iteration of the default event loop has started"/>
<return type="float"/>
</docblock>
</method>
<method name="nowUpdate" abstract="false" static="false" visibility="public" final="true">
<docblock>
<description compact="Establishes the current time by querying the kernel, updating the time returned by Ev::now in the progress">Establishes the current time by querying the kernel, updating the time returned by Ev::now in the progress. This is a costly operation and is usually done automatically within Ev::run .</description>
<return type="void"/>
</docblock>
</method>
<method name="recommendedBackends" abstract="false" static="false" visibility="public" final="true">
<docblock>
<description compact="Returns a bit mask of recommended backends for current platform"/>
<return type="void"/>
</docblock>
</method>
<method name="resume" abstract="false" static="false" visibility="public" final="true">
<docblock>
<description compact="Resume previously suspended default event loop">Ev::suspend and Ev::resume methods suspend and resume a loop correspondingly.</description>
<return type="void"/>
</docblock>
</method>
<method name="run" abstract="false" static="false" visibility="public" final="true">
<docblock>
<description compact="Begin checking for events and calling callbacks for the default loop"/>
<return type="void"/>
</docblock>
<parameter name="flags" optional="true" byreference="false" type="int"/>
</method>
<method name="sleep" abstract="false" static="false" visibility="public" final="true">
<docblock>
<description compact="Block the process for the given number of seconds"/>
<return type="void"/>
</docblock>
<parameter name="seconds" optional="false" byreference="false" type="object" class="float"/>
</method>
<method name="stop" abstract="false" static="false" visibility="public" final="true">
<docblock>
<description compact="Stops the default event loop"/>
<return type="void"/>
</docblock>
<parameter name="how" optional="true" byreference="false" type="int"/>
</method>
<method name="supportedBackends" abstract="false" static="false" visibility="public" final="true">
<docblock>
<description compact="Returns the set of backends supported by current libev configuration"/>
<return type="void"/>
</docblock>
</method>
<method name="suspend" abstract="false" static="false" visibility="public" final="true">
<docblock>
<description compact="Suspend the default event loop">Ev::suspend and Ev::resume methods suspend and resume the default loop correspondingly.</description>
<return type="void"/>
</docblock>
</method>
<method name="time" abstract="false" static="false" visibility="public" final="true">
<docblock>
<description compact="Returns the current time in fractional seconds since the epoch"/>
<return type="float"/>
</docblock>
</method>
<method name="verify" abstract="false" static="false" visibility="public" final="true">
<docblock>
<description compact="Performs internal consistency checks(for debugging)"/>
<return type="void"/>
</docblock>
</method>
</class>
|