NAME

SRS::EPP::Message - abstract type for a single message particle

SYNOPSIS

my $msg = SRS::EPP::Message->new(
    message => $object,
    xml => $xml,
    error => $message,
    );
# convert a message to XML
$message->to_xml;

DESCRIPTION

This class is a common ancestor of EPP commands and responses, as well as SRS requests and responses. Currently the only method that all of these implement is conversion to XML; however parsing is likely to follow.

SEE ALSO

SRS::EPP::Command, SRS::EPP::Response

What space should we stick SRS messages under? I reckon maybe plain SRS::Request:: and SRS::Response::, and subclass them...