Scott Smith > RMI-0.10 > RMI::Client::ForkedPipes

Download:
RMI-0.10.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  1
View/Report Bugs
Source  

NAME ^

RMI::Client::ForkedPipes - an RMI::Client implementation with a private out-of-process server

VERSION ^

This document describes RMI::Clinet::ForkedPipes v0.10.

SYNOPSIS ^

    $c1 = RMI::Client::ForkedPipes->new();
    $remote_hash1 = $c1->call_eval('{}');
    $remote_hash1{key1} = 123;

    $c2 = RMI::Client::ForkedPipes->new('some_server',$arg1,$arg2);    

DESCRIPTION ^

This subclass of RMI::Client forks a child process, and starts an RMI::Server::ForkedPipes in that process. It is useful for testing more complex RMI, and also to do things like use two versions of a module at once in the same program.

METHODS ^

peer_pid

 Both the RMI::Client::ForkedPipes and RMI::Server::ForkedPipes have a method to 
 return the process ID of their remote partner.

BUGS AND CAVEATS ^

See general bugs in RMI for general system limitations of proxied objects.

SEE ALSO ^

RMI, RMI::Server::ForkedPipes, RMI::Client, RMI::Server, RMI::Node, RMI::ProxyObject

AUTHORS ^

Scott Smith <sakoht@cpan.org>

COPYRIGHT ^

Copyright (c) 2008 - 2009 Scott Smith <sakoht@cpan.org> All rights reserved.

LICENSE ^

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

The full text of the license can be found in the LICENSE file included with this module.

syntax highlighting: