Modifier and Type | Method and Description |
---|---|
OtpMbox |
OtpNode.Mailboxes.create() |
OtpMbox |
OtpNode.Mailboxes.create(java.lang.String name) |
OtpMbox |
OtpNode.createMbox()
Create an unnamed
mailbox that can be used to send and
receive messages with other, similar mailboxes and with Erlang processes. |
OtpMbox |
OtpNode.createMbox(java.lang.String name)
Create an named mailbox that can be used to send and receive messages
with other, similar mailboxes and with Erlang processes.
|
OtpMbox |
OtpNode.Mailboxes.get(OtpErlangPid pid) |
OtpMbox |
OtpNode.Mailboxes.get(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
OtpNode.closeMbox(OtpMbox mbox)
Close the specified mailbox with reason 'normal'.
|
void |
OtpNode.closeMbox(OtpMbox mbox,
OtpErlangObject reason)
Close the specified mailbox with the given reason.
|
boolean |
OtpNode.Mailboxes.register(java.lang.String name,
OtpMbox mbox) |
boolean |
OtpNode.registerName(java.lang.String name,
OtpMbox mbox)
Register or remove a name for the given mailbox.
|
void |
OtpNode.Mailboxes.remove(OtpMbox mbox) |