public class OtpLocalNode extends AbstractNode
Modifier and Type | Method and Description |
---|---|
OtpErlangPid |
createPid()
Create an Erlang
pid . |
OtpErlangPort |
createPort()
Create an Erlang
port . |
OtpErlangRef |
createRef()
Create an Erlang
reference . |
int |
port()
Get the port number used by this node.
|
alive, cookie, createServerTransport, createTransport, createTransport, host, node, setCookie, toString
public OtpErlangPid createPid()
pid
. Erlang pids are based upon
some node specific information; this method creates a pid using the
information in this node. Each call to this method produces a unique pid.public OtpErlangPort createPort()
port
. Erlang ports are based upon
some node specific information; this method creates a port using the
information in this node. Each call to this method produces a unique
port. It may not be meaningful to create a port in a non-Erlang
environment, but this method is provided for completeness.public OtpErlangRef createRef()
reference
. Erlang references are
based upon some node specific information; this method creates a
reference using the information in this node. Each call to this method
produces a unique reference.public int port()