File tree Expand file tree Collapse file tree 3 files changed +65
-0
lines changed Expand file tree Collapse file tree 3 files changed +65
-0
lines changed Original file line number Diff line number Diff line change 1+ <?php declare (strict_types=1 );
2+
3+ /*
4+ * This file is part of the PHP Event Correlation package.
5+ *
6+ * (c) James Lucas <[email protected] > 7+ *
8+ * For the full copyright and license information, please view the LICENSE
9+ * file that was distributed with this source code.
10+ */
11+
12+ namespace EdgeTelemetrics \EventCorrelation \Rule ;
13+
14+ use EdgeTelemetrics \EventCorrelation \Scheduler ;
15+
16+ /**
17+ * Class OnStartup
18+ * @package EdgeTelemetrics\EventCorrelation\Rule
19+ */
20+ abstract class OnHeartbeat extends MatchSingle
21+ {
22+ const EVENTS = [[Scheduler::CONTROL_MSG_HEARTBEAT ]];
23+ }
Original file line number Diff line number Diff line change 1+ <?php declare (strict_types=1 );
2+
3+ /*
4+ * This file is part of the PHP Event Correlation package.
5+ *
6+ * (c) James Lucas <[email protected] > 7+ *
8+ * For the full copyright and license information, please view the LICENSE
9+ * file that was distributed with this source code.
10+ */
11+
12+ namespace EdgeTelemetrics \EventCorrelation \Rule ;
13+
14+ /**
15+ * Class OnShutdown
16+ * @package EdgeTelemetrics\EventCorrelation\Rule
17+ */
18+ abstract class OnShutdown extends Cron
19+ {
20+ const CRON_SCHEDULE = self ::ON_SHUTDOWN ;
21+ }
Original file line number Diff line number Diff line change 1+ <?php declare (strict_types=1 );
2+
3+ /*
4+ * This file is part of the PHP Event Correlation package.
5+ *
6+ * (c) James Lucas <[email protected] > 7+ *
8+ * For the full copyright and license information, please view the LICENSE
9+ * file that was distributed with this source code.
10+ */
11+
12+ namespace EdgeTelemetrics \EventCorrelation \Rule ;
13+
14+ /**
15+ * Class OnStartup
16+ * @package EdgeTelemetrics\EventCorrelation\Rule
17+ */
18+ abstract class OnStartup extends Cron
19+ {
20+ const CRON_SCHEDULE = self ::ON_INITIALISATION ;
21+ }
You can’t perform that action at this time.
0 commit comments