Big Sister
|
Public Member Functions | |
Public Class Methods | |
retval | new (scalar this, scalar args) |
Public Object Methods | |
retval | setup (scalar srq, scalar gets, scalar indexes) |
called immediately before SlowReqWorker takes over setup() may copy any volatile data (like "env") over into the $srq object | |
retval | do (scalar srq) |
do one step - read data via $srq->read(), $srq->readln() or write data via $srq->write(), call $srq->status() if finished | |
Public Member Functions inherited from Requester::SlowRequester | |
TCP_port (scalar port) | |
command (scalar command) | |
timeout (scalar timeout) | |
getinfo (arrayref gets, arrayref indexes) | |
Called by the default request() method with gets set to the list of the variables, indexes set to the list of variable indexes to be retrieved. | |
criticalness (scalar criticalness) | |
returns criticalness of the handler | |
consumes (scalar consumes) | |
returns consumes of the handler | |
startup (scalar gets, scalar indexes) | |
open a connection / start a command / whatever and return a file handle | |
error (scalar srq) | |
called if an error condition (e.g. |
retval Requester::nut::do | ( | scalar | srq | ) |
do one step - read data via $srq->read(), $srq->readln() or write data via $srq->write(), call $srq->status() if finished
Reimplemented from Requester::SlowRequester.
retval Requester::nut::new | ( | scalar | this, |
scalar | args | ||
) |
retval Requester::nut::setup | ( | scalar | srq, |
scalar | gets, | ||
scalar | indexes | ||
) |
called immediately before SlowReqWorker takes over setup() may copy any volatile data (like "env") over into the $srq object
Reimplemented from Requester::SlowRequester.