NAME
RMI::Client::Tcp - an RMI::Client implementation using TCP/IP sockets
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