NAME

Net::SeedServe::Server - Perl module for implementing a seed server.

DESCRIPTION

None yet. Consult the code, and the examples in the tests directory.

METHODS

$obj = Net::SeedServe::Server->new(status_file => $status_filename);

Initialises a new object with the status filename.

$server->start()

Starts the server on a port starting from port 3,000. Returns a hash ref containing the port.

$server->connect(status_file => $status_filename)

Connects to an existing Server whose status file is $status_filename.

$server->stop()

Stops the service by killing the listening process.

$server->clear();

Sends a clear transaction that clears the seeds of the seed server.

$server->enqueue(\@seeds);

Enqueues several seeds in the server to be served next.

AUTHOR

Shlomi Fish, http://www.shlomifish.org/ .

COPYRIGHT AND LICENSE

Copyright (C) 2005 by Shlomi Fish

This library is free software, you can redistribute and/or modify and/or use it under the terms of the MIT X11 license.