Daisuke Maki > Gungho > Gungho::Provider

Download:
Gungho-0.09008.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  6
Open  4
View/Report Bugs
Source  

NAME ^

Gungho::Provider - Base Class For Gungho Prividers

METHODS ^

has_requests

Returns true if there are still more requests to be processed.

dispatch($c)

Dispatch requests to be fetched to the Gungho framework

dispatch_request($c, $req)

Dispatch a single request

pushback_request($c, $req)

Push back a request which couldn't be sent to the engine, for example because the request was throttled.

stop($reason)

Stop the Provider. Place code that needs to be executed to shutdown the provider here.

syntax highlighting: