NAME

XAS::Lib::Service::Unix - A mixin class for Unix Services

DESCRIPTION

This module is a mixin that provides an interface between a Unix like system and a Service. It responds to these additional signals.

 TSTP - pause the session
 CONT - resume the session

It allows POE to manage the scheduling of sessions while handling the additional signals to emulate the Windows SCM.

METHODS

init_service

Perform initialize for this mixin.

session_interrupt

Handle Unix signals and translate them into service events.

poll

Handle the services polling loop.

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.