GRID::Machine::Message - Primitives for sending and receiving
This class is used by both the local and the remote sides of the GRID::Machine. It implements the low level communication layer. It is responsible of marshalling the data.
GRID::Machine
read_operation
Syntax:
my ( $operation, @args ) = $server->read_operation( );
Returns the kind of operation and the data sent by the other side of the SSH link.
send_operation
Examples:
$server->send_operation("RETURNED", GRID::Machine::Result->new( %arg )); $server->send_operation("DIED", GRID::Machine::Result->new( errmsg => "$server->{host}: $message") ); $server->send_operation("RETURNED", exists($server->{stored_procedures}{$name}));
GRID::Machine::IOHandle
GRID::Machine::Group
GRID::Machine::Process
GRID::Machine::perlparintro
Net::OpenSSH
IPC::PerlSSH
IPC::PerlSSH::Async
Man pages of ssh, ssh-key-gen, ssh_config, scp, ssh-agent, ssh-add, sshd
ssh
ssh-key-gen
ssh_config
scp
ssh-agent
ssh-add
sshd
http://www.openssh.com
Casiano Rodriguez Leon <casiano@ull.es>
This work has been supported by CEE (FEDER) and the Spanish Ministry of Educacion y Ciencia through Plan Nacional I+D+I number TIN2005-08818-C04-04 (ULL::OPLINK project http://www.oplink.ull.es/). Support from Gobierno de Canarias was through GC02210601 (Grupos Consolidados). The University of La Laguna has also supported my work in many ways and for many years.
I wish to thank Paul Evans for his IPC::PerlSSH module: it was the source of inspiration for this module. To Alex White, Dmitri Kargapolov, Eric Busto and Erik Welch for their contributions. To the Perl Monks, and the Perl Community for generously sharing their knowledge. Finally, thanks to Juana, Coro and my students at La Laguna.
Copyright (c) 2007 Casiano Rodriguez-Leon (casiano@ull.es). All rights reserved.
These modules are free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
To install GRID::Machine, copy and paste the appropriate command in to your terminal.
cpanm
cpanm GRID::Machine
CPAN shell
perl -MCPAN -e shell install GRID::Machine
For more information on module installation, please visit the detailed CPAN module installation guide.