/usr/share/perl5/POE/Component/Client/MPD/Message.pm is in libpoe-component-client-mpd-perl 2.000-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 | #
# This file is part of POE-Component-Client-MPD
#
# This software is copyright (c) 2007 by Jerome Quelin.
#
# This is free software; you can redistribute it and/or modify it under
# the same terms as the Perl 5 programming language system itself.
#
use 5.010;
use strict;
use warnings;
package POE::Component::Client::MPD::Message;
# ABSTRACT: a message from POCOCM
$POE::Component::Client::MPD::Message::VERSION = '2.000';
use Moose;
use MooseX::Has::Sugar;
use MooseX::SemiAffordanceAccessor;
use MooseX::Types::Moose qw{ ArrayRef Bool Str };
use POE::Component::Client::MPD::Types;
has request => ( ro, required, isa=>'Maybe[Str]' );
has params => ( ro, required, isa=>ArrayRef );
has status => ( rw, isa=>Bool );
has _data => ( rw );
has _commands => ( rw, isa=>ArrayRef );
has _cooking => ( rw, isa=>'Cooking' );
has _transform => ( rw, isa=>'Transform' );
has _post => ( rw, isa=>'Maybe[Str]' );
has _from => ( rw, isa=>Str );
no Moose;
__PACKAGE__->meta->make_immutable;
1;
__END__
=pod
=head1 NAME
POE::Component::Client::MPD::Message - a message from POCOCM
=head1 VERSION
version 2.000
=head1 SYNOPSIS
print $msg->data . "\n";
=head1 DESCRIPTION
L<POE::Component::Client::MPD::Message> is more a placeholder for a hash
ref with some pre-defined keys.
=head1 PUBLIC METHODS
This module has a C<new()> constructor, which should only be called by
one of the C<POCOCM>'s modules.
The other public methods are the following accessors:
=over 4
=item * request()
The event sent to POCOCM.
=item * params()
The params of the event to POCOCM, as sent by client.
=item * status()
The status of the request. True for success, False in case of error.
=back
=head1 AUTHOR
Jerome Quelin
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2007 by Jerome Quelin.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
=cut
|