Add p5-POE-Session-MultiDispatch 1.3,

callback dispatch for session
events.
This commit is contained in:
Sergey Skvortsov 2003-06-02 10:15:12 +00:00
parent ed66ce00fe
commit da57acccdd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=81981
5 changed files with 51 additions and 0 deletions

View file

@ -617,6 +617,7 @@
SUBDIR += p5-POE-Component-Pcap
SUBDIR += p5-POE-Component-RSS
SUBDIR += p5-POE-Session-Cascading
SUBDIR += p5-POE-Session-MultiDispatch
SUBDIR += p5-PPerl
SUBDIR += p5-PV
SUBDIR += p5-Parallel-ForkManager

View file

@ -0,0 +1,26 @@
# New ports collection makefile for: POE-Session-MultiDispatch
# Date created: 02 June 2003
# Whom: Sergey Skvortsov <skv@protey.ru>
#
# $FreeBSD$
#
PORTNAME= POE-Session-MultiDispatch
PORTVERSION= 1.3
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= POE
PKGNAMEPREFIX= p5-
MAINTAINER= skv@FreeBSD.org
COMMENT= Callback dispatch for session events
RUN_DEPENDS= ${SITE_PERL}/POE.pm:${PORTSDIR}/devel/p5-POE
BUILD_DEPENDS= ${RUN_DEPENDS} \
${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
PERL_CONFIGURE= yes
MAN3= POE::Session::MultiDispatch.3
.include <bsd.port.mk>

View file

@ -0,0 +1 @@
MD5 (POE-Session-MultiDispatch-1.3.tar.gz) = 59b2e2614c3a048d4ad5d0bd87ecd044

View file

@ -0,0 +1,18 @@
POE::Session::MultiDispatch is a drop in replacement for POE::Session
that adds callback dispatch functionality to POE sessions. Each event
may have multiple handlers associated with it. Fine control over the
order of execution is available using helper methods that extend the
interface of a POE::Session.
POE::Session::MultiDispatch uses POE::Session as a base class. When
multiple callbacks are registered for an event, only the last callback
survives, all the others are clobbered. POE::Session::MultiDispatch is
much nicer to your registered callbacks, it keeps them all in the order
they were defined. When an event is triggered, all the callbacks are
then executed in that same order (unless you muck around with said
order).
WWW: http://search.cpan.org/dist/POE-Session-MultiDispatch/
-- Sergey Skvortsov
skv@FreeBSD.org

View file

@ -0,0 +1,5 @@
%%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Session/MultiDispatch/.packlist
%%SITE_PERL%%/POE/Session/MultiDispatch.pm
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Session/MultiDispatch
@unexec rmdir %D/%%SITE_PERL%%/POE 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/POE 2>/dev/null || true