File Coverage

blib/lib/Protocol/Database/PostgreSQL/Message.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package Protocol::Database::PostgreSQL::Message;
2              
3 1     1   429 use strict;
  1         3  
  1         30  
4 1     1   5 use warnings;
  1         3  
  1         53  
5              
6             our $VERSION = '1.005'; # VERSION
7              
8             =head1 NAME
9              
10             Protocol::Database::PostgreSQL::Message - base class for all message types
11              
12             =head1 METHODS
13              
14             Note that these are all defined in subclasses - this module just acts
15             as a common base to document the interface.
16              
17             =head2 build
18              
19             Constructs a message packet.
20              
21             =head2 new_from_message
22              
23             Parses a message packet (as a byte string) into an instance.
24              
25             =cut
26              
27             1;
28              
29             =head1 AUTHOR
30              
31             Tom Molesworth
32              
33             =head1 LICENSE
34              
35             Copyright Tom Molesworth 2010-2019. Licensed under the same terms as Perl itself.
36