Search results for "dist:IOMux open"
IOMux::Open - simulate the open() function
This module is a simple wrapper to bring various alternative connection implementations closer to normal Perl. It also saves you a lot of explicit require ("use") lines of code. With this module, code is simplified. For instance, the real logic is: u...
MARKOV/IOMux-1.01 - 15 Jan 2020 13:19:21 UTC
IOMux - simplify use of file-event loops, base class
"IOMux" is designed to take the effort out of managing multiple socket, file or pipe connections within a single process. It is essentially a really fancy front end to various kinds of event mechanisms, currently limited to "select" and "poll". In ad...
MARKOV/IOMux-1.01 - 15 Jan 2020 13:19:21 UTC
IOMux::IPC - exchange data with external command
With this handler, you set-up a two way communication between the current process and some other process. This is not easy to program: you may need to play with timeouts every once in a while. This module is based on IOMux::Bundle, because it will us...
MARKOV/IOMux-1.01 - 15 Jan 2020 13:19:21 UTC
IOMux::Poll - simplify use of poll()
Multiplexer based on the "poll()" system call, defined by POSIX. The "poll" has less administration overhead than the "select" call (implemented via IOMux::Select) because it avoids the need to play with bit-vectors to see which file handles got acti...
MARKOV/IOMux-1.01 - 15 Jan 2020 13:19:21 UTC
IOMux::Select - simplify use of select()
Multiplexer implemented around the "select()" system call. This "select()" is usually less powerful and slower than the "poll()" call (implemented in IOMux::Poll) however probably available on more systems. Extends "DESCRIPTION" in IOMux....
MARKOV/IOMux-1.01 - 15 Jan 2020 13:19:21 UTC
IOMux::Bundle - logical group of connections
A bundle is a set of file handles, so a convenience wrapper around a set of different connections with a single purpose. Take stdin, stdout and stderr from the viewpoint of a client process which starts an external command. So, stdin will write to th...
MARKOV/IOMux-1.01 - 15 Jan 2020 13:19:21 UTC
IOMux::Handler - handle a connection
This is the generic base class for all kinds of connections, both the readers and the writers. It is used to administer which file descriptors are in use in the mux....
MARKOV/IOMux-1.01 - 15 Jan 2020 13:19:21 UTC
IOMux::Net::TCP - handle a TCP connection
Handle a service or locally initiated TCP connection. Extends "DESCRIPTION" in IOMux::Handler::Write. Extends "DESCRIPTION" in IOMux::Handler::Read....
MARKOV/IOMux-1.01 - 15 Jan 2020 13:19:21 UTC
IOMux::Pipe::Read - read from an external command
In an event driven program, reading is harder to use than writing: the read will very probably be stalled until data has arrived, so you will need a callback to handle the resulting data. Extends "DESCRIPTION" in IOMux::Handler::Read....
MARKOV/IOMux-1.01 - 15 Jan 2020 13:19:21 UTC
IOMux::File::Read - write to file
In an event driven program, reading is harder to use than writing: the read will very probably be stalled until data has arrived, so you will need a callback to handle the resulting data. Extends "DESCRIPTION" in IOMux::Handler::Read....
MARKOV/IOMux-1.01 - 15 Jan 2020 13:19:21 UTC
IOMux::Pipe::Write - write to an external command
In an event driven program, you must be careful with every Operation System call, because it can block the event mechanism, hence the program as a whole. Often you can be lazy with writes, because its communication buffers are usually working quite a...
MARKOV/IOMux-1.01 - 15 Jan 2020 13:19:21 UTC
IOMux::File::Write - write to file
Open a file to be written. Extends "DESCRIPTION" in IOMux::Handler::Write....
MARKOV/IOMux-1.01 - 15 Jan 2020 13:19:21 UTC
IOMux::Service::TCP - TCP (socket) based service
Accept TCP connections. When a connection arrives, it will get handled by a new object which gets added to the multiplexer as well. Extends "DESCRIPTION" in IOMux::Handler::Service....
MARKOV/IOMux-1.01 - 15 Jan 2020 13:19:21 UTC
IOMux::Handler::Read - any mux reader
This base-class defines the interface which every reader offers. Extends "DESCRIPTION" in IOMux::Handler....
MARKOV/IOMux-1.01 - 15 Jan 2020 13:19:21 UTC
IOMux::Handler::Write - any mux writer
In an event driven program, you must be careful with every Operation System call, because it can block the event mechanism, hence the program as a whole. Often you can be lazy with writes, because its communication buffers are usually working quite a...
MARKOV/IOMux-1.01 - 15 Jan 2020 13:19:21 UTC
IOMux::Handler::Service - any mux service
This base-class defines what interface services provide. A service is (in the general case) a socket which is listening to incoming connections) Extends "DESCRIPTION" in IOMux::Handler....
MARKOV/IOMux-1.01 - 15 Jan 2020 13:19:21 UTC