Group :: Desenvolvimento/Perl
RPM: perl-Object-Pluggable
Principal Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
A versão atual: 1.29-alt1
Data da compilação: 22 novembro 2010, 10:50 ( 699.5 weeks ago )
Tamanho:: 26.83 Kb
Home page: http://www.cpan.org
Licença: Artistic
Sumário: A base class for creating plugin-enabled objects
Descrição:
Lista dos contribuidores Lista dos rpms provida por esta srpm:
ACL:
Data da compilação: 22 novembro 2010, 10:50 ( 699.5 weeks ago )
Tamanho:: 26.83 Kb
Home page: http://www.cpan.org
Licença: Artistic
Sumário: A base class for creating plugin-enabled objects
Descrição:
Object::Pluggable is a base class for creating plugin enabled objects.
It is a generic port of POE::Component::IRC's plugin system.
If your object dispatches events to listeners, then Object::Pluggable
may be a good fit for you.
Basic use would involve subclassing Object::Pluggable, then overriding
"_pluggable_event()" and inserting "_pluggable_process()" wherever you
dispatch events from.
Users of your object can then load plugins using the plugin methods
provided to handle events generated by the object.
You may also use plugin style handlers within your object as
"_pluggable_process()" will attempt to process any events with local
method calls first. The return value of these handlers has the same
significance as the return value of 'normal' plugin handlers.
Mantenedor currente: Alexey Shabalin It is a generic port of POE::Component::IRC's plugin system.
If your object dispatches events to listeners, then Object::Pluggable
may be a good fit for you.
Basic use would involve subclassing Object::Pluggable, then overriding
"_pluggable_event()" and inserting "_pluggable_process()" wherever you
dispatch events from.
Users of your object can then load plugins using the plugin methods
provided to handle events generated by the object.
You may also use plugin style handlers within your object as
"_pluggable_process()" will attempt to process any events with local
method calls first. The return value of these handlers has the same
significance as the return value of 'normal' plugin handlers.
Lista dos contribuidores Lista dos rpms provida por esta srpm:
- perl-Object-Pluggable