Elive::Connection - Manage Elluminate Live SOAP connections.
This is an abstract class for managing connections and related resources.
Most of the time, you'll be dealing with specific class instances; See Elive::Connection::SDK Elive::Connection::API.
my $sdk_c1 = Elive::Connection->connect('http://someserver.com/test', 'user1', 'pass1', debug => 1, ); my $url1 = $sdk_c1->url; # 'http://someserver.com/test' my $sdk_c2 = Elive::Connection->connect('http://user2:pass2@someserver.com/test'); my $url2 = $sdk_c2->url; # 'http://someserver.com/test'
Establishes a logical SOAP connection.
my $command1 = Elive->check_command([qw{getUser listUser}]) my $command2 = Elive->check_command(deleteUser => 'd')
Find the first known command in the list. Raise an error if it's unknown;
See also: elive_lint_config.
Returns an array of hash-value pairs for all Elluminate Live! commands required by Elive. This list is cross-checked by the script elive_lint_config.
my $som = $self->call( $cmd, %params );
Performs an Elluminate SOAP method call. Returns the response as a SOAP::SOM object.
Closes a connection.
my $url1 = $connection1->url; my $url2 = $connection2->url;
Returns a restful url for the connection.
Elive::Connection::SDK Elive::Connection::API SOAP::Lite
To install Elive, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Elive
CPAN shell
perl -MCPAN -e shell install Elive
For more information on module installation, please visit the detailed CPAN module installation guide.