NAME

Server::NymServer - Zero Knowledge Mail Server Information Class


SYNOPSIS

    use Server::NymServer;

    $server = new Server::NymServer();


REQUIRES

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


EXPORTS

Nothing


DESCRIPTION

This is the pseudo NYM server information class. This class encapsulates Zero Knowledge, network specific pseudo NYM server information.

The Server::NymServer is a sub-class of Server::Base.


CONSTRUCTOR

new Server::NymServer()

This is the constructor for the Server::NymServer object. A new server 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 server are guaranteed to be correct for the currently active Zero Knowledge network.

Possible options are:

Name - The fully qualified hostname.

Port - The network port this server respresents.

Timeout - The connection timeout.

Example:

$server = new User::Base( Name => 'mailhost.zks.net', Port => '6092', Timeout => '120');


METHODS

name( NAME )

Return the short-form hostname for this server information object. If NAME is supplied then it will be set internally for this server object.

port( PORT )

Return the port number associated with this server object. If PORT is supplied then it will be set internally for this server object.

timeout( NUMBER )

Return the connection timeout associated with this server object. If NUMBER is supplied, then it will be set internally by this server object.

fqdn( NAME )

Return the fully qualified hostname for this server object. If NAME is supplied then it will be set internally for this server object.

print()

Print the contents of the server object to the default output device (stdout).


CLASS VARIABLES

None Present


SEE ALSO

Server::Base


AUTHOR

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


COPYRIGHT

Copyright 2000 Zero Knowledge Systems, Inc. All rights reserved