NAME

POE::Component::Client::MPD::Message - a message from POCOCM

SYNOPSIS

print $msg->data . "\n";

DESCRIPTION

POCOCM::Message is more a placeholder for a hash ref with some pre-defined keys.

PUBLIC METHODS

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:

  • data()

    The data returned by mpd, as an array reference.

  • error()

    Set if there was some error returned by mpd. Always assured to be undef if everything went fine.

SEE ALSO

For all related information (bug reporting, mailing-list, pointers to MPD and POE, etc.), refer to POE::Component::Client::MPD's pod, section SEE ALSO

AUTHOR

Jerome Quelin, <jquelin at cpan.org>

COPYRIGHT & LICENSE

Copyright 2007 Jerome Quelin, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA