registerName() 공개 메소드

public registerName ( System name, OtpMbox mbox ) : bool
name System
mbox OtpMbox
리턴 bool
예제 #1
0
파일: OtpMbox.cs 프로젝트: trompa/jungerl
 /*
  * <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));
     }
 }