line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package RMI::Server::ForkedPipes; |
2
|
|
|
|
|
|
|
|
3
|
21
|
|
|
21
|
|
125
|
use strict; |
|
21
|
|
|
|
|
36
|
|
|
21
|
|
|
|
|
1098
|
|
4
|
21
|
|
|
21
|
|
280
|
use warnings; |
|
21
|
|
|
|
|
45
|
|
|
21
|
|
|
|
|
835
|
|
5
|
21
|
|
|
21
|
|
112
|
use version; |
|
21
|
|
|
|
|
164
|
|
|
21
|
|
|
|
|
900
|
|
6
|
|
|
|
|
|
|
our $VERSION = $RMI::VERSION; |
7
|
|
|
|
|
|
|
|
8
|
21
|
|
|
21
|
|
1781
|
use base 'RMI::Server'; |
|
21
|
|
|
|
|
41
|
|
|
21
|
|
|
|
|
2887
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
RMI::Node::_mk_ro_accessors(__PACKAGE__,'peer_pid'); |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
=pod |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
=head1 NAME |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
RMI::Server::ForkedPipes - service RMI::Client::ForkedPipes requests |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
=head1 VERSION |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
This document describes RMI::Server::ForkedPipes v0.10. |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 SYNOPSIS |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
This is used internally by RMI::Client::ForkedPipes. When constructed |
25
|
|
|
|
|
|
|
the client makes a private server of this class in a forked process. |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
$client->peer_pid eq $client->remote_eval('$$'); |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
$server->peer_pid eq $server->remtoe_eval('$$'); |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=head1 DESCRIPTION |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
This subclass of RMI::Server is used by RMI::Client::ForkedPipes when it |
34
|
|
|
|
|
|
|
forks a private server for itself. |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 SEE ALSO |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
B, B, B |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head1 AUTHORS |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
Scott Smith |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 COPYRIGHT |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
Copyright (c) 2008 - 2009 Scott Smith All rights reserved. |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=head1 LICENSE |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify it under |
51
|
|
|
|
|
|
|
the same terms as Perl itself. |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
The full text of the license can be found in the LICENSE file included with this |
54
|
|
|
|
|
|
|
module. |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=cut |