Andrew Chilton > SRS-EPP-Proxy > SRS::EPP::Proxy::UA

Download:
SRS-EPP-Proxy-0.21.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  1
View/Report Bugs
Source   Latest Release: SRS-EPP-Proxy-0.22

NAME ^

SRS::EPP::Proxy::UA - subprocess-based UserAgent

SYNOPSIS ^

 my $ua = SRS::EPP::Proxy::UA->new;   # creates sub-process.

 $ua->request($req);          # off it goes!
 print "yes" if $ua->busy;    # it's busy!
 sleep 1 until $ua->ready;    # do other stuff
 my $response = $ua->get_response;
 print "yes" if $ua->waiting; # it's waiting for you!

DESCRIPTION ^

This class provides non-blocking UserAgent behaviour, by using a slave sub-process to call all the blocking LWP::UserAgent functions to do the retrieval.

This is done because the SRS::EPP::Session class is designed to be a non-blocking system.

SEE ALSO ^

LWP::UserAgent, SRS::EPP::Session

AUTHOR AND LICENCE ^

Development commissioned by NZ Registry Services, and carried out by Catalyst IT - http://www.catalyst.net.nz/

Copyright 2009, 2010, NZ Registry Services. This module is licensed under the Artistic License v2.0, which permits relicensing under other Free Software licenses.

syntax highlighting: