(->str this)
Return a string representation of the node.
Return a string representation of the node.
(accept this)
Accept an incoming connection from a remote node.
Accept an incoming connection from a remote node.
(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.
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.
(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.
(create-server-transport this port-num)
Create instance of OtpServerTransport
.
Create instance of `OtpServerTransport`.
(create-transport this addr port-num)
Create instance of OtpTransport
.
Create instance of `OtpTransport`.
(get-alivename this)
Get the alivename part of the hostname.
Get the alivename part of the hostname.
(get-cookie this)
Get the authorization cookie used by this node.
Get the authorization cookie used by this node.
(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.
(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.
(get-hostname this)
Get the hostname part of the nodename.
Get the hostname part of the nodename.
(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.
(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.
(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.
(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.
(get-port this)
Get the port number used by this node.
Get the port number used by this node.
(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.
(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.
(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.
(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).
(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.
(register-mbox this mbox-name mbox)
Register or remove a name for the given mailbox.
Register or remove a name for the given mailbox.
(register-status-handler this handler)
Register interest in certain system events.
Register interest in certain system events.
(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.
(set-cookie this value)
Set the authorization cookie used by this node.
Set the authorization cookie used by this node.
(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.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close