NAME

Factory::ConnectionFactory - Zero Knowledge Connection Factory Class


SYNOPSIS

    use Factory::ConnectionFactory;

    $factory = new Factory::ConnectionFactory();


REQUIRES

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


EXPORTS

Nothing


DESCRIPTION

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

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


CONSTRUCTOR

new Factory::ConnectionFactory()

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

Example:

  $factory = new Factory::ConnectionFactory();


METHODS

create_SMTP_connection ( [ USER, SERVER ] )

Create an Connection::SMTP object. If USER and SERVER are specified, then the returned conncetion object will be initialized with their values and ready for use.

create_POPX_connection ( [ USER, SERVER ] )

Create a Connection::POPX object, The USER and SERVER are specified, then the returned connection object will be initialized with their values and ready for use.

create_NNTP_connection ( [ USER, SERVER ] )

Create a Connection::NNTP object, The USER and SERVER are specified, then the returned connection object will be initialized with their values and ready for use.


CLASS VARIABLES

None Present


SEE ALSO

Factory::Base, Connection::SMTP, Conncetion::POPX, Connection::NNTP


AUTHOR

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


COPYRIGHT

Copyright 2000 Zero Knowledge Systems, Inc. All rights reserved