Peer/Subscription/Ephemeral.pm

filter: Statementstmt 100% 15 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 19 / 19 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Peer/Subscription.pm ↑ Summary Peer/Types.pm »
1 # ABSTRACT: A Net::Object::Peer Subscription for an ephemeral peer
2 package Net::Object::Peer::Subscription::Ephemeral;
3  
4 21 ▶use 5.10.0;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 21 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 21 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 21 our $VERSION = '0.06'; # TRIAL
9  
10 21 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
11 21 extends 'Net::Object::Peer::Subscription';
12  
13 21 has '+peer' => ( is => 'ro', weak_ref => 0 );
14  
15 21 1;
16 #
17 # This file is part of Net-Object-Peer
18 #
19 # This software is Copyright (c) 2016 by Smithsonian Astrophysical Observatory.
20 #
21 # This is free software, licensed under:
22 #
23 # The GNU General Public License, Version 3, June 2007
24 #
25  
26 =pod
27  
28 =head1 NAME
29  
30 Net::Object::Peer::Subscription::Ephemeral - A Net::Object::Peer Subscription for an ephemeral peer
31  
32 =head1 VERSION
33  
34 version 0.06
35  
36 =head1 DESCRIPTION
37  
38 A B<Net::Object::Peer::Subscription::Ephemeral> object manages a
39 node's subscription to an ephemeral emitter. It keeps a strong
40 reference to the emitter so that the emitter does not disappear after
41 it's defining scope is been destroyed.
42  
43 =head1 AUTHOR
44  
45 Diab Jerius <djerius@cpan.org>
46  
47 =head1 COPYRIGHT AND LICENSE
48  
49 This software is Copyright (c) 2016 by Smithsonian Astrophysical Observatory.
50  
51 This is free software, licensed under:
52  
53 The GNU General Public License, Version 3, June 2007
54  
55 =cut
56  
57 __END__
« Peer/Subscription.pm ↑ Summary Peer/Types.pm »