[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#510066: ITP: libpoe-component-generic-perl -- A POE component that provides non-blocking access to a blocking object



Package: wnpp
Severity: wishlist
Owner: Sebastien Aperghis-Tramoni <sebastien@aperghis.net>

* Package name    : libpoe-component-generic-perl
  Version         : 0.1100
  Upstream Author : Philip Gwyn, David Davis and Teknikill Software
* URL             : http://search.cpan.org/dist/POE-Component-Generic/
* License         : Perl
  Programming Lang: Perl
Description : A POE component that provides non-blocking access to a blocking object

POE::Component::Generic is a POE component that provides a non-blocking
wrapper around any object. It works by forking a child process with
POE::Wheel::Run and creating the object in the child process. Method
calls on the object are then serialised and sent to the child process
to be handled by the object there. The returned value is serialised
and sent to the parent process, where it is posted as a POE event.

Communication is done via the child's STDIN and STDOUT. This means
that all method arguments and return values must survive serialisation.
If you need to pass coderefs or other data that can't be serialised,
use "callbacks", "postbacks" or "factories".

Method calls are wrapped in eval in the child process so that errors
may be propagated back to your session.

Output to STDERR in the child, that is from your object, is shown only
if debug or verbose is set. STDOUT in the child, that is from your
object, is redirected to STDERR and will be shown in the same circomstances.


--
Sébastien Aperghis-Tramoni

Close the world, txEn eht nepO.




Reply to: