DUPUIS Arnaud > slackget10 > slackget10::Network::Message

Download:
slackget10-0.12c.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 0.9.1   Source  

NAME ^

slackget10::Network::Message - The response object for slackget10::Network class

VERSION ^

Version 1.0.0

SYNOPSIS ^

This class is the message object used by the slackget10::Network class to return informations from the network connection.

This module is the evolution of the old slackget10::Network::Response.

new

the constructor takes no argument.

is_success

true if the operation is a success

is_error

true if the operation is an error

error_msg

return a string containing an error message. Works only if $response->is_error() is true.

have_choice

true if the daemon return a choice

data

return all raw data returned by the remote daemon

action

return (or set) the action of the message (all network messages must have an action).

AUTHOR ^

DUPUIS Arnaud, <a.dupuis@infinityperl.org>

BUGS ^

Please report any bugs or feature requests to bug-slackget10@rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=slackget10. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT ^

You can find documentation for this module with the perldoc command.

    perldoc slackget10

You can also look for information at:

ACKNOWLEDGEMENTS ^

Thanks to Bertrand Dupuis (yes my brother) for his contribution to the documentation.

COPYRIGHT & LICENSE ^

Copyright 2005 DUPUIS Arnaud, All Rights Reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.