Fix docs errors for threaded-server changes
							parent
							
								
									d97bf9f890
								
							
						
					
					
						commit
						47a9359fc4
					
				| 
						 | 
				
			
			@ -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 "
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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." 
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue