SRS::EPP::Session::CmdQ - manage epp command/response queue
my $q = SRS::EPP::Session::CmdQ->new( ); # put requests on queue $q->queue_command( $epp_command ); # pull a command off the queue; mark it in progress my @rq = $q->next_command; # put a response in $q->add_command_response( $epp_response, $epp_command? ); # if a message has had all its requests answered, it can be dequeued ($epp_response, $epp_command) = $q->dequeue_response(); # also available in scalar context $epp_response = $q->dequeue_response();
This class implements a simple FIFO queue, but with small customizations to operation to suit the use case of the SRS EPP Proxy's queue of EPP commands and responses.
SRS::EPP::Session
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.
To install SRS::EPP::Proxy, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SRS::EPP::Proxy
CPAN shell
perl -MCPAN -e shell install SRS::EPP::Proxy
For more information on module installation, please visit the detailed CPAN module installation guide.