Clojang 0.2.0
Erlang's JInterface in Idiomatic Clojure.
Installation
To install, add the following dependency to your project or build file:
[clojang "0.2.0"]
Topics
- Clojang User's Guide
- Talking to Servers: LFE & Clojure
- Talking to Servers: Erlang & Clojure
- Talking to Servers: Elixir & Clojure
- Apps Tutorial
- Other Resources
- API Docs (All Versions)
Namespaces
clojang.conn
Public variables and functions:
- !
- !buf
- !rpc
- close
- connected?
- deliver
- exit
- get-flags
- get-msg-count
- get-peer
- get-self
- get-trace-level
- link
- lookup-names
- lookup-port
- publish-port
- receive
- receive-buf
- receive-msg
- receive-rpc
- recv
- recv-buf
- recv-msg
- recv-rpc
- run
- send
- send-buf
- send-rpc
- set-flags
- set-trace-level
- snd
- snd-buf
- snd-rpc
- unlink
- unpublish-port
- use-port
clojang.dev
A development namespace that imports other useful namespaces for easy prototyping, &c. The intended use is for this to be the initial namespace when running lein repl
from the Clojang project directory.
Public variables and functions:
clojang.node
Public variables and functions:
- ->str
- accept
- close
- close-mbox
- connect
- create-mbox
- create-pid
- create-port
- create-ref
- create-server-transport
- create-transport
- get-alivename
- get-cookie
- get-default-name
- get-hostname
- get-long-name
- get-name
- get-names
- get-node
- get-pid
- get-port
- get-short-name
- new
- peer
- ping
- publish-port
- register-mbox
- register-status-handler
- self
- set-cookie
- set-flags
- unpublish-port
- whereis
clojang.rpc
The clojang.rpc
namespace has no analong in the JInterface package. This namepsace intends to provide a similar interface as that provided by the clojang.conn
namespace: a set of functions for sending and receiving messages to and from remote processes. In this case, however, there is a very specfic client we expect to be receiving requests from and replying to: an RPC client, and one that expects this namespace to provide functions compatible with the RPC capabilities of an Erlang/OTP gen_server
.
Public variables and functions: