Elive::StandardV2 - Perl bindings for the Elluminate Live Standard Bridge (V2) [DEPRECIATED]
Version 0.02_1
Elluminate Live! (c) is software for virtual online classrooms. It is suitable for meetings, demonstrations web conferences, seminars and general training and support.
Elive-StandardV2 is a set of Perl bindings and entity definitions for the Elluminate Standard Bridge V2 SOAP services ('standardv2' adapter).
This is an alternative to the Command Toolkit, as supported by the Elive::Entity classess ('default' adapter).
use Elive::StandardV2; use Elive::StandardV2::Session; use Elive::Util; my $connection = Elive::StandardV2->connect( 'http://myserver/mysite', 'some_user' => 'some_pass' ); # Sessions must start and end on the quarter hour. my $session_start = Elive::Util::next_quarter_hour(); my $session_end = Elive::Util::next_quarter_hour( $session_start ); my %session_data = ( sessionName => 'My Demo Session', creatorId => $connection->user, startTime => $session_start . '000', endTime => $session_end . '000', openChair => 1, mustBeSupervised => 0, permissionsOn => 1, nonChairList => [qw(alice bob)], groupingList => [qw(mechanics sewing)], ); my $session = Elive::StandardV2::Session->insert(\%session_data); my $url = $session->session_url( userId => 'bob', displayName => 'Robert'); print "bob's session link is: $url\n";
Implements Elluminate Live! Standard Bridge V2 API bindings
** DEVELOPER RELEASE - UNDER CONSTRUCTION **
returns a list of all implemented entity classes
use Elive::StandardV2; use Elive::StandardV2::Connection; # # Setup the default connection Elive::StandardV2->connect('http://myServer.com/test1', 'user1', 'pass1'); my $c1 = Elive::StandardV2->connection; # # Setup a secondary connection my $c2 = Elive::StandardV2::Connection->connect('http://user2:pass2@myServer.com/test2');
Connects to an Elluminate server instance. Dies if the connection could not be established. If, for example, the SOAP connection or authentication failed.
See also Elive::StandardV2::Connection.
$e1 = Elive::StandardV2->connection or warn 'no elive connection active';
Returns the default Elive connection handle.
Abstract method to commit outstanding object updates to the server.
$obj->{foo} = 'Foo'; # change foo attribute directly $foo->update; # save $obj->bar('Bar'); # change bar via its accessor $obj->update; # save
Updates may also be passed as parameters.
# change and save foo and bar. All in one go. $obj->update({foo => 'Foo', bar => 'Bar'});
Abstract method to create new entity instances on the server:
my $multimedia = Elive::StandardV2::Multimedia->insert( { filename => 'demo.wav', creatorId => 'bob', content => $content, }, );
Abstract selection method. Most commands allow a ranging expression to narrow the selection. This is passed in using the filter option. For example:
filter
my $bobs_sessions = Elive::StandardV2::Session->list(filter => {userId => 'bob'});
Abstract method to delete entities:
$multimedia->delete;
Elive::StandardV2::Connection Elive::StandardV2::Multimedia Elive::StandardV2::Session Elive::StandardV2::SessionAttendance Elive::StandardV2::SessionTelephony Elive::StandardV2::Presentation Elive::StandardV2::SchedulingManager Elive::StandardV2::ServerConfiguration Elive::StandardV2::ServerVersions Elive::StandardV2::Recording
David Warring, <david.warring at gmail.com>
<david.warring at gmail.com>
Please report any bugs or feature requests to bug-elive-standardv2 at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Elive-StandardV2. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-elive-standardv2 at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Elive::StandardV2
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Elive-StandardV2
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Elive-StandardV2
CPAN Ratings
http://cpanratings.perl.org/d/Elive-StandardV2
Search CPAN
http://search.cpan.org/dist/Elive-StandardV2/
Elluminate_Live_Standard_Bridge_API_ELM_v2.0.pdf - this contains essential background information and a full description of the available commands.
Copyright 2011-2012 David Warring.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install Elive::StandardV2, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Elive::StandardV2
CPAN shell
perl -MCPAN -e shell install Elive::StandardV2
For more information on module installation, please visit the detailed CPAN module installation guide.