Vincenzo Zocca > Net-FreeDB2-0.8.2.6 > Net::FreeDB2::Response::SignOn

Download:
Net-FreeDB2-0.8.2.6.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View Bugs
Report a bug
Module Version: 0.8.2.4   Source  

NAME ^

Net::FreeDB2::Response::SignOn - FreeDB/CDDB sign-on response class

SYNOPSIS ^

See Net::FreeDB2.

DESCRIPTION ^

The Net::FreeDB2::Response::SignOn class contains FreeDB/CDDB response information for the sign-on process. It is a subclass of Net::FreeDB2::Response.

CONSTRUCTOR ^

new ([OPT_HASH_REF])

Creates a new Net::FreeDB2::Response::SignOn object. Calls read () if option content_ref is passed through OPT_HASH_REF.

Options for OPT_HASH_REF may include:

content_ref

If defined, passed to read ().

METHODS ^

read (OPT_HASH_REF)

Reads a FreeDB/CDDB response from the content_ref option passed through HASH reference OPT_HASH_REF. Throws an Error::Simple exception option content_ref is not specified or if the first line of content_ref does not contain a valid code.

Options for OPT_HASH_REF may include:

content_ref

Mandatory option containing the content replies from the FreeDB/CDDB server.

setWritePermission (VALUE)

Set the write permission attribute. VALUE is the value.

hasWritePermission ()

Returns the write permission attribute.

setHostname (VALUE)

Set the hostname attribute. VALUE is the value.

getHostname ()

Returns the hostname attribute.

setVersion (VALUE)

Set the version attribute. VALUE is the value.

getVersion ()

Returns the version attribute.

setDate (VALUE)

Set the date attribute. VALUE is the value.

getDate ()

Returns the date attribute.

SEE ALSO ^

Net::FreeDB2::Response.

BUGS ^

None known.

HISTORY ^

First development: September 2002

AUTHOR ^

Vincenzo Zocca <Vincenzo@Zocca.com>

COPYRIGHT ^

Copyright 2002, Vincenzo Zocca.

LICENSE ^

This file is part of the Net::FreeDB2 module hierarchy for Perl by Vincenzo Zocca.

The Net::FreeDB2 module hierarchy 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.

The Net::FreeDB2 module hierarchy 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 the Net::FreeDB2 module hierarchy; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA