| 1 | package Protocol::Database::PostgreSQL::Message; | ||
| 2 | |||
| 3 | 28 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 28 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 28 | our $VERSION = '2.000'; # 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 | 28 | 1; | |
| 28 | |||
| 29 | =head1 AUTHOR | ||
| 30 | |||
| 31 | Tom Molesworth <TEAM@cpan.org> | ||
| 32 | |||
| 33 | =head1 LICENSE | ||
| 34 | |||
| 35 | Copyright Tom Molesworth 2010-2019. Licensed under the same terms as Perl itself. | ||
| 36 | |||