NAME

Domain::NymUser - Zero Knowledge Network NYM Domain Base Class


SYNOPSIS

use Domain::NymUser;

$domain = new Domain::NymUser();


REQUIRES

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


EXPORTS

Nothing


DESCRIPTION

This is the domain information class for network users. This class encapsuates Zero Knowledge, network specific domain information for Zero Knowledge network users.

The Domain::NymUser is a sub-class of Domain::Base.


CONSTRUCTOR

new Domain::Base()

This is the constructor for the Domain::NymUser object. A new domain object will be automagically initialized from the Zero Knowledge network specific parameter files.

OPTIONS are passed in a hash like fashion, using key and value pairs and may be used to override the default items. This is NOT recommended as the netwok specific parameters associated with this domain are guaranteed to be correct for the currently active Zero Knowledge network.

Possible options are:

Hello_Domain - The domain name as presented to [E]SMTP servers on initial contact.

Mail_Domain - The domain name used for construction of Internet email addresses.

News_Domain - The domain name used for construction of hostnames for Internet news servers.

Example:

$domain = new Domain::NymUser( Hello_Domain => 'test.zks.net', Mail_Domain => 'dev.zks.net');


METHODS

hello_domain ( [ DOMAIN ] )

Returns the 'hello' domain name associated with this domain object. If DOMAIN is supplied, then it will be set by the domain object.

mail_domain ( [ DOMAIN ] )

Returns the mail domain name associated with this domain object. If DOMAIN is supplied, then it will be set by the domain object.

news_domain ( [ DOMAIN ] )

Returns the news domain name associated with this domain object. If DOMAIN is supplied, then it will be set by the domain object.


CLASS VARIABLES

None Present


SEE ALSO

Domain::NymUser


AUTHOR

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


COPYRIGHT

Copyright 2000 Zero Knowledge Systems, Inc. All rights reserved