summaryrefslogtreecommitdiff
path: root/lib/stdlib/test/shell_docs_SUITE_data/unknown_erlang_dist_ctrl_put_data_2_func.txt
blob: 1279f67fa38b4a77c9780e74e8b45cf7b9f296d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

  -spec erlang:dist_ctrl_put_data(DHandle, Data) -> ok
                                     when
                                         DHandle :: dist_handle(),
                                         Data :: iodata().

Since:
  OTP 21.0

  Deliver distribution channel data from a remote node to the local
  node.

  Note:
    Only the process registered as distribution controller for the
    distribution channel identified by DHandle is allowed to
    call this function unless an alternate input handler process
    has been registered using 
    erlang:dist_ctrl_input_handler(DHandle, InputHandler). If an
    alternate input handler has been registered, only the
    registered input handler process is allowed to call this
    function.

  This function is used when implementing an alternative
  distribution carrier using processes as distribution controllers. 
  DHandle is retrieved via the callback f_handshake_complete.
  More information can be found in the documentation of ERTS User's
  Guide ➜ How to implement an Alternative Carrier for the Erlang
  Distribution ➜ Distribution Module.