NAME
XAS::Apps::Test::RPC::Server - This module is a 'rpc' server
SYNOPSIS
use XAS::Apps::Test::RPC::Server;
my $app = XAS::Apps::Test::RPC::Server->new(
-throws => 'something',
-options => [
{ 'port=s', '9507' },
{ 'address=s', 'localhost' },
]
);
exit $app->run();
DESCRIPTION
This module provides a simple 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
XAS::Daemon::Logger
XAS::Lib::App::Daemon
XAS::Lib::Net::Server
XAS::Lib::App::Daemon::POE
XAS::Apps::Test::Echo::Client
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.