Daisuke Maki
and 1 contributors

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.