NAME

XML::EPP::Greeting - a server greeting message

SYNOPSIS

use MooseX::TimestampTZ qw(gmtimestamptz);

my $greeting = XML::EPP::Greeting->new(
    server_name => "myhostname",
    current_time => gmtimestamptz,
    services => "auto",
    dcp => {
        access => "personalAndOther",
        statement => {
            purpose => "prov",
            recipient => "ours",
            retention => "business",
        },
        expiry => "PY1",
    },
    );

DESCRIPTION

This class represents the epp:greetingType defined in RFC5730. Messages of this type are returned by the server on a new connection, or in response to a hello message (see XML::EPP::Hello).

The following properties are defined;

server_name

(Str; XML: svID) "the name of the server"

server_time

(Str; XML: svDate) "the server's current date and time in Universal Coordinated Time (UTC).

services

(XML::EPP::SvcMenu; XML: svcMenu) "identifies the services supported by the server" - essentially a protocol feature/version negotiation property. Set to auto on the server for automagic setting of values based on globals defined in XML::EPP.

dcp

(XML::EPP::DCP) describes "the server's privacy policy for data collection and management".

SEE ALSO

XML::EPP, XML::EPP::Response, XML::EPP::DCP

AUTHOR AND LICENSE

Development commissioned by NZ Registry Services, and carried out by Catalyst IT - http://www.catalyst.net.nz/

Copyright 2009, 2010, NZ Registry Services. This module is licensed under the Artistic License v2.0, which permits relicensing under other Free Software licenses.