From d0aff34c5c7f08e341428010e70a35910d9a20ca Mon Sep 17 00:00:00 2001 From: Nathan Lasseter Date: Thu, 27 Jan 2011 23:18:44 +0000 Subject: Node Distribution --- README | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'README') diff --git a/README b/README index 5b4d3cd..ed6e7b3 100644 --- a/README +++ b/README @@ -5,9 +5,10 @@ start_bal/0 spawns a balancer. stop_bal/1 takes a balancer and kills all of its servers and then kills the balancer. list_servers/1 takes a balancer and returns a list of the servers it balances over. -start_server/2 takes a balancer and a function and spawns a server to serve the function. +start_server/2 takes a balancer, a node and a function and spawns a server on the node to serve the function. stop_server/2 takes a balancer and a server PID and stops the server and removes it from the balancer. +make_request/1 takes a balancer and returns the response from the server. make_request/2 takes a balancer and an argument and returns the response from the server. -- cgit v1.2.1