Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for setAddress (0.16 sec)

  1. src/main/java/org/codelibs/core/net/UuidUtil.java

            StringUtil.appendHex(buf, lowTime);
            StringUtil.appendHex(buf, RANDOM.nextInt());
            return buf.toString();
        }
    
        private static byte[] getAddress() {
            try {
                return InetAddress.getLocalHost().getAddress();
            } catch (final UnknownHostException ignore) {
                return DEFAULT_ADDRESS;
            }
        }
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  2. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/TunnelingUnixSocket.java

        this.inetSocketAddress = (InetSocketAddress) endpoint;
        super.connect(new UnixSocketAddress(path), timeout);
      }
    
      @Override public InetAddress getInetAddress() {
        return inetSocketAddress.getAddress();
      }
    Java
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Tue Feb 12 16:33:52 GMT 2019
    - 1.9K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/envoy/configdump/endpoint.go

    	return ep.GetHealthStatus()
    }
    
    func retrieveEndpointPort(ep *endpoint.LbEndpoint) uint32 {
    	return ep.GetEndpoint().GetAddress().GetSocketAddress().GetPortValue()
    }
    
    func retrieveEndpointAddress(ep *endpoint.LbEndpoint) string {
    	addr := ep.GetEndpoint().GetAddress()
    	if addr := addr.GetSocketAddress(); addr != nil {
    		return addr.Address + ":" + strconv.Itoa(int(addr.GetPortValue()))
    	}
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/netbios/UniAddress.java

            }
            return null;
        }
    
    
        /**
         * Return the underlying <tt>NbtAddress</tt> or <tt>InetAddress</tt>.
         * 
         * @return wrapped address
         */
        public Object getAddress () {
            return this.addr;
        }
    
    
        /**
         * Return the hostname of this address such as "MYCOMPUTER".
         * 
         * @return the hostname associated with the address
         */
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/SmbResourceLocator.java

    
        /**
         * @return the original URL
         */
        URL getURL ();
    
    
        /**
         * @return resolved server address
         * @throws CIFSException
         */
        Address getAddress () throws CIFSException;
    
    
        /**
         * @return whether this is a IPC connection
         */
        boolean isIPC ();
    
    
        /**
         * Returns type of of object this <tt>SmbFile</tt> represents.
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.6K bytes
    - Viewed (0)
Back to top