The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

POE::Component::GCS::Server::Task - Generic event-driven task service

VERSION

This document describes version 0.05, released March, 2006.

SYNOPSIS

use POE::Component::GCS::Server::Task;
spawn POE::Component::GCS::Server::Task;

DESCRIPTION

This class is used to create a POE session that manages short term tasks. A timer can be used to initiate routine ongoing types of tasks.

Constructor

spawn ( )

This creates a new generic POE 'Session' that can be used to run routine tasks on an ongoing basis.

Methods

getObjectStates
_start
setTimer

Events

handle_routine_tasks
handle_set_delay
handle_send_response

DEPENDENCIES

This class expects to run within the POE framework.

SEE ALSO

For discussion of the generic server, see POE::Component::GCS::Server. For discussion of the message protocol, see POE::Event::Message.

AUTHOR

Chris Cobb, <no spam [at] ccobb [dot] net>

COPYRIGHT

Copyright (c) 2005-2007 by Chris Cobb. All rights reserved. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.