]> gitweb.factorcode.org Git - factor.git/commitdiff
Fix docs errors for threaded-server changes
authorDoug Coleman <doug.coleman@gmail.com>
Mon, 20 Sep 2010 19:17:27 +0000 (14:17 -0500)
committerDoug Coleman <doug.coleman@gmail.com>
Mon, 20 Sep 2010 19:17:27 +0000 (14:17 -0500)
basis/channels/remote/remote-docs.factor
basis/concurrency/distributed/distributed-docs.factor

index c612b4256ac549039451351a7995d7d836dcaa9f..266d7740561d53d768e281be8e666a7a0af353d9 100644 (file)
@@ -1,6 +1,7 @@
 ! Copyright (C) 2007 Chris Double.
 ! See http://factorcode.org/license.txt for BSD license.
-USING: help.syntax help.markup channels concurrency.distributed ;
+USING: channels concurrency.distributed help.markup help.syntax
+io.servers.connection ;
 IN: channels.remote
 
 HELP: <remote-channel>
@@ -45,9 +46,9 @@ HELP: publish
 ARTICLE: { "remote-channels" "remote-channels" } "Remote Channels"
 "Remote channels are channels that can be accessed by other Factor instances. It uses distributed concurrency to serialize and send data between channels."
 $nl
-"To start a remote node, distributed concurrency must have been started. This can be done using " { $link start-node } "."
+"To start a remote node, distributed concurrency must have been started. This can be done using " { $link start-server } "."
 $nl
-{ $snippet "\"myhost.com\" 9001 start-node" } 
+{ $snippet "\"myhost.com\" 9001 start-server" } 
 $nl
 "Once the node is started, channels can be published using " { $link publish }
 " to be accessed remotely. " { $link publish } " returns an id which a remote node "
index efb52cbbb811639e736c0b7ca209f6b9e2f27562..80e07027cec2e41c0baa394bc7959f0df6bc7060 100644 (file)
@@ -37,7 +37,7 @@ $nl
 " or " { $link reply } " call." ;
 
 ARTICLE: "concurrency.distributed" "Distributed message passing"
-"The " { $vocab-link "concurrency.distributed" } " implements transparent distributed message passing, inspired by Erlang and Termite."
+"The " { $vocab-link "concurrency.distributed" } " implements transparent distributed message passing, inspired by Erlang and Termite." $nl
 "Instances of " { $link thread } " can be sent to remote threads, at which point they are converted to objects holding the thread ID and the current node's host name:"
 { $subsections remote-thread }
 "The " { $vocab-link "serialize" } " vocabulary is used to convert Factor objects to byte arrays for transfer over a socket."