NAME
XAS::Apps::Test::RPC::Client - This module will make calls to the RPC server
SYNOPSIS
use XAS::Constants 'TRUE FALSE';
use XAS::Apps::Test::RPC::Client;
my $app = XAS::Apps::Test::RPC::Client->new(;
-throws => 'something',
-options => [
{'port=s', '9505'},
{'host=s', 'localhost'},
{'list', FALSE},
{'status', FALSE},
{'echo=s', ''}
]
);
exit $app->run();
DESCRIPTION
This module will make calls to the rpc server.
CONFIGURATION
The following parameters are used to configure the module.
-options
Defines the command line options for this module.
- 'host=s'
-
The host the echo server resides on.
- 'port=s'
-
The port it is listening on.
- 'echo=s'
-
The message to be "echoed" back.
- 'list'
-
This will list the available methods on the rpc server.
- 'status'
-
This will list the status of the rpc server.
SEE ALSO
- bin/rpc-client.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.