From 47a9359fc49a277ed24198935f73fa80dc78ee7f Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Mon, 20 Sep 2010 14:17:27 -0500 Subject: [PATCH] Fix docs errors for threaded-server changes --- basis/channels/remote/remote-docs.factor | 7 ++++--- basis/concurrency/distributed/distributed-docs.factor | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/basis/channels/remote/remote-docs.factor b/basis/channels/remote/remote-docs.factor index c612b4256a..266d774056 100644 --- a/basis/channels/remote/remote-docs.factor +++ b/basis/channels/remote/remote-docs.factor @@ -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: @@ -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 " diff --git a/basis/concurrency/distributed/distributed-docs.factor b/basis/concurrency/distributed/distributed-docs.factor index efb52cbbb8..80e07027ce 100644 --- a/basis/concurrency/distributed/distributed-docs.factor +++ b/basis/concurrency/distributed/distributed-docs.factor @@ -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."