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
| System | Port | Version |
|---|---|---|
| MidnightBSD | net/p5-POE-Component-Generic | 0.1403 |
| FreeBSD | net/p5-POE-Component-Generic | 0.1403 |
| DragonFly | net/p5-POE-Component-Generic | 0.1403 |
| HardenedBSD | net/p5-POE-Component-Generic | 0.1403 |
| GhostBSD | net/p5-POE-Component-Generic | 0.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
p5-Devel-Symdump>=0: devel/p5-Devel-Symdumpp5-Net-SSH2>=0: net/p5-Net-SSH2p5-POE>=0.31: devel/p5-POE
Runtime 3
p5-Devel-Symdump>=0: devel/p5-Devel-Symdumpp5-Net-SSH2>=0: net/p5-Net-SSH2p5-POE>=0.31: devel/p5-POE
Build dependencies 3
Run dependencies 3
Required by 1
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
| File | Size | SHA256 |
|---|---|---|
| POE-Component-Generic-0.1403.tar.gz | 39101 | 2acc5c6167d727cf55b340deb3946ea1a8dad12a8276fab578fd9c84bad399fd |
Master sites 1
- CPAN