NAME

Factory::MessageFactory - Zero Knowledge Message Factory Class


SYNOPSIS

    use Factory::MessageFactory;

    $base = new Factory::MessageFactory();


REQUIRES

    Perl5.004+
    Factory::Base
    Message::Base (Sub-class)
    Domain::Base (Sub-class)
    Server::Base (Sub-class)
    User::Base (Subclass)


EXPORTS

Nothing


DESCRIPTION

This is the factory class for all Message classes. The class methods exposed by Factory::MessageFactory create specific instances of the various message classes.

The Factory::MessageFactory is a sub-class of Factory::Base.


CONSTRUCTOR

new Factory::MessageFactory()

This is the constructor for the Factory::MessageFactory object.

Example:

  $factory = new Factory::MessageFactory();


METHODS

create_MAIL_message ()

Create an Message::MailMessage object. The returned message object is not initialized beyond the default initialization.


CLASS VARIABLES

None Present


SEE ALSO

Factory::Base, Message::MailMessage, Message::NewsMessage


AUTHOR

Kris Smith <krissmi@zeroknowledge.com> Philippe McLean <phillipem@zeroknowledge.com>


COPYRIGHT

Copyright 2000 Zero Knowledge Systems, Inc. All rights reserved