NAME
POE::Component::GCS::Server::Proc - Generic process handler service
VERSION
This document describes version 0.01, released November, 2005.
SYNOPSIS
use POE::Component::GCS::Server::Proc;
$ProcClass = "POE::Component::GCS::Server::Proc";
$ProcClas->spawn( Task, QueueId );
$wheel = $Log = "POE::Component::GCS::Server::Log";
my $wheelId = $wheel->ID();
my $wheelPid = $wheel->PID();
$heap->{wid} = $wheelId;
$heap->{pid} = $wheelPid;
DESCRIPTION
Constructor
- spawn ( Task, QueueId )
-
The spawn method is used to start a child process.
- Task
-
The Task is expected to be an object of the 'POE::Event::Message' class or a subclass thereof.
- QueueId
-
This parameter is expected to be a unique identifier for each task that runs concurrently. It is used to map a task to an arbitrary external resource.
Methods
There are no public methods defined in this class.
DEPENDENCIES
This class is expected to be run within the context of a POE 'Session.'
SEE ALSO
For discussion of the generic server, see POE::Component::GCS::Server. For discussion of server configuration, see POE::Component::GCS::Server::Cfg.
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.