=head1 NAME GRID::Machine::Message - Primitives for sending and receiving =head1 DESCRIPTION This class is used by both the local and the remote sides of the C. It implements the low level communication layer. It is responsible of marshalling the data. =head2 The C Method Syntax: my ( $operation, @args ) = $server->read_operation( ); Returns the kind of operation and the data sent by the other side of the SSH link. =head2 The C Method 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})); =head1 SEE ALSO =over 2 =item * L =item * L =item * L =item * L =item * L =item * L =item * L =item * Man pages of C, C, C, C, C, C, C =item * L =back =head1 AUTHOR Casiano Rodriguez Leon Ecasiano@ull.esE =head1 ACKNOWLEDGMENTS This work has been supported by CEE (FEDER) and the Spanish Ministry of I through I number TIN2005-08818-C04-04 (ULL::OPLINK project L). Support from Gobierno de Canarias was through GC02210601 (I). 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 C module: it was the source of inspiration for this module. To Dmitri Kargapolov, Eric Busto and Alex White 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. =head1 LICENCE AND COPYRIGHT 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 L. 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.