set-rc:(OO::Plugin::Class::PluginMessage: $!rc is copy, *%_ --> Nil)
:
This method sets the suggested return value for the current execution chain.
OO::Plugin::Class - collection for service classes.
PluginMessage
This class is used to provide a plugin with information about the current call. In its pure form the plugin manager is using objects of this class to communicate with callbacks.
set-rc:(OO::Plugin::Class::PluginMessage: $!rc is copy, *%_ --> Nil)
:
This method sets the suggested return value for the current execution chain.
reset-rc:(OO::Plugin::Class::PluginMessage: *%_ --> Nil)
:
Reset the suggested return value.
has-rc:(OO::Plugin::Class::PluginMessage: *%_ --> Bool)
:
Returns _True_ if the suggested return value has been set.
rc:(OO::Plugin::Class::PluginMessage: *%_)
:
Suggested return value
MethodHandlerMsg
Inherits from PluginMessage
. Used to provide information for method handlers.
The base class of all plugins.
on-event:(OO::Plugin::Class::Plugin: Str:D $name, |)
:
Event handler.
on-callback:(OO::Plugin::Class::Plugin: Str:D $cb-name, OO::Plugin::Class::PluginMessage:D $msg, |)
:
Callback handler.
OO::Plugin::Manual, OO::Plugin::Manager, OO::Plugin::Class
Vadim Belman <vrurg@cpan.org>