Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for GetConfig (0.27 sec)

  1. src/main/java/jcifs/netbios/NameServiceClientImpl.java

            this.rcv_buf = new byte[tc.getConfig().getNetbiosRcvBufSize()];
            this.out = new DatagramPacket(this.snd_buf, tc.getConfig().getNetbiosSndBufSize(), this.baddr, NAME_SERVICE_UDP_PORT);
            this.in = new DatagramPacket(this.rcv_buf, tc.getConfig().getNetbiosRcvBufSize());
            this.resolveOrder = tc.getConfig().getResolveOrder();
    
            initCache(tc);
        }
    
        static final class CacheEntry {
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 14 14:26:22 GMT 2022
    - 38.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/SessionTest.java

            }
        }
    
    
        @Test
        public void logonGuestAlternative () throws IOException {
    
            CIFSContext ctx = getContext();
            ctx = withConfig(ctx, new DelegatingConfiguration(ctx.getConfig()) {
    
                @Override
                public String getGuestUsername () {
                    return "jcifs-guest";
                }
            }).withGuestCrendentials();
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 15.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

             * methods that the next part should be sent. This is a
             * very indirect and simple batching control mechanism.
             */
    
            if ( this.andx == null || !getConfig().isUseBatching() || this.batchLevel >= getBatchLimit(getConfig(), (byte) this.andx.getCommand()) ) {
                this.andxCommand = (byte) 0xFF;
                this.andx = null;
    
                dst[ start + ANDX_COMMAND_OFFSET ] = (byte) 0xFF;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Nov 28 10:56:27 GMT 2022
    - 14.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/OplockTests.java

                    Smb2CreateRequest create = new Smb2CreateRequest(sess.getConfig(), "\\foocc");
                    create.setCreateDisposition(Smb2CreateRequest.FILE_OPEN_IF);
                    create.setRequestedOplockLevel(Smb2CreateRequest.SMB2_OPLOCK_LEVEL_BATCH);
    
                    tree.send(create);
    
                    Smb2CreateRequest create2 = new Smb2CreateRequest(sess.getConfig(), "\\foocc");
                    create2.setOverrideTimeout(1000);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java

            this.response = new Trans2FindFirst2Response(th.getConfig());
    
            try {
                th.send(
                    new Trans2FindFirst2(
                        th.getConfig(),
                        unc,
                        this.getWildcard(),
                        this.getSearchAttributes(),
                        th.getConfig().getListCount(),
                        th.getConfig().getListSize() - FIND_OVERHEAD),
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Nov 13 15:13:49 GMT 2021
    - 5.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/DfsImpl.java

                }
                CacheEntry<Map<String, CacheEntry<DfsReferralDataInternal>>> entry = new CacheEntry<>(tf.getConfig().getDfsTtl() * 10L);
                this._domains = entry;
                if ( tf.getConfig().isDfsStrictView() && ioe instanceof SmbAuthException ) {
                    throw (SmbAuthException) ioe;
                }
                return this._domains.map;
            }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:07:29 GMT 2023
    - 29.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbFileOutputStream.java

            }
    
            if ( this.useNTSmbs ) {
                this.reqx = new SmbComWriteAndX(th.getConfig());
                this.rspx = new SmbComWriteAndXResponse(th.getConfig());
            }
            else {
                this.req = new SmbComWrite(th.getConfig());
                this.rsp = new SmbComWriteResponse(th.getConfig());
            }
        }
    
    
        /**
         * Ensures that the file descriptor is openend
         * 
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Nov 13 15:14:04 GMT 2021
    - 11.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbSessionImpl.java

        }
    
    
        /**
         * @return the configuration used by this session
         */
        @Override
        public final Configuration getConfig () {
            return this.transportContext.getConfig();
        }
    
    
        /**
         * @return the targetDomain
         */
        public final String getTargetDomain () {
            return this.targetDomain;
        }
    
    
        /**
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 14 17:41:04 GMT 2021
    - 49K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/EnumTest.java

            CIFSContext ctx = getContext();
            int origBufferSize = ctx.getConfig().getMaximumBufferSize();
            // odd buffer size that does match the alignment
            int tryBufferSize = 1023;
            final int bufSize[] = new int[] {
                origBufferSize
            };
            ctx = withConfig(ctx, new DelegatingConfiguration(ctx.getConfig()) {
    
                @Override
                public int getMaximumBufferSize () {
    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)
  10. src/main/java/jcifs/context/BaseContext.java

        public SmbTransportPool getTransportPool () {
            return this.transportPool;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.CIFSContext#getConfig()
         */
        @Override
        public Configuration getConfig () {
            return this.config;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.CIFSContext#getDfs()
         */
        @Override
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 27 18:25:00 GMT 2022
    - 5.3K bytes
    - Viewed (0)
Back to top