The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

XAS::Lib::POE::Service - The base class for service sessions.

SYNOPSIS

 my $session = XAS::Lib::POE::Service->new(
     -alias => 'name',
 );

DESCRIPTION

This module inherits and extends XAS::Lib::POE::Session. It adds several more event types that can be signaled from registered sessions with XAS::Lib::Service.

The method session_initialize() is used to define this event types:

    session_idle
    session_pause
    session_resume
    session_status

While signal processing for HUP is not changed.

METHODS

session_idle

This mehod is called during the sessions idle time. The idle time is defined in XAS::Lib::Service.

session_pause

This method is called when the service has been requested to pause processing.

session_resume

This method is called when the service has been requested to resume processing.

session_status

This method returns the status of the session.

SEE ALSO

XAS
XAS::Lib::Service

AUTHOR

Kevin L. Esteb, <kevin@kesteb.us>

COPYRIGHT AND LICENSE

Copyright (C) 2014 Kevin L. Esteb

This is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0. For details, see the full text of the license at http://www.perlfoundation.org/artistic_license_2_0.