line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Beekeeper::JSONRPC::Notification; |
2
|
|
|
|
|
|
|
|
3
|
11
|
|
|
11
|
|
77
|
use strict; |
|
11
|
|
|
|
|
21
|
|
|
11
|
|
|
|
|
331
|
|
4
|
11
|
|
|
11
|
|
58
|
use warnings; |
|
11
|
|
|
|
|
21
|
|
|
11
|
|
|
|
|
1869
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
our $VERSION = '0.09'; |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
sub new { |
10
|
0
|
|
|
0
|
0
|
|
my $class = shift; |
11
|
|
|
|
|
|
|
|
12
|
0
|
|
|
|
|
|
bless { |
13
|
|
|
|
|
|
|
jsonrpc => '2.0', |
14
|
|
|
|
|
|
|
method => undef, |
15
|
|
|
|
|
|
|
params => undef, |
16
|
|
|
|
|
|
|
@_ |
17
|
|
|
|
|
|
|
}, $class; |
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
|
20
|
0
|
|
|
0
|
1
|
|
sub method { $_[0]->{method} } |
21
|
0
|
|
|
0
|
1
|
|
sub params { $_[0]->{params} } |
22
|
0
|
|
|
0
|
1
|
|
sub id { undef } |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
sub mqtt_properties { |
25
|
0
|
|
|
0
|
1
|
|
$_[0]->{_mqtt_properties}; |
26
|
|
|
|
|
|
|
} |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
1; |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
__END__ |