Unix and Linux Discussions Tagged with member_project |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
1 |
12,926 |
What is on Your Mind? |
|
|
|
19 |
29,514 |
What is on Your Mind? |
|
|
|
0 |
45,909 |
OS X (Apple) |
|
|
|
1 |
14,508 |
Programming |
|
|
|
52 |
31,877 |
What is on Your Mind? |
|
|
|
8 |
13,185 |
What is on Your Mind? |
|
|
|
28 |
37,151 |
What is on Your Mind? |
|
|
|
5 |
41,301 |
Linux Benchmarks |
|
|
|
30 |
34,236 |
What is on Your Mind? |
|
|
|
7 |
23,109 |
Programming |
|
|
|
0 |
8,816 |
OS X (Apple) |
|
|
|
5 |
13,544 |
Programming |
|
|
|
8 |
13,992 |
What is on Your Mind? |
|
|
|
5 |
31,413 |
Hardware |
|
|
|
1 |
15,063 |
What is on Your Mind? |
|
|
|
10 |
17,830 |
Programming |
|
|
|
45 |
54,547 |
UNIX for Advanced & Expert Users |
|
|
|
0 |
18,449 |
Programming |
|
|
|
0 |
17,065 |
Programming |
|
|
|
2 |
18,094 |
Infrastructure Monitoring |
|
|
|
6 |
19,841 |
Programming |
|
|
|
6 |
14,230 |
Programming |
|
|
|
8 |
23,718 |
Programming |
|
|
|
0 |
16,307 |
Programming |
|
|
|
13 |
25,744 |
Programming |
|
|
|
7 |
22,750 |
Programming |
|
|
|
2 |
13,927 |
Shell Programming and Scripting |
|
|
|
8 |
30,862 |
OS X (Apple) |
|
|
|
1 |
12,430 |
Programming |
|
|
|
1 |
16,038 |
Shell Programming and Scripting |
|
|
|
10 |
23,181 |
Programming |
|
|
|
6 |
15,783 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
14,748 |
Programming |
|
|
|
0 |
13,780 |
Programming |
|
|
|
8 |
21,948 |
Programming |
|
|
|
10 |
15,966 |
What is on Your Mind? |
|
|
|
6 |
13,978 |
Programming |
|
|
|
9 |
30,877 |
Programming |
|
|
|
0 |
32,997 |
Programming |
|
|
|
6 |
16,219 |
Programming |
ct_rpc(3erl) Erlang Module Definition ct_rpc(3erl)
NAME
ct_rpc - Common Test specific layer on Erlang/OTP rpc.
DESCRIPTION
Common Test specific layer on Erlang/OTP rpc.
EXPORTS
app_node(App, Candidates) -> NodeName
Types App = atom()
Candidates = [NodeName]
NodeName = atom()
From a set of candidate nodes determines which of them is running the application App. If none of the candidate nodes is running the
application the function will make the test case calling this function fail. This function is the same as calling app_node(App, Can-
didates, true) .
app_node(App, Candidates, FailOnBadRPC) -> NodeName
Types App = atom()
Candidates = [NodeName]
NodeName = atom()
FailOnBadRPC = true | false
Same as app_node/2 only the FailOnBadRPC argument will determine if the search for a candidate node should stop or not if badrpc is
received at some point.
app_node(App, Candidates, FailOnBadRPC, Cookie) -> NodeName
Types App = atom()
Candidates = [NodeName]
NodeName = atom()
FailOnBadRPC = true | false
Cookie = atom()
Same as app_node/2 only the FailOnBadRPC argument will determine if the search for a candidate node should stop or not if badrpc is
received at some point. The cookie on the client node will be set to Cookie for this rpc operation (use to match the server node
cookie).
call(Node, Module, Function, Args) -> term() | {badrpc, Reason}
Same as call(Node, Module, Function, Args, infinity)
call(Node, Module, Function, Args, TimeOut) -> term() | {badrpc, Reason}
Types Node = NodeName | {Fun, FunArgs}
Fun = function()
FunArgs = term()
NodeName = atom()
Module = atom()
Function = atom()
Args = [term()]
Reason = timeout | term()
Evaluates apply(Module, Function, Args) on the node Node. Returns whatever Function returns or {badrpc, Reason} if the remote proce-
dure call fails. If Node is {Fun, FunArgs} applying Fun to FunArgs should return a node name.
call(Node, Module, Function, Args, TimeOut, Cookie) -> term() | {badrpc, Reason}
Types Node = NodeName | {Fun, FunArgs}
Fun = function()
FunArgs = term()
NodeName = atom()
Module = atom()
Function = atom()
Args = [term()]
Reason = timeout | term()
Cookie = atom()
Evaluates apply(Module, Function, Args) on the node Node. Returns whatever Function returns or {badrpc, Reason} if the remote proce-
dure call fails. If Node is {Fun, FunArgs} applying Fun to FunArgs should return a node name. The cookie on the client node will be
set to Cookie for this rpc operation (use to match the server node cookie).
cast(Node, Module, Function, Args) -> ok
Types Node = NodeName | {Fun, FunArgs}
Fun = function()
FunArgs = term()
NodeName = atom()
Module = atom()
Function = atom()
Args = [term()]
Reason = timeout | term()
Evaluates apply(Module, Function, Args) on the node Node. No response is delivered and the process which makes the call is not sus-
pended until the evaluation is compleated as in the case of call/[3,4]. If Node is {Fun, FunArgs} applying Fun to FunArgs should
return a node name.
cast(Node, Module, Function, Args, Cookie) -> ok
Types Node = NodeName | {Fun, FunArgs}
Fun = function()
FunArgs = term()
NodeName = atom()
Module = atom()
Function = atom()
Args = [term()]
Reason = timeout | term()
Cookie = atom()
Evaluates apply(Module, Function, Args) on the node Node. No response is delivered and the process which makes the call is not sus-
pended until the evaluation is compleated as in the case of call/[3,4]. If Node is {Fun, FunArgs} applying Fun to FunArgs should
return a node name. The cookie on the client node will be set to Cookie for this rpc operation (use to match the server node
cookie).
AUTHORS
<>
common_test 1.5.3 ct_rpc(3erl)