Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for getByName (0.1 sec)

  1. guava-tests/test/com/google/common/net/InetAddressesTest.java

        assertTrue(InetAddresses.isMaximum(address));
      }
    
      public void testIncrementIPv4() throws UnknownHostException {
        InetAddress address_66_0 = InetAddress.getByName("172.24.66.0");
        InetAddress address_66_255 = InetAddress.getByName("172.24.66.255");
        InetAddress address_67_0 = InetAddress.getByName("172.24.67.0");
    
        InetAddress address = address_66_0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/UniAddress.java

         * @throws java.net.UnknownHostException if there is an error resolving the name
         */
    
        public static UniAddress getByName( String hostname )
                                            throws UnknownHostException {
            return getByName( hostname, false );
        }
    
        static boolean isDotQuadIP( String hostname ) {
            if( Character.isDigit( hostname.charAt( 0 ))) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 16.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                }
            }
            return true;
        }
    
    
        @Override
        public UniAddress getByName ( String hostname ) throws UnknownHostException {
            return getByName(hostname, false);
        }
    
    
        @Override
        public UniAddress getByName ( String hostname, boolean possibleNTDomainOrWorkgroup ) throws UnknownHostException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 14 14:26:22 UTC 2022
    - 38.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/netbios/NbtAddress.java

     * <code>getByName</code> methods can be used for that.
     *
     * @param host hostname to resolve
     * @throws java.net.UnknownHostException if there is an error resolving the name
     */
    
        public static NbtAddress getByName( String host )
                                            throws UnknownHostException {
            return getByName( host, 0x00, null );
        }
    
    /** 
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 30.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/TimeoutTest.java

                @Override
                public Address getByName ( String hostname ) throws UnknownHostException {
                    return wrap(hostname, super.getByName(hostname));
                }
    
    
                @Override
                public Address getByName ( String hostname, boolean possibleNTDomainOrWorkgroup ) throws UnknownHostException {
                    return wrap(hostname, super.getByName(hostname, possibleNTDomainOrWorkgroup));
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 12.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/netbios/NbtAddress.java

     * name resolution and session services are handled internally by the smb package.
     * 
     * <p>
     * Applications can use the methods <code>getLocalHost</code>,
     * <code>getByName</code>, and
     * <code>getAllByAddress</code> to create a new NbtAddress instance. This
     * class is symmetric with {@link java.net.InetAddress}.
     *
     * <p>
     * <b>About NetBIOS:</b> The NetBIOS name
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 15.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/Config.java

         */
    
        public static InetAddress getInetAddress( String key, InetAddress def ) {
            String addr = prp.getProperty( key );
            if( addr != null ) {
                try {
                    def = InetAddress.getByName( addr );
                } catch( UnknownHostException uhe ) {
                    if( log.level > 0 ) {
                        log.println( addr );
                        uhe.printStackTrace( log );
                    }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/Dfs.java

                _domains = null;
            }
            if (_domains != null)
                return _domains.map;
            try {
                UniAddress addr = UniAddress.getByName(auth.domain, true);
                SmbTransport trans = SmbTransport.getSmbTransport(addr, 0);
                CacheEntry entry = new CacheEntry(Dfs.TTL * 10L);
    
                DfsReferral dr = trans.getDfsReferrals(auth, "", 0);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/SessionTest.java

            ctx.getTransportPool().logon(ctx, ctx.getNameServiceClient().getByName(getTestServer()));
        }
    
    
        // #68
        @Test ( expected = SmbException.class )
        public void testPoolLogonFail () throws CIFSException, UnknownHostException {
            CIFSContext ctx = withTestNTLMCredentials(getContext());
            ctx.getTransportPool().logon(ctx, ctx.getNameServiceClient().getByName("0.0.0.0"), 12345);
        }
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

            this.lport = lport;
            this.laddr = laddr;
    
            try {
                baddr = Config.getInetAddress( "jcifs.smb1.netbios.baddr",
                            InetAddress.getByName( "255.255.255.255" ));
            } catch( UnknownHostException uhe ) {
            }
    
            snd_buf = new byte[SND_BUF_SIZE];
            rcv_buf = new byte[RCV_BUF_SIZE];
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 17.4K bytes
    - Viewed (0)
Back to top