Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for caster (0.15 sec)

  1. src/main/java/jcifs/smb1/util/transport/Transport.java

        public synchronized void connect( long timeout ) throws TransportException {
            try {
                switch (state) {
                    case 0:
                        break;
                    case 3:
                        return; // already connected
                    case 4:
                        state = 0;
                        throw new TransportException( "Connection in error", te );
                    default:
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/transport/Transport.java

                    break;
                case 3:
                    return true; // already connected
                case 4:
                    this.state = 6;
                    throw new TransportException("Connection in error", this.te);
                case 5:
                case 6:
                    log.debug("Trying to connect a disconnected transport");
                    return false;
                default:
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 01 18:12:21 GMT 2020
    - 24.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                    addr = locator.getAddress();
                }
                catch ( CIFSException e ) {
                    if ( e.getCause() instanceof UnknownHostException ) {
                        log.debug("Failed to find master browser", e);
                        throw new SmbUnsupportedOperationException();
                    }
                    throw e;
                }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jul 20 08:41:19 GMT 2019
    - 12.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/EnumTest.java

            return getConfigs("smb1", "noUnicode", "forceUnicode", "noNTStatus", "noNTSmbs", "smb2", "smb30", "smb31");
        }
    
    
        @Ignore ( "This causes a connection to whatever local master browser is available, config may be incompatible with it" )
        @Test
        public void testBrowse () throws MalformedURLException, CIFSException {
            CIFSContext ctx = withAnonymousCredentials();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFileInputStream.java

                }
                while ( len > blockSize && n == r );
                // this used to be len > 0, but this is BS:
                // - InputStream.read gives no such guarantee
                // - otherwise the caller would need to figure out the block size, or otherwise might end up with very small
                // reads
                return (int) ( this.fp - start );
            }
        }
    
    
        /**
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun May 17 08:55:14 GMT 2020
    - 13.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/NameServiceClient.java

    
        /**
         * Lookup <tt>hostname</tt> and return it's <tt>UniAddress</tt>. If the
         * <tt>possibleNTDomainOrWorkgroup</tt> parameter is <tt>true</tt> an
         * additional name query will be performed to locate a master browser.
         * 
         * @param hostname
         * @param possibleNTDomainOrWorkgroup
         * 
         * @return the first resolved address
         * @throws UnknownHostException
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 7.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/netbios/NbtAddress.java

    /** 
     * This is a special name for querying the master browser that serves the
     * list of hosts found in "Network Neighborhood".
     */ 
    
        public static final String MASTER_BROWSER_NAME = "\u0001\u0002__MSBROWSE__\u0002";
    
    /**
     * A special generic name specified when connecting to a host for which
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 30.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/fscc/FileFsFullSizeInformation.java

            int start = bufferIndex;
    
            // Read total allocation units.
            this.alloc = SMBUtil.readInt8(buffer, bufferIndex);
            bufferIndex += 8;
    
            // read caller available allocation units
            this.free = SMBUtil.readInt8(buffer, bufferIndex);
            bufferIndex += 8;
    
            // skip actual free units
            bufferIndex += 8;
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/http/NetworkExplorer.java

                        dc = nameServiceClient.getByName(mb);
                    }
                    else {
                        dc = nameServiceClient.getByName(server, possibleWorkgroup);
                    }
    
                    req.getSession(); /* ensure session id is set for cluster env. */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 21.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/http/NetworkExplorer.java

                        String mb = NbtAddress.getByName( NbtAddress.MASTER_BROWSER_NAME, 0x01, null ).getHostAddress();
                        dc = UniAddress.getByName( mb );
                    } else {
                        dc = UniAddress.getByName( server, possibleWorkgroup );
                    }
    
                    req.getSession(); /* ensure session id is set for cluster env. */
                    challenge = SmbSession.getChallenge( dc );
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 22 03:57:31 GMT 2020
    - 19.7K bytes
    - Viewed (0)
Back to top