closeMbox() public method

public closeMbox ( Erlang.NET.OtpMbox mbox ) : void
mbox Erlang.NET.OtpMbox
return void
Example #1
0
 /**
  * Close this mailbox with the given reason.
  *
  * <p>
  * After this operation, the mailbox will no longer be able to receive
  * messages. Any delivered but as yet unretrieved messages can still be
  * retrieved however.
  * </p>
  *
  * <p>
  * If there are links from this mailbox to other {@link OtpErlangPid pids},
  * they will be broken when this method is called and exit signals will be
  * sent.
  * </p>
  *
  * @param reason
  *                an Erlang term describing the reason for the exit.
  */
 public void exit(OtpErlangObject reason)
 {
     home.closeMbox(this, reason);
 }