lookupPort() public static méthode

public static lookupPort ( AbstractNode node ) : int
node AbstractNode
Résultat int
Exemple #1
0
        // package

        /*
         * Get the port number used by the remote node.
         *
         * @return the port number used by the remote node, or 0 if the node was not
         * registered with the port mapper.
         *
         * @exception java.io.IOException if the port mapper could not be contacted.
         */
        internal int port()
        {
            return(OtpEpmd.lookupPort(this));
        }