gen_rpc (gen_rpc v3.0.1)

Link to this section Summary

Link to this section Types

Link to this type

node_or_tuple/0

Specs

node_or_tuple() :: atom() | {atom(), term()}.

Link to this section Functions

Link to this function

abcast(Name, Msg)

Specs

abcast(atom(), term()) -> abcast.
Link to this function

abcast(Nodes, Name, Msg)

Specs

abcast(list(), atom(), term()) -> abcast.
Link to this function

async_call(Node, M, F)

Specs

async_call(node_or_tuple(), atom() | tuple(), atom()) -> {pid(), reference()}.
Link to this function

async_call(Node, M, F, A)

Specs

async_call(node_or_tuple(), atom() | tuple(), atom(), list()) -> {pid(), reference()}.
Link to this function

call(Node, M, F)

Specs

call(node_or_tuple(), atom() | tuple(), atom()) -> term() | {badrpc, term()} | {badtcp | term()}.
Link to this function

call(Node, M, F, A)

Specs

call(node_or_tuple(), atom() | tuple(), atom(), list()) ->
        term() | {badrpc, term()} | {badtcp | term()}.
Link to this function

call(Node, M, F, A, RecvTO)

Specs

call(node_or_tuple(), atom() | tuple(), atom(), list(), timeout() | undefined) ->
        term() | {badrpc, term()} | {badtcp | term()}.
Link to this function

call(Node, M, F, A, RecvTO, SendTO)

Specs

call(node_or_tuple(),
     atom() | tuple(),
     atom(),
     list(),
     timeout() | undefined,
     timeout() | undefined) ->
        term() | {badrpc, term()} | {badtcp | term()}.
Link to this function

cast(Node, M, F)

Specs

cast(node_or_tuple(), atom() | tuple(), atom()) -> true.
Link to this function

cast(Node, M, F, A)

Specs

cast(node_or_tuple(), atom() | tuple(), atom(), list()) -> true.
Link to this function

cast(Node, M, F, A, SendTO)

Specs

cast(node_or_tuple(), atom() | tuple(), atom(), list(), timeout() | undefined) -> true.
Link to this function

eval_everywhere(Nodes, M, F)

Specs

eval_everywhere([node_or_tuple()], atom() | tuple(), atom()) -> abcast.
Link to this function

eval_everywhere(Nodes, M, F, A)

Specs

eval_everywhere([node_or_tuple()], atom() | tuple(), atom(), list()) -> abcast.
Link to this function

eval_everywhere(Nodes, M, F, A, SendTO)

Specs

eval_everywhere([node_or_tuple()], atom() | tuple(), atom(), list(), timeout() | undefined) ->
                   abcast.
Link to this function

multicall(M, F, A)

Specs

multicall(atom() | tuple(), atom(), list()) -> {list(), list()}.
Link to this function

multicall(NodesOrModule, MorF, ForA, AorTimeout)

Specs

multicall([node_or_tuple()] | atom() | tuple(),
          atom() | tuple(),
          atom() | list(),
          list() | timeout()) ->
             {list(), list()}.
Link to this function

multicall(Nodes, M, F, A, Timeout)

Specs

multicall([node_or_tuple()], atom() | tuple(), atom(), list(), timeout()) -> {list(), list()}.

Specs

nb_yield({pid(), reference()}) -> {value, term()} | timeout.
Link to this function

nb_yield(Key, Timeout)

Specs

nb_yield({pid(), reference()}, timeout()) -> {value, term()} | timeout.

Specs

nodes() -> list().
Link to this function

sbcast(Name, Msg)

Specs

sbcast(atom(), term()) -> {list(), list()}.
Link to this function

sbcast(Nodes, Name, Msg)

Specs

sbcast(list(), atom(), term()) -> {list(), list()}.

Specs

yield({pid(), reference()}) -> term() | {badrpc, term()}.