NAME

Factory::ServerFactory - Zero Knowledge Server Factory Class


SYNOPSIS

    use Factory::ServerFactory;

    $factory = new Factory::ServerFactory();


REQUIRES

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


EXPORTS

Nothing


DESCRIPTION

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

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


CONSTRUCTOR

new Factory::ServerFactory()

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

Example:

  $factory = new Factory::ServerFactory();


METHODS

create_random_SMTP_server ( USER )

Create an Server::MailServer object for the SMTP protocol. USER will be set by the server object internally. If USER is not supplied, then undef is returned.

create_random_RELAY_server ( USER )

Create an Server::MailServer object for the SMTP protocol. USER will be set by the server object internally. If USER is not supplied, then undef is returned.

create_random_POPX_server ( USER )

Create an Server::MailServer object for the POPx protocol. USER will be set by the server object internally. If USER is not supplied, then undef is returned.

create_random_NNTP_server ( USER )

Create an Server::NewsServer object for the NNTP protocol. USER will be set by the server object internally. If USER is not supplied, then undef is returned.

create_random_NYM_server ()

Create an Server::NymServer object for use in accessing a remote pseudo NYM server.

create_all_NMTA_servers ()

Create a list of ALL the valid NMTA servers for the currently active Zero Knowledge network.

create_all_POPZ_servers ()

Create a list of ALL the valid ZKS POP servers for the currently active Zero Knowledge network.

create_all_POP3_servers ()

Create a list of ALL the valid POP3 servers for the currently active Zero Knowledge network.

create_all_IMEP_servers ()

Create a list of ALL the valid IMEP servers for the currently active Zero Knowledge network.

create_all_RELAY_servers ()

Create a list of ALL the valid RELAY servers for the currently active Zero Knowledge network.


CLASS VARIABLES

None Present


SEE ALSO

Factory::Base, Server::MailServer, Server::NewsServer, Server::NymServer


AUTHOR

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


COPYRIGHT

Copyright 2000 Zero Knowledge Systems, Inc. All rights reserved