Menu
Reference
- Manticore\Ds
- Async
- Http
- Http\WebSocket
- Buffer
- Process
- Io\Poll
- Interfaces
- Handle
- Classes
- BackendUnavailableException
- Context
- FailedContextInitializationException
- FailedHandleAddException
- FailedPollOperationException
- FailedPollWaitException
- FailedWatcherModificationException
- HandleAlreadyWatchedException
- InactiveWatcherException
- InvalidHandleException
- PollException
- Watcher
- Enums
- Backend
- Event
- Manticore\Sapi
- Ffi
Event
enum
enum Event
A readiness event a {@see Watcher} asks for or reports.
Read, Write, Error, HangUp and ReadHangUp are readiness conditions. OneShot and EdgeTriggered are watch modes, requested in Context::add() or Watcher::modify().
Cases
Read | | The handle is readable. |
Write | | The handle is writable. |
Error | | An error condition occurred on the handle. |
HangUp | | The peer hung up. |
ReadHangUp | | The peer closed its writing side. |
OneShot | | Watch mode: report the handle once. |
EdgeTriggered | | Watch mode: report changes of readiness instead of the level. |