registerName() public méthode

public registerName ( System name, OtpMbox mbox ) : bool
name System
mbox OtpMbox
Résultat bool
Exemple #1
0
 /*
  * <p> Register or remove a name for this mailbox. Registering a
  * name for a mailbox enables others to send messages without
  * knowing the {@link Pid 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. </p>
  *
  * @param name the name to register for the mailbox. Specify null to
  * unregister the existing name from this mailbox.
  *
  * @return true if the name was available, or false otherwise.
  **/
 public virtual bool registerName(System.String name)
 {
     lock (this)
     {
         return(home.registerName(name, this));
     }
 }