Liking cljdoc? Tell your friends :D

clojang.mbox


addclj

(add mbox-name)
(add mbox-name node-instance)

Add an mbox to an existing node.

Add an mbox to an existing node.
sourceraw docstring

closeclj

(close)
(close mbox)

Close the default or named mailbox.

Close the default or named mailbox.
sourceraw docstring

equal?clj

(equal? this other-obj)

Determine if two mailboxes are equal.

Determine if two mailboxes are equal.
sourceraw docstring

exitclj

(exit this reason)
(exit this recip-pid reason)

Close the given mailbox with a given reason or send an exit signal to a remote pid.

Close the given mailbox with a given reason or send an exit signal to
a remote pid.
sourceraw docstring

get-defaultclj

(get-default)

Get the mbox for the default node.

If an optional node instance is passed, a new mbox will be returned for that node.

The results of this function are memoized as the intent is to obtain a singleton instance for the default node. (The Erlang JInterface docs recommend that only one node be run per JVM instance.)

Get the mbox for the default node.

If an optional node instance is passed, a new mbox will be returned for that
node.

The results of this function are memoized as the intent is to obtain a
singleton instance for the default node. (The Erlang JInterface docs
recommend that only one node be run per JVM instance.)
sourceraw docstring

get-nameclj

(get-name this)

Get the registered name of this mailbox.

Get the registered name of this mailbox.
sourceraw docstring

get-namesclj

(get-names inbox)

An alias for jiface.otp.messaging/get-names that returns a vector of names on the same node as the given inbox

An alias for `jiface.otp.messaging/get-names` that returns a
vector of names on the same node as the given inbox
sourceraw docstring

get-pidclj

(get-pid inbox)
source

(link pid)
(link inbox pid)

Link to a remote mailbox or Erlang process.

Link to a remote mailbox or Erlang process.
sourceraw docstring

newclj

(new node-instance)
(new node-instance mbox-name)

An alias for jiface.otp.messaging/mbox.

An alias for `jiface.otp.messaging/mbox`.
sourceraw docstring

pingclj

(ping node-name)
(ping node-name timeout)
(ping inbox node-name timeout)

An alias for jiface.otp.messaging/ping that returns the same values as Erlang (pong/pang).

An alias for `jiface.otp.messaging/ping` that returns the
same values as Erlang (pong/pang).
sourceraw docstring

receiveclj

(receive)
(receive inbox)
(receive inbox timeout)

An alias for jiface.otp.messaging/receive that returns the received data as Clojure data types.

An alias for `jiface.otp.messaging/receive` that returns the
received data as Clojure data types.
sourceraw docstring

receive-bufclj

(receive-buf this)
(receive-buf this timeout)

Block until a message (Erlang input stream) arrives for this mailbox, or if a timeout is given, wait for a message until the timeout has been reached.

Block until a message (Erlang input stream) arrives for this mailbox, or
if a timeout is given, wait for a message until the timeout has been
reached.
sourceraw docstring

receive-msgclj

(receive-msg this)
(receive-msg this timeout)

Block until a message (OTP message) arrives for this mailbox, or if a timeout is given, wait for a message until the timeout has been reached.

Block until a message (OTP message) arrives for this mailbox, or
if a timeout is given, wait for a message until the timeout has been
reached.
sourceraw docstring

register-nameclj

(register-name & args)

An alias for jiface.otp.messaging/register-name that also allows for mailbox and node name arguments to be symbols, keywords, or strings.

An alias for `jiface.otp.messaging/register-name` that also
allows for mailbox and node name arguments to be symbols, keywords, or
strings.
sourceraw docstring

selfclj

(self)
(self mbox)
sourceraw docstring

sendcljmultimethod

An alias for jiface.otp.messaging/send. This version of the function also:

  • allows for mailbox and node name arguments to be symbols, keywords, or strings;
  • converts between Erlang and Clojure objects
An alias for `jiface.otp.messaging/send`. This version of
the function also:
* allows for mailbox and node name arguments to be symbols, keywords, or
  strings;
* converts between Erlang and Clojure objects
sourceraw docstring

(unlink pid)
(unlink inbox pid)

Remove a link to a remote mailbox or Erlang process.

Remove a link to a remote mailbox or Erlang process.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close