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

Comparing AnyEvent-MP/MP.pm (file contents):
Revision 1.55 by root, Fri Aug 14 23:17:17 2009 UTC vs.
Revision 1.56 by root, Sat Aug 15 04:12:38 2009 UTC

197At least one additional noderef is required (either by specifying it 197At least one additional noderef is required (either by specifying it
198directly or because it is part of the configuration profile): The node 198directly or because it is part of the configuration profile): The node
199will try to connect to all of them and will become a slave attached to the 199will try to connect to all of them and will become a slave attached to the
200first node it can successfully connect to. 200first node it can successfully connect to.
201 201
202Note that slave nodes cannot change their name, and consequently, their
203master, so if the master goes down, the slave node will not function well
204anymore until it can re-establish conenciton to its master. This makes
205slave nodes unsuitable for long-term nodes or fault-tolerant networks.
206
202=back 207=back
203 208
204This function will block until all nodes have been resolved and, for slave 209This function will block until all nodes have been resolved and, for slave
205nodes, until it has successfully established a connection to a master 210nodes, until it has successfully established a connection to a master
206server. 211server.
212
213All the seednodes will also be specially marked to automatically retry
214connecting to them infinitely.
207 215
208Example: become a public node listening on the guessed noderef, or the one 216Example: become a public node listening on the guessed noderef, or the one
209specified via C<aemp> for the current node. This should be the most common 217specified via C<aemp> for the current node. This should be the most common
210form of invocation for "daemon"-type nodes. 218form of invocation for "daemon"-type nodes.
211 219

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines