Factory::ConnectionFactory - Zero Knowledge Connection Factory Class
use Factory::ConnectionFactory;
$factory = new Factory::ConnectionFactory();
Perl5.004+ Factory::Base Connection::Base (Sub-class) Domain::Base (Sub-class) Server::Base (Sub-class) User::Base (Subclass)
Nothing
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.
This is the constructor for the Factory::ConnectionFactory object.
Example:
$factory = new Factory::ConnectionFactory();
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 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 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.
None Present
Factory::Base, Connection::SMTP, Conncetion::POPX, Connection::NNTP
Kris Smith <krissmi@zeroknowledge.com> Philippe McLean <phillipem@zeroknowledge.com>
Copyright 2000 Zero Knowledge Systems, Inc. All rights reserved