NAME

Server::Base - Zero Knowledge Server Base Class


SYNOPSIS

    use Server::Base;

    $base = new Server::Base();


REQUIRES

    Perl5.004+
    ServerConfig


EXPORTS

Nothing


DESCRIPTION

This is the base class for all Server:: classes. The Server::Base class implements the methods common to all classes in this hiearchy.

The Server::Base does not sub-class any other classes.


CONSTRUCTOR

new Server::Base()

This is the constructor for the Server::Base object. This object should not be instatiated directly as it only serves as a parent class for all other Server:: classes.

Example:

  $base = new Server::Base();


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


AUTHOR

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


COPYRIGHT

Copyright 2000 Zero Knowledge Systems, Inc. All rights reserved