Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for hasCapability (0.33 sec)

  1. src/main/java/jcifs/smb/SmbTreeHandleImpl.java

        public void ensureDFSResolved() throws CIFSException {
            this.treeConnection.ensureDFSResolved(this.resourceLoc);
        }
    
        @Override
        public boolean hasCapability(final int cap) throws SmbException {
            return this.treeConnection.hasCapability(cap);
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbTreeHandle#isConnected()
         */
        @Override
        public boolean isConnected() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/rdma/RdmaTransport.java

            return statistics;
        }
    
        // Delegate all SmbTransportInternal methods to the wrapped transport
    
        @Override
        public boolean hasCapability(int cap) throws SmbException {
            return delegate.hasCapability(cap);
        }
    
        @Override
        public boolean isDisconnected() {
            return delegate.isDisconnected();
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTreeConnection.java

         * @throws SmbException
         */
        public boolean hasCapability(final int cap) throws SmbException {
            try (SmbSessionImpl s = getSession()) {
                if (s != null) {
                    try (SmbTransportImpl transport = s.getTransport()) {
                        return transport.hasCapability(cap);
                    }
                }
                throw new SmbException("Not connected");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (1)
  4. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

                        th.send(new TransWaitNamedPipe(th.getConfig(), this.uncPath), new TransWaitNamedPipeResponse(th.getConfig()));
                    }
    
                    if (th.hasCapability(SmbConstants.CAP_NT_SMBS) || this.uncPath.startsWith("\\pipe\\")) {
                        this.handle = this.pipe.openUnshared(this.openFlags, this.access, this.sharing, SmbConstants.ATTR_NORMAL, 0);
                    } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFileInputStream.java

                this.readSizeFile = th.getReceiveBufferSize();
                return;
            }
    
            this.readSize = Math.min(th.getReceiveBufferSize() - 70, th.getMaximumBufferSize() - 70);
    
            if (th.hasCapability(SmbConstants.CAP_LARGE_READX)) {
                this.largeReadX = true;
                this.readSizeFile =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbFile.java

                                    long timeout = config.getPersistentHandleTimeout();
                                    boolean persistent =
                                            config.isUsePersistentHandles() && h.hasCapability(SmbConstants.CAP_PERSISTENT_HANDLES);
                                    req.addDurableHandleV2Context(timeout, persistent);
                                }
                                persistentHandlesAdded = true;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/MultiChannelManager.java

                // Ensure the transport is connected and ready
                transport.ensureConnected();
    
                // Verify multi-channel capability (SMB3+ required)
                if (!transport.isSMB2() || !transport.hasCapability(0x00000008)) { // SMB2_GLOBAL_CAP_MULTI_CHANNEL
                    throw new CIFSException("Server does not support SMB multi-channel capability");
                }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbFile.java

                log.println("open0: " + unc);
            }
    
            /*
             * NT Create AndX / Open AndX Request / Response
             */
    
            if (tree.session.transport.hasCapability(SmbConstants.CAP_NT_SMBS)) {
                final SmbComNTCreateAndXResponse response = new SmbComNTCreateAndXResponse();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTransportImpl.java

        }
    
        @Override
        public boolean isFailed() {
            final Socket s = this.socket;
            return super.isFailed() || s == null || s.isClosed();
        }
    
        @Override
        public boolean hasCapability(final int cap) throws SmbException {
            return getNegotiateResponse().haveCapabilitiy(cap);
        }
    
        /**
         * @return the negotiated
         * @throws SmbException
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbSessionImpl.java

            boolean anonymous = this.credentials.isAnonymous();
            do {
                switch (state) {
                case 10: /* NTLM */
    
                    if (trans.hasCapability(SmbConstants.CAP_EXTENDED_SECURITY)) {
                        log.debug("Extended security negotiated");
                        state = 20; /* NTLMSSP */
                        break;
                    }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
Back to top