X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FObject%2FRemote%2FNode.pm;h=f6d05cad566ee3dcad2b396fdaab1b7adf411181;hb=8dbf62a5ac5687ab0492c1bc22277fa25b4bbb2f;hp=a3f88a5094d431002cff563b077121499ccd1891;hpb=e42ea8c86203339ab8290ec9f6647778f0bdec1c;p=scpubgit%2FObject-Remote.git diff --git a/lib/Object/Remote/Node.pm b/lib/Object/Remote/Node.pm index a3f88a5..f6d05ca 100644 --- a/lib/Object/Remote/Node.pm +++ b/lib/Object/Remote/Node.pm @@ -41,3 +41,30 @@ sub run { } 1; + +=head1 NAME + +Object::Remote::Node - A minimum remote OR command processing loop + +=head1 SYNOPSIS + + use Object::Remote::Node; + + Object::Remote::Node->run(%args); + +=head1 DESCRIPTION + +The minimum amount of code necessary to read OR JSON commands from STDIN and +send responses to STDOUT after processing. Uses +L. + +=head1 ARGUMENTS + +=head2 watchdog_timeout + +If provided sets up a L with the timeout set to the +value in seconds specified by this argument. + +If not provided or undef/0, attempts to cancel any existing watch dogs. ??? + +=cut