/** * Register or remove a name for this mailbox. Registering a name for a * mailbox enables others to send messages without knowing the * {@link OtpErlangPid pid} of the mailbox. A mailbox can have at most one * name; if the mailbox already had a name, calling this method will * supercede that name. */ public bool RegisterName(string name) { lock (lockObj) return(home.RegisterName(name, this)); }