Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 102 for getConfig (0.12 sec)

  1. src/main/java/jcifs/ntlmssp/Type2Message.java

        private byte[] targetInformation;
    
        private static final Map<String, byte[]> TARGET_INFO_CACHE = new HashMap<>();
    
    
        private static byte[] getDefaultTargetInfo ( CIFSContext tc ) {
            String domain = tc.getConfig().getDefaultDomain();
            byte[] ti = TARGET_INFO_CACHE.get(domain);
            if ( ti != null ) {
                return ti;
            }
    
            ti = makeTargetInfo(tc, domain);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 14.4K bytes
    - Viewed (0)
  2. 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 () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTreeHandleImpl.java

            return this.treeConnection.isConnected();
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbTreeHandle#getConfig()
         */
        @Override
        public Configuration getConfig () {
            return this.treeConnection.getConfig();
        }
    
    
        /**
         * @return the currently connected tree id
         */
        public long getTreeId () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbCopyUtil.java

                        dh.send(
                            new Trans2SetFileInformation(dh.getConfig(), dfd.getFid(), attrs, ctime, mtime, atime),
                            new Trans2SetFileInformationResponse(dh.getConfig()));
                    }
                    else {
                        dh.send(
                            new SmbComSetInformation(dh.getConfig(), dest.getUncPath(), attrs, mtime),
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 17.1K bytes
    - Viewed (0)
  5. 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
         * 
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Nov 13 15:14:04 UTC 2021
    - 11.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/NetServerEnumIterator.java

                this.request = new NetServerEnum2(th.getConfig(), th.getOEMDomainName(), NetServerEnum2.SV_TYPE_DOMAIN_ENUM);
                this.response = new NetServerEnum2Response(th.getConfig());
            }
            else if ( this.workgroup ) {
                this.request = new NetServerEnum2(th.getConfig(), locator.getURL().getHost(), NetServerEnum2.SV_TYPE_ALL);
                this.response = new NetServerEnum2Response(th.getConfig());
            }
            else {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbPipeInputStream.java

                    return ((SrvPipePeekResponse)resp.getOutputData()).getReadDataAvailable();
                }
                TransPeekNamedPipe req = new TransPeekNamedPipe(th.getConfig(), this.handle.getUncPath(), fd.getFid());
                TransPeekNamedPipeResponse resp = new TransPeekNamedPipeResponse(th.getConfig());
                th.send(req, resp, RequestParam.NO_RETRY);
                if ( resp.getStatus() == TransPeekNamedPipeResponse.STATUS_DISCONNECTED
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 07:12:23 UTC 2018
    - 3.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/SmbSession.java

         *
         * @see java.lang.AutoCloseable#close()
         */
        @Override
        void close ();
    
    
        /**
         * @return the configuration used by this session
         */
        Configuration getConfig ();
    
    
        /**
         * 
         * @param type
         * @return session instance with the given type
         */
        <T extends SmbSession> T unwrap ( Class<T> type );
    
    
        /**
         * 
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/SmbTreeHandle.java

    /**
     * Handle to a connected SMB tree
     * 
     * @author mbechler
     *
     */
    public interface SmbTreeHandle extends AutoCloseable {
    
        /**
         * @return the active configuration
         */
        Configuration getConfig ();
    
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.AutoCloseable#close()
         */
        @Override
        void close () throws CIFSException;
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequest.java

        }
    
    
        @Override
        protected Smb2TreeDisconnectResponse createResponse ( CIFSContext tc, ServerMessageBlock2Request<Smb2TreeDisconnectResponse> req ) {
            return new Smb2TreeDisconnectResponse(tc.getConfig());
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.CommonServerMessageBlockRequest#size()
         */
        @Override
        public int size () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.3K bytes
    - Viewed (0)
Back to top