Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for hasCapability (0.07 sec)

  1. src/test/java/jcifs/tests/OplockTests.java

                        if ( ! ( e.getCause() instanceof RequestTimeoutException ) ) {
                            throw e;
                        }
                    }
                }
                else if ( trans.hasCapability(SmbConstants.CAP_NT_SMBS) ) {
                    int flags = SmbConstants.O_CREAT;
                    int sharing = SmbConstants.FILE_SHARE_DELETE | SmbConstants.FILE_SHARE_READ | SmbConstants.FILE_SHARE_WRITE;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFile.java

                    fileSize = resp.getEndOfFile();
                    fh = new SmbFileHandleImpl(config, resp.getFileId(), h, uncPath, flags, access, 0, 0, resp.getEndOfFile());
                }
                else if ( h.hasCapability(SmbConstants.CAP_NT_SMBS) ) {
                    SmbComNTCreateAndXResponse resp = new SmbComNTCreateAndXResponse(config);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFile.java

            if( log.level >= 3 )
                log.println( "open0: " + unc );
    
            /*
             * NT Create AndX / Open AndX Request / Response
             */
    
            if( tree.session.transport.hasCapability( ServerMessageBlock.CAP_NT_SMBS )) {
                SmbComNTCreateAndXResponse response = new SmbComNTCreateAndXResponse();
    SmbComNTCreateAndX request = new SmbComNTCreateAndX( unc, flags, access, shareAccess, attrs, options, null );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTransportImpl.java

    
        @Override
        public boolean isFailed () {
            Socket s = this.socket;
            return super.isFailed() || s == null || s.isClosed();
        }
    
    
        @Override
        public boolean hasCapability ( int cap ) throws SmbException {
            return getNegotiateResponse().haveCapabilitiy(cap);
        }
    
    
        /**
         * @return the negotiated
         * @throws SmbException
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
Back to top