deditex v0.1.0 Deditex.Base

Link to this section Summary

Link to this section Functions

Link to this function handle_recv_response(job, width, package)
handle_recv_response(non_neg_integer(), String.t(), <<_::8>>) ::
  {:ok, binary()} | {:error, binary(), binary()} | :error
Link to this function handle_response(arg, job, width)
handle_response(<<_::8>>, non_neg_integer(), String.t()) ::
  :ok
  | {:ok, binary()}
  | {:error, binary(), binary()}
  | {:error, binary()}
  | :error
Link to this function handle_send_response(job, package)
handle_send_response(non_neg_integer(), <<_::8>>) ::
  :ok | {:error, binary()} | :error
Link to this function jobid(state)
jobid(map()) :: non_neg_integer()
Link to this function recv_msg(socket, length \\ 0)
recv_msg(port(), non_neg_integer()) :: {:ok, binary()} | {:error, any()}
Link to this function send_msg(arg, package)
send_msg(port(), binary()) :: port()