NAME
XAS::Apps::Test::RPC::Methods - This module provides method to an 'rpc' server
SYNOPSIS
use XAS::Apps::Test::RPC::Methods;
my $app = XAS::Apps::Test::RPC::Methods->new(
-throws => 'something',
-options => [
{ 'port=s', '9507' },
{ 'address=s', 'localhost' },
]
);
exit $app->run();
DESCRIPTION
This module will provide an 'echo', 'list' and 'status' methods to the rpc server.
METHODS
new
This method will initialize the module and accepts these parameters.
- -options
-
This specifies three options that may be on the command line. They are
port - the port to listen on. address - the address to bind too.
SEE ALSO
- sbin/rpc-server.pl
- XAS
AUTHOR
Kevin L. Esteb, <kevin@kesteb.us>
COPYRIGHT AND LICENSE
Copyright (C) 2012 by Kevin L. Esteb
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.