Net::Server::Framework::Spooler - asynchronous interface for Net::Server::Framework


Net-Server-Framework documentation  | view source Contained in the Net-Server-Framework distribution.

Index


NAME

Top

Net::Server::Framework::Spooler - asynchronous interface for Net::Server::Framework based daemons

VERSION

Top

This documentation refers to Net::Server::Framework::Spooler version 1.0.

SYNOPSIS

Top

A typical invocation looks like this:

    my $put = {body => $c, user => $c->{user}};
    $c->{ID} = Net::Server::Framework::Spooler::put($put);

DESCRIPTION

Top

This interface is used to process asynchronous requests for daemons. It relies on a spooler daemon and a spool database. If present this lib handles the interaction of clients and server that need to process things in a asynchronous way.

BASIC METHODS

Top

The commands accepted by the lib are:

put

Insert a hash into the spooler

get

Retrieve a hash from the spooler

mod

Update a hash in the spooler (normally this is done when a response is processed)

del

Remove a hash from the spooler

virgin

Test if a hash is updated in the spooler. This function is called in async mode to test if we have a response or not (basic polling)

archive

This archives a hash into a archive location.

BUGS AND LIMITATIONS

Top

There are no known bugs in this module. Please report problems to Lenz Gschwendtner ( <lenz@springtimesoft.com> ) Patches are welcome.

AUTHOR

Top

Lenz Gschwendtner ( <lenz@springtimesoft.com> )

LICENCE AND COPYRIGHT

Top


Net-Server-Framework documentation  | view source Contained in the Net-Server-Framework distribution.