Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 38 for isSMB2 (0.05 sec)

  1. src/main/java/jcifs/internal/smb2/rdma/RdmaTransport.java

            return delegate.getSmbSession(tf, targetHost, targetDomain);
        }
    
        @Override
        public boolean isSMB2() throws SmbException {
            return delegate.isSMB2();
        }
    
        @Override
        public int getInflightRequests() {
            return delegate.getInflightRequests();
        }
    
        @Override
        public CIFSContext getContext() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/SmbTreeHandle.java

         */
        boolean isSameTree(SmbTreeHandle th);
    
        /**
         * Checks if this tree handle uses SMB2 or later protocol
         * @return whether this tree handle uses SMB2+
         */
        boolean isSMB2();
    
        /**
         * Gets the remote host name for this tree connection
         * @return the remote host name
         */
        String getRemoteHostName();
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbTransportImplTest.java

            setField(transport, "smb2", true);
            assertTrue(transport.isSMB2());
    
            // 2) smb2 false but negotiated is SMB2 response
            setField(transport, "smb2", false);
            Smb2NegotiateResponse smb2 = new Smb2NegotiateResponse(cfg);
            setField(transport, "negotiated", smb2);
            assertTrue(transport.isSMB2());
    
            // 3) SMB1 negotiation
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFile.java

                }
    
                final Configuration config = h.getConfig();
                SmbBasicFileInfo info;
                boolean haveSize = true, haveAttributes = true;
                long fileSize = 0;
                if (h.isSMB2()) {
                    final Smb2CreateRequest req = new Smb2CreateRequest(config, uncPath);
                    req.setDesiredAccess(access);
                    setCreateDisposition(req, flags);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbPipeInputStream.java

         * on the server.
         */
        @Override
        public int available() throws IOException {
            try (SmbFileHandleImpl fd = this.handle.ensureOpen(); SmbTreeHandleImpl th = fd.getTree()) {
                if (th.isSMB2()) {
                    final Smb2IoctlRequest req = new Smb2IoctlRequest(th.getConfig(), Smb2IoctlRequest.FSCTL_PIPE_PEEK, fd.getFileId());
                    req.setMaxOutputResponse(16);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbRandomAccessFile.java

                final SmbComReadAndXResponse response = new SmbComReadAndXResponse(th.getConfig(), b, off);
                do {
                    r = len > this.readSize ? this.readSize : len;
    
                    if (th.isSMB2()) {
                        final Smb2ReadRequest request = new Smb2ReadRequest(th.getConfig(), fh.getFileId(), b, off);
                        request.setOffset(this.fp);
                        request.setReadLength(r);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbFileOutputStream.java

            this.sharing = sharing;
            this.access = access | SmbConstants.FILE_WRITE_DATA;
    
            try (SmbTreeHandleImpl th = file.ensureTreeConnected()) {
                this.smb2 = th.isSMB2();
                try (SmbFileHandleImpl fh = ensureOpen()) {
                    if (append) {
                        this.fp = fh.getInitialSize();
                    }
                    init(th);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbWatchHandleImpl.java

            }
            try (SmbTreeHandleImpl th = this.handle.getTree()) {
    
                CommonServerMessageBlockRequest req;
                NotifyResponse resp = null;
                if (th.isSMB2()) {
                    final Smb2ChangeNotifyRequest r = new Smb2ChangeNotifyRequest(th.getConfig(), this.handle.getFileId());
                    r.setCompletionFilter(this.filter);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbPipeOutputStreamTest.java

        private SmbPipeOutputStream newStream() throws CIFSException {
            // Arrange common constructor collaborators to avoid touching network/state
            when(handle.getPipe()).thenReturn(pipe);
            when(tree.isSMB2()).thenReturn(true);
            when(tree.getSendBufferSize()).thenReturn(4096);
            // Act
            return new SmbPipeOutputStream(handle, tree);
        }
    
        @ParameterizedTest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/DialectVersion.java

            this.smb2 = true;
            this.dialect = dialectId;
        }
    
        /**
         * Check if this is an SMB2 dialect version
         *
         * @return the smb2
         */
        public final boolean isSMB2() {
            return this.smb2;
        }
    
        /**
         * Get the SMB2 dialect identifier
         *
         * @return the dialect
         */
        public final int getDialect() {
            if (!this.smb2) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
Back to top