breakLinks() 개인적인 메소드

private breakLinks ( System reason ) : void
reason System
리턴 void
예제 #1
0
파일: OtpNode.cs 프로젝트: trompa/jungerl
 /*
  * Close the specified mailbox.
  *
  * @param the mailbox to close.
  *
  * <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 the mailbox to other {@link
  * OtpErlangPid pids}, they will be broken when this method is
  * called and exit signals will be sent. </p>
  *
  **/
 public virtual void  closeMbox(OtpMbox mbox)
 {
     if (mbox != null)
     {
         mboxes.remove(mbox);
         mbox.name = null;
         mbox.breakLinks("normal");
     }
 }
예제 #2
0
파일: OtpNode.cs 프로젝트: saleyn/otp.net
		/*
		* Close the specified mailbox.
		*
		* @param the mailbox to close.
		*
		* <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 the mailbox to other {@link
		* OtpErlangPid pids}, they will be broken when this method is
		* called and exit signals will be sent. </p>
		*
		**/
		public virtual void  closeMbox(OtpMbox mbox)
		{
			if (mbox != null)
			{
				mboxes.remove(mbox);
				mbox.name = null;
				mbox.breakLinks("normal");
			}
		}