NAME
Reflex::POE::Event - Communicate with POE components expecting events.
VERSION
version 0.004
SYNOPSIS
# Not a complete example. Please see eg-12-poco-event.pl in the # examples for a working one.
$self->run_within_session(
sub {
$self->component->request(
Reflex::POE::Event->new(
object => $self,
method => "on_component_result",
context => { cookie => 123 },
),
);
}
);
TODO - Needs a better example.
DESCRIPTION
Reflex::POE::Event creates an object that may be used as a POE event. When this event is posted back to Reflex, it will be routed to the proper Reflex::Object and method.
Reflex will clean up its bookkeeping for this event when the object is destroyed. It's therefore important to maintain the object's blessing until it's definitely through being used.
TODO - Is there a better, more reliable way to track the end of an event's use?
TODO - Complete the documentation.
GETTING HELP
ACKNOWLEDGEMENTS
SEE ALSO
Reflex and "SEE ALSO" in Reflex
BUGS
CORE AUTHORS
OTHER CONTRIBUTORS
"OTHER CONTRIBUTORS" in Reflex