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

Download:
RMI-0.10.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  1
View/Report Bugs
Source  

NAME ^

RMI::Client::Tcp - an RMI::Client implementation using TCP/IP sockets

VERSION ^

This document describes RMI::Client::Tcp v0.10.

SYNOPSIS ^

    $c = RMI::Client::Tcp->new(
        host => 'myserver.com', # defaults to 'localhost'
        port => 1234            # defaults to 4409
    );

    $c->call_use('IO::File');
    $remote_fh = $c->call_class_method('IO::File', 'new', '/my/file');
    print <$remote_fh>;

DESCRIPTION ^

This subclass of RMI::Client makes a TCP/IP socket connection to an RMI::Server::Tcp. See RMI::Client for details on the general client API.

See for RMI::Server::Tcp for details on how to start a matching RMI::Server.

See the general RMI description for an overview of how RMI::Client and RMI::Servers interact, and examples.

METHODS ^

This class overrides the constructor for a default RMI::Client to make a socket connection. That socket is both the reader and writer handle for the client.

BUGS AND CAVEATS ^

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

SEE ALSO ^

RMI, RMI::Server::Tcp, RMI::Client, RMI::Server, RMI::Node, RMI::ProxyObject

syntax highlighting: