NAME

Factory::NymFactory - Zero Knowledge Network NYM Factory Class


SYNOPSIS

    use Factory::NymFactory;

    $base = new Factory::NymFactory();


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 network NYM classes. The class methods exposed by Factory::NymFactory create specific instances of the various connection classes.

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


CONSTRUCTOR

new Factory::NymFactory()

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

Example:

  $factory = new Factory::NymFactory();


METHODS

create_random_valid_nym ()

Create a randomly generated NYM user from the currently active Zero Knowledge network.

create_random_bogus_nym ()

Create a randomly generated NYM user invalid for the currently active Zero Knowledge network.


CLASS VARIABLES

None Present


SEE ALSO

Factory::Base, User::Nym


AUTHOR

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


COPYRIGHT

Copyright 2000 Zero Knowledge Systems, Inc. All rights reserved