| 1 | package Log::Saftpresse::Input; | ||
| 2 | |||
| 3 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | # ABSTRACT: base class for a log input | ||
| 6 | 1 | our $VERSION = '1.5'; # VERSION | |
| 7 | |||
| 8 | 1 | has 'name' => ( is => 'ro', isa => 'Str', required => 1 ); | |
| 9 | |||
| 10 | sub io_handles { | ||
| 11 | 0 | ▶ | my $self = shift; |
|
Subroutine
io_handles: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 12 | 0 | die('not implemented'); | |
| 13 | 0 | return; | |
| 14 | } | ||
| 15 | |||
| 16 | sub can_read { | ||
| 17 | 0 | ▶ | my $self = shift; |
|
Subroutine
can_read: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 18 | 0 | die('not implemented'); | |
| 19 | 0 | return 0; | |
| 20 | } | ||
| 21 | |||
| 22 | sub read_events { | ||
| 23 | 0 | ▶ | my ( $self, $counters ) = @_; |
|
Subroutine
read_events: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 24 | 0 | die('not implemented'); | |
| 25 | 0 | return( { message => 'hello world' } ); | |
| 26 | } | ||
| 27 | |||
| 28 | sub eof { | ||
| 29 | 0 | ▶ | my $self = shift; |
|
Subroutine
eof: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 30 | 0 | die('not implemented'); | |
| 31 | 0 | return 0; | |
| 32 | } | ||
| 33 | |||
| 34 | 0 | ▶ | sub init { return; } |
|
Subroutine
init: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 35 | |||
| 36 | 1 | 1; | |
| 37 | |||
| 38 | __END__ | ||
| 39 | |||
| 40 | =pod | ||
| 41 | |||
| 42 | =encoding UTF-8 | ||
| 43 | |||
| 44 | =head1 NAME | ||
| 45 | |||
| 46 | Log::Saftpresse::Input - base class for a log input | ||
| 47 | |||
| 48 | =head1 VERSION | ||
| 49 | |||
| 50 | version 1.5 | ||
| 51 | |||
| 52 | =head1 AUTHOR | ||
| 53 | |||
| 54 | Markus Benning <ich@markusbenning.de> | ||
| 55 | |||
| 56 | =head1 COPYRIGHT AND LICENSE | ||
| 57 | |||
| 58 | This software is Copyright (c) 1998 by James S. Seymour, 2015 by Markus Benning. | ||
| 59 | |||
| 60 | This is free software, licensed under: | ||
| 61 | |||
| 62 | The GNU General Public License, Version 2, June 1991 | ||
| 63 | |||
| 64 | =cut | ||