Liking cljdoc? Tell your friends :D

clojang.node


->strclj

(->str this)

Return a string representation of the node.

Return a string representation of the node.
sourceraw docstring

acceptclj

(accept this)

Accept an incoming connection from a remote node.

Accept an incoming connection from a remote node.
sourceraw docstring

closeclj

(close this)

Close the node.

Close the node.
sourceraw docstring

close-mboxclj

(close-mbox this mbox)
(close-mbox this mbox reason)

Close the specified mailbox. If not reason is provided, the default reason of 'normal' is used.

Close the specified mailbox. If not reason is provided, the default
reason of 'normal' is used.
sourceraw docstring

connectclj

An alias for the constructor jiface.otp.nodes/connect but one that caches connections based on source and destination node name and allows for symbols and keywords to be used as node names, a closer match for BEAM language nodes, which use atoms for their names.

An alias for the constructor ``jiface.otp.nodes/connect`` but one that
caches connections based on source and destination node name and  allows for
symbols and keywords to be used as node names, a closer match for BEAM
language nodes, which use atoms for their names.
sourceraw docstring

create-mboxclj

(create-mbox this)
(create-mbox this name)

Create a mailbox that can be used to send and receive messages with other, similar mailboxes and with Erlang processes. If a name name is not provided, the Mbox is simply unnamed.

Create a mailbox that can be used to send and receive messages with other,
similar mailboxes and with Erlang processes. If a name name is not
provided, the Mbox is simply unnamed.
sourceraw docstring

create-pidclj

(create-pid this)

Create an Erlang pid.

Create an Erlang pid.
sourceraw docstring

create-portclj

(create-port this)

Create an Erlang port.

Create an Erlang port.
sourceraw docstring

create-refclj

(create-ref this)

Create an Erlang ref.

Create an Erlang ref.
sourceraw docstring

create-server-transportclj

(create-server-transport this port-num)

Create instance of OtpServerTransport.

Create instance of `OtpServerTransport`.
sourceraw docstring

create-transportclj

(create-transport this addr port-num)

Create instance of OtpTransport.

Create instance of `OtpTransport`.
sourceraw docstring

get-alivenameclj

(get-alivename this)

Get the alivename part of the hostname.

Get the alivename part of the hostname.
sourceraw docstring

(get-cookie this)

Get the authorization cookie used by this node.

Get the authorization cookie used by this node.
sourceraw docstring

get-defaultclj

source

get-default-nameclj

(get-default-name)

Get the node name for the default node of this JVM instance. First the node's short name will be checked, and it that's null, the long name will be used.

Get the node name for the default node of this JVM instance. First the
node's short name will be checked, and it that's null, the long name will
be used.
sourceraw docstring

get-default-nodeclj

(get-default-node)

Get the default node object for the currently running instance of the JVM. In general, one should not need more than one node per JVM.

Get the default node object for the currently running instance of the JVM.
In general, one should not need more than one node per JVM.
sourceraw docstring

get-hostnameclj

(get-hostname this)

Get the hostname part of the nodename.

Get the hostname part of the nodename.
sourceraw docstring

get-long-nameclj

(get-long-name)

Get the OTP-style long name for the default node of this JVM instance.

Get the OTP-style long name for the default node of this JVM instance.
sourceraw docstring

get-nameclj

(get-name)
(get-name node)

Get the name of the given node. If no name is given, return the name of the default node for the currently running JVM.

Get the name of the given node. If no name is given, return the name of
the default node for the currently running JVM.
sourceraw docstring

get-namesclj

(get-names)
(get-names node)

An alias for jiface.otp.nodes/get-names that returns a list of a node's registered mailbox names as a list of strings.

An alias for ``jiface.otp.nodes/get-names`` that returns a list
of a node's registered mailbox names as a list of strings.
sourceraw docstring

get-nodeclj

source

get-pidclj

(get-pid this)

Get the Erlang PID that will be used as the sender id in all "anonymous" messages sent by this node.

Get the Erlang PID that will be used as the sender id in all "anonymous"
messages sent by this node.
sourceraw docstring

get-portclj

(get-port this)

Get the port number used by this node.

Get the port number used by this node.
sourceraw docstring

get-short-nameclj

(get-short-name)

Get the OTP-style short name for the default node of this JVM instance.

Get the OTP-style short name for the default node of this JVM instance.
sourceraw docstring

newclj

(new & args)

An alias for jiface.otp.nodes/node but one that allows for symbols and keywords to be used as node names, a closer match for BEAM language nodes, which use atoms for their names.

An alias for ``jiface.otp.nodes/node`` but one that allows for
symbols and keywords to be used as node names, a closer match for BEAM
language nodes, which use atoms for their names.
sourceraw docstring

peerclj

(peer & args)

An alias for the constructor jiface.otp.nodes/peer but one that allows for symbols and keywords to be used as node names, a closer match for BEAM language nodes, which use atoms for their names.

An alias for the constructor ``jiface.otp.nodes/peer`` but
one that allows for symbols and keywords to be used as node names, a
closer match for BEAM language nodes, which use atoms for their names.
sourceraw docstring

pingclj

(ping node-name)
(ping node-name timeout)
(ping this-node node-name timeout)

An alias jiface.otp.nodes/ping that also allows for a 2-arity call (with the default timeout set to 1000).

An alias ``jiface.otp.nodes/ping`` that also allows for a
2-arity call (with the default timeout set to 1000).
sourceraw docstring

publish-portclj

(publish-port this)

Make public the information needed by remote nodes that may wish to connect to this one.

Make public the information needed by remote nodes that may wish to
connect to this one.
sourceraw docstring

register-mboxclj

(register-mbox this mbox-name mbox)

Register or remove a name for the given mailbox.

Register or remove a name for the given mailbox.
sourceraw docstring

register-status-handlerclj

(register-status-handler this handler)

Register interest in certain system events.

Register interest in certain system events.
sourceraw docstring

selfclj

(self & args)

An alias for for the constructorjiface.otp.nodes/self but one that allows for symbols and keywords to be used as node names, a closer match for BEAM language nodes, which use atoms for their names.

An alias for for the constructor``jiface.otp.nodes/self``
but one that allows for symbols and keywords to be used as node names, a
closer match for BEAM language nodes, which use atoms for their names.
sourceraw docstring

(set-cookie this value)

Set the authorization cookie used by this node.

Set the authorization cookie used by this node.
sourceraw docstring

set-flagsclj

(set-flags this flags)
source

unpublish-portclj

(unpublish-port this)

Unregister the server node's name and port number from the Erlang port mapper, thus preventing any new connections from remote nodes.

Unregister the server node's name and port number from the Erlang port
mapper, thus preventing any new connections from remote nodes.
sourceraw docstring

whereisclj

(whereis & args)

An alias for jiface.otp.nodes/whereis that also allows for the mailbox name argument to be a symbol, keyword, or string.

An alias for ``jiface.otp.nodes/whereis`` that also allows for
the mailbox name argument to be a symbol, keyword, or string.
sourceraw docstring

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

× close