Rezmq (rezmq v0.1.0)
Documentation for Rezmq
.
Summary
Functions
@spec context_new() :: Rezmq.Native.native_context()
@spec socket_abort_read(Rezmq.Native.native_socket()) :: :ok
@spec socket_bind(Rezmq.Native.native_socket(), binary()) :: :ok | {:error, integer()}
@spec socket_connect(Rezmq.Native.native_socket(), binary()) :: :ok | {:error, integer()}
@spec socket_create(Rezmq.Native.native_worker(), atom()) :: {:ok, Rezmq.Native.native_socket()} | {:error, integer()}
@spec socket_destroy(Rezmq.Native.native_socket()) :: :ok
@spec socket_setsockopt(Rezmq.Native.native_socket(), atom(), binary()) :: :ok | {:error, integer()}
@spec socket_start_read(Rezmq.Native.native_socket(), pid(), reference()) :: :ok
@spec socket_write(Rezmq.Native.native_socket(), [binary()]) :: :ok | {:error, term()}
@spec worker_start(Rezmq.Native.native_context()) :: Rezmq.Native.native_worker()
@spec worker_stop(Rezmq.Native.native_worker()) :: :ok