Search results for "dist:UniEvent HANDLE"
UniEvent::Handle - Base abstract class for all handle types
The class contains methods common for all hanlde types....
SYBER/UniEvent-1.2.13 - 31 Jan 2024 12:58:13 UTC
UniEvent::Tty - stream handle for the console
Tty handle provide streaming interfrace for terminal device. It is inherited from UniEvent::Stream. Comparing to other kind of streams, the UniEvent::Tty is not full-duplex stream, i.e. for reading and writing separate handles should be created. As r...
SYBER/UniEvent-1.2.13 - 31 Jan 2024 12:58:13 UTC
UniEvent::Stream - abstract handle of a duplex communication channel
The class shares common interface and implementation for the UniEvent::Tcp, UniEvent::Pipe and UniEvent::Tty handles. The key feature of UniEvent::Stream that it is aimed to handle connected-oriented full-duplex messaging aka streaming, i.e., first, ...
SYBER/UniEvent-1.2.13 - 31 Jan 2024 12:58:13 UTC
UniEvent - Object-oriented, fast and extendable event loop abstraction framework with Perl and C++ interface.
UniEvent is an extendable object-oriented event loop framework. It's also an abstraction layer on top of event loop which provides engine-independent API (like AnyEvent). This module is an XS port of the very fast C++ panda::unievent framework. The m...
SYBER/UniEvent-1.2.13 - 31 Jan 2024 12:58:13 UTC
UniEvent::Udp - encapsulate UDP communication for both clients and servers
Udp handle allows to send and receive UDP-datagrams, including broadcasting and multicasting capabilities. It is able to work over IPv4 as well as over IPv6 protocols (aka dual stack mode), the difference between them is abstracted from user. The han...
SYBER/UniEvent-1.2.13 - 31 Jan 2024 12:58:13 UTC
UniEvent::Idle - runs the given callback once per loop iteration
Idle handle invokes callbacks once per loop iteration, before preparing them for I/O. Adding the handle to the event loop causes it the loop to perform a zero timeout poll instead of blocking for I/O. Generally it is rather CPU consuming, so you shou...
SYBER/UniEvent-1.2.13 - 31 Jan 2024 12:58:13 UTC
UniEvent::Tcp - stream that represents both TCP streams and servers.
Tcp handle allows to establish TCP-connection to local or remote machine. It is able to work over IPv4 as well as over IPv6 protocols (aka dual stack mode), the difference between them is abstracted from user. The Tcp hanlde is inherited from UniEven...
SYBER/UniEvent-1.2.13 - 31 Jan 2024 12:58:13 UTC
UniEvent::Poll - poll sockets or files for readability or writeability
The Poll handle polls sockets or files for readability or writeability. It was designed for intergration of raw sockets with third-party libraries that signal about socket status change. Using the Poll handle for other purposes is discouraged as it i...
SYBER/UniEvent-1.2.13 - 31 Jan 2024 12:58:13 UTC
UniEvent::Check - run the given callback once per loop iteration, right after polling for i/o.
The Check handle is useful for doing post-I/O actions for a loop. It is inherited from UniEvent::Handle....
SYBER/UniEvent-1.2.13 - 31 Jan 2024 12:58:13 UTC
UniEvent::Loop - The event loop object
The event loop is the central part of UniEvent's functionality. It takes care of polling for i/o and scheduling callbacks to be run based on different sources of events. Contrary to AnyEvent and EV, where there is only one event loop instance (single...
SYBER/UniEvent-1.2.13 - 31 Jan 2024 12:58:13 UTC
UniEvent::Pipe - abstraction over streaming files and named pipes
Pipe handles provide an abstraction over streaming files on Unix (including local domain sockets, pipes, and FIFOs) and named pipes on Windows. It is inherited from UniEvent::Stream, which provides most of the API....
SYBER/UniEvent-1.2.13 - 31 Jan 2024 12:58:13 UTC
UniEvent::Timer - schedule callbacks to be invoked in future
The Timer handle is used, when needed to run piece of code in future. If the code needs to be run once, the *one-shot* interface of the timer is used, otherwise the *repeatable* interface methods should be invoked. In any case the same callback(s) wi...
SYBER/UniEvent-1.2.13 - 31 Jan 2024 12:58:13 UTC
UniEvent::Signal - runs callbacks upon UNIX signals
Allow to check UNIX signals and, if a signal appears, execute appropriate handlers during loop iteration. It is inherited from UniEvent::Handle....
SYBER/UniEvent-1.2.13 - 31 Jan 2024 12:58:13 UTC
UniEvent::FsPoll - monitor a given path for changes
FsPoll handles allow the user to monitor a given path for changes. Unlike UniEvent::FsEvent, fs poll handles use "stat()" to detect when a file has changed so they can work on file systems where fs event handles can't. FsPoll periodically polls files...
SYBER/UniEvent-1.2.13 - 31 Jan 2024 12:58:13 UTC
UniEvent::Prepare - run the given callback once per loop iteration, right before polling for i/o.
The Prepare handle is useful for doing some actions before polling for I/O. It is inherited from UniEvent::Handle....
SYBER/UniEvent-1.2.13 - 31 Jan 2024 12:58:13 UTC
UniEvent::FsEvent - cross-platform file/dir monitoring
The "FsEvent" is useful for monitoring individual file events , e.g. when file is renamed, created or when its content was changed. It works on major operational systems, including Windows; however the order of events might be system dependent. This ...
SYBER/UniEvent-1.2.13 - 31 Jan 2024 12:58:13 UTC
UniEvent::Streamer::StreamInput - stream input for streamer
Pulls in data from stream and pushes it into UniEvent::Streamer. The underlying stream can be UniEvent::Tcp, UniEvent::Pipe or UniEvent::Tty....
SYBER/UniEvent-1.2.13 - 31 Jan 2024 12:58:13 UTC
UniEvent::Streamer::StreamOutput - stream output for streamer
Writes data from UniEvent::Streamer into a stream handle. The underlying stream can be UniEvent::Tcp, UniEvent::Pipe or UniEvent::Tty....
SYBER/UniEvent-1.2.13 - 31 Jan 2024 12:58:13 UTC