ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Net-FCP/FCP.pm
(Generate patch)

Comparing Net-FCP/FCP.pm (file contents):
Revision 1.2 by root, Sun Sep 7 23:20:20 2003 UTC vs.
Revision 1.4 by root, Sun Sep 7 23:23:56 2003 UTC

31package Net::FCP; 31package Net::FCP;
32 32
33use Carp; 33use Carp;
34use IO::Socket::INET; 34use IO::Socket::INET;
35 35
36$VERSION = 0.01; 36$VERSION = 0.02;
37 37
38sub event_reg_cb { 38sub event_reg_cb {
39 my ($obj) = @_; 39 my ($obj) = @_;
40 require Event; 40 require Event;
41 41
126 126
127Executes a ClientHello request and returns it's results. 127Executes a ClientHello request and returns it's results.
128 128
129 { 129 {
130 max_file_size => "5f5e100", 130 max_file_size => "5f5e100",
131 node => "Fred,0.6,1.46,7050"
131 protocol => "1.2", 132 protocol => "1.2",
132 node => "Fred,0.6,1.46,7050"
133 } 133 }
134 134
135=cut 135=cut
136 136
137_txn client_hello => sub { 137_txn client_hello => sub {
145=item $nodeinfo = $fcp->client_info 145=item $nodeinfo = $fcp->client_info
146 146
147Executes a ClientInfo request and returns it's results. 147Executes a ClientInfo request and returns it's results.
148 148
149 { 149 {
150 max_file_size => "5f5e100",
151 datastore_max => "2540be400",
152 node_port => 369,
153 java_name => "Java HotSpot(_T_M) Server VM",
154 operating_system_version => "2.4.20",
155 estimated_load => 52,
156 free_memory => "5cc0148",
157 datastore_free => "5ce03400",
158 node_address => "1.2.3.4",
159 active_jobs => "1f", 150 active_jobs => "1f",
160 allocated_memory => "bde0000", 151 allocated_memory => "bde0000",
161 architecture => "i386", 152 architecture => "i386",
153 available_threads => 17,
154 datastore_free => "5ce03400",
155 datastore_max => "2540be400",
156 datastore_used => "1f72bb000",
157 estimated_load => 52,
158 free_memory => "5cc0148",
159 is_transient => "false",
160 java_name => "Java HotSpot(_T_M) Server VM",
161 java_vendor => "http://www.blackdown.org/",
162 java_version => "Blackdown-1.4.1-01",
163 least_recent_timestamp => "f41538b878",
164 max_file_size => "5f5e100",
165 most_recent_timestamp => "f77e2cc520"
166 node_address => "1.2.3.4",
167 node_port => 369,
168 operating_system => "Linux",
169 operating_system_version => "2.4.20",
162 routing_time => "a5", 170 routing_time => "a5",
163 least_recent_timestamp => "f41538b878",
164 available_threads => 17,
165 datastore_used => "1f72bb000",
166 java_version => "Blackdown-1.4.1-01",
167 is_transient => "false",
168 operating_system => "Linux",
169 java_vendor => "http://www.blackdown.org/",
170 most_recent_timestamp => "f77e2cc520"
171 } 171 }
172 172
173=cut 173=cut
174 174
175_txn client_info => sub { 175_txn client_info => sub {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines