unPublishPort() публичный статический Метод

public static unPublishPort ( OtpLocalNode node ) : void
node OtpLocalNode
Результат void
Пример #1
0
            private void unPublishPort()
            {
                // unregister with epmd
                OtpEpmd.unPublishPort(node);

                // close the local descriptor (if we have one)
                closeSock(node.getEpmd());
                node.setEpmd(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 void unPublishPort()
        {
            // unregister with epmd
            OtpEpmd.unPublishPort(this);

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