BSD Ports

net/p5-POE-Component-Generic 0.1403 MidnightBSD

Provides non-blocking access to a blocking object

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
artistic, gpl+
Categories
net, perl5

Description

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 are then serialised and sent via STDIN to the child to be handled. Return values are posted back to your session via STDOUT. This means that all method arguments and return values must survive serialisation. If you need to pass coderefs, 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. See "OUTPUT".

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.

In the other systems

SystemPortVersion
MidnightBSDnet/p5-POE-Component-Generic0.1403
FreeBSDnet/p5-POE-Component-Generic0.1403
DragonFlynet/p5-POE-Component-Generic0.1403
HardenedBSDnet/p5-POE-Component-Generic0.1403
GhostBSDnet/p5-POE-Component-Generic0.1403

Install

Binary package:

mport install p5-POE-Component-Generic

From mports:

cd /usr/mports/net/p5-POE-Component-Generic && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-POE-Component-Generic>0:net/p5-POE-Component-Generic

Dependencies

As this port's Makefile names them.

Build 3

Runtime 3

Build dependencies 3
Run dependencies 3

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 8
  • %%SITE_PERL%%/POE/Component/Generic.pm
  • %%SITE_PERL%%/POE/Component/Generic/Child.pm
  • %%SITE_PERL%%/POE/Component/Generic/Net/SSH2.pm
  • %%SITE_PERL%%/POE/Component/Generic/Object.pm
  • %%PERL5_MAN3%%/POE::Component::Generic.3.gz
  • %%PERL5_MAN3%%/POE::Component::Generic::Child.3.gz
  • %%PERL5_MAN3%%/POE::Component::Generic::Net::SSH2.3.gz
  • %%PERL5_MAN3%%/POE::Component::Generic::Object.3.gz
distinfo 1
FileSizeSHA256
POE-Component-Generic-0.1403.tar.gz391012acc5c6167d727cf55b340deb3946ea1a8dad12a8276fab578fd9c84bad399fd
Master sites 1
  • CPAN