Server::MailServer - Zero Knowledge Mail Server Information Class
use Server::MailServer;
$server = new Server::MailServer();
Perl5.004+ ServerConfig Server::Base User::Base (Subclass)
Nothing
This is the mail server information class. This class encapsulates Zero Knowledge, network specific mail server information.
The Server::MailServer is a sub-class of Server::Base.
This is the constructor for the Server::MailServer 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');
Return the short-form hostname for this server information object. If NAME is supplied then it will be set internally for this server object.
Return the port number associated with this server object. If PORT is supplied then it will be set internally for this server object.
Return the connection timeout associated with this server object. If NUMBER is supplied, then it will be set internally by this server object.
Return the fully qualified hostname for this server object. If NAME is supplied then it will be set internally for this server object.
Print the contents of the server object to the default output device (stdout).
None Present
Kris Smith <krissmi@zeroknowledge.com> Philippe McLean <phillipem@zeroknowledge.com>
Copyright 2000 Zero Knowledge Systems, Inc. All rights reserved