| POE-Component-Client-MPD documentation | Contained in the POE-Component-Client-MPD distribution. |
POE::Component::Client::MPD::Message - a message from POCOCM
version 1.100430
print $msg->data . "\n";
POE::Component::Client::MPD::Message is more a placeholder for a hash ref with some pre-defined keys.
This module has a new() constructor, which should only be called by
one of the POCOCM's modules.
The other public methods are the following accessors:
The event sent to POCOCM.
The params of the event to POCOCM, as sent by client.
The status of the request. True for success, False in case of error.
Jerome Quelin
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.
| POE-Component-Client-MPD documentation | Contained in the POE-Component-Client-MPD distribution. |
# # 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; our $VERSION = '1.100430'; # ABSTRACT: a message from POCOCM 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__