NAME
Zing::Logic::Watcher - Watcher Logic
ABSTRACT
Watcher Process Logic Chain
SYNOPSIS
package Process;
use parent 'Zing::Process';
sub scheme {
['MyApp', [], 1]
}
package main;
use Zing::Logic::Watcher;
my $logic = Zing::Logic::Watcher->new(process => Process->new);
# $logic->execute;
DESCRIPTION
This package provides the logic (or logic chain) to be executed by the watcher process event-loop.
INHERITS
This package inherits behaviors from:
LIBRARIES
This package uses type constraints from:
ATTRIBUTES
This package has the following attributes:
fork
fork(Fork)
This attribute is read-only, accepts (Fork)
values, and is optional.
interupt
interupt(Interupt)
This attribute is read-only, accepts (Interupt)
values, and is optional.
on_launch
on_launch(CodeRef)
This attribute is read-only, accepts (CodeRef)
values, and is optional.
on_monitor
on_monitor(CodeRef)
This attribute is read-only, accepts (CodeRef)
values, and is optional.
on_perform
on_perform(CodeRef)
This attribute is read-only, accepts (CodeRef)
values, and is optional.
on_receive
on_receive(CodeRef)
This attribute is read-only, accepts (CodeRef)
values, and is optional.
on_register
on_register(CodeRef)
This attribute is read-only, accepts (CodeRef)
values, and is optional.
on_reset
on_reset(CodeRef)
This attribute is read-only, accepts (CodeRef)
values, and is optional.
on_sanitize
on_sanitize(CodeRef)
This attribute is read-only, accepts (CodeRef)
values, and is optional.
on_suicide
on_suicide(CodeRef)
This attribute is read-only, accepts (CodeRef)
values, and is optional.
process
process(Process)
This attribute is read-only, accepts (Process)
values, and is required.
scheme
scheme(Scheme)
This attribute is read-only, accepts (Scheme)
values, and is optional.
size
size(Int)
This attribute is read-only, accepts (Int)
values, and is optional.
METHODS
This package implements the following methods:
flow
flow() : Flow
The flow method builds and returns the logic flow for the process event-loop.
signals
signals() : HashRef
The signals method builds and returns the process signal handlers.
AUTHOR
Al Newkirk, awncorp@cpan.org
LICENSE
Copyright (C) 2011-2019, Al Newkirk, et al.
This is free software; you can redistribute it and/or modify it under the terms of the The Apache License, Version 2.0, as elucidated in the "license file".