David Warring > Elive-1.30 > Elive::Connection

Download:
Elive-1.30.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.02   Source   Latest Release: Elive-1.32

NAME ^

Elive::Connection - Manage Elluminate Live SOAP connections.

DESCRIPTION ^

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.

METHODS ^

connect

    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.

check_command

    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.

known_commands

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.

call

    my $som = $self->call( $cmd, %params );

Performs an Elluminate SOAP method call. Returns the response as a SOAP::SOM object.

disconnect

Closes a connection.

url

    my $url1 = $connection1->url;
    my $url2 = $connection2->url;

Returns a restful url for the connection.

SEE ALSO ^

Elive::Connection::SDK Elive::Connection::API SOAP::Lite

syntax highlighting: