unPublishPort() 공개 정적인 메소드

public static unPublishPort ( OtpLocalNode node ) : void
node OtpLocalNode
리턴 void
예제 #1
0
파일: OtpNode.cs 프로젝트: trompa/jungerl
            private void  unPublishPort()
            {
                // unregister with epmd
                OtpEpmd.unPublishPort(a_node);

                // close the local descriptor (if we have one)
                closeSock(a_node.epmd);
                a_node.epmd = null;
            }
예제 #2
0
        /*
         * Unregister the server node's name and port number from the Erlang
         * port mapper, thus preventing any new connections from remote
         * nodes.
         **/
        public virtual void  unPublishPort()
        {
            // unregister with epmd
            OtpEpmd.unPublishPort(this);

            // close the local descriptor (if we have one)
            try
            {
                if (base.epmd != null)
                {
                    base.epmd.Close();
                }
            }
            catch (System.IO.IOException)
            {
                /*ignore close errors */
            }
            base.epmd = null;
        }