Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for SmbComNTCreateAndXResponse (0.17 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndXResponse.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.smb1;
    
    import java.util.Date;
    
    import jcifs.smb1.util.Hexdump;
    
    class SmbComNTCreateAndXResponse extends AndXServerMessageBlock {
    
        static final int EXCLUSIVE_OPLOCK_GRANTED = 1;
        static final int BATCH_OPLOCK_GRANTED     = 2;
        static final int LEVEL_II_OPLOCK_GRANTED  = 3;
    
        byte oplockLevel;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndXResponse.java

    import jcifs.internal.SmbBasicFileInfo;
    import jcifs.internal.smb1.AndXServerMessageBlock;
    import jcifs.internal.util.SMBUtil;
    import jcifs.util.Hexdump;
    
    
    /**
     * 
     * 
     */
    public class SmbComNTCreateAndXResponse extends AndXServerMessageBlock implements SmbBasicFileInfo {
    
        static final int EXCLUSIVE_OPLOCK_GRANTED = 1;
        static final int BATCH_OPLOCK_GRANTED = 2;
        static final int LEVEL_II_OPLOCK_GRANTED = 3;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/OplockTests.java

                            | SmbConstants.FILE_WRITE_DATA;
                    int attrs = 0;
                    int options = 0;
                    String uncPath = "foo-oplock";
    
                    SmbComNTCreateAndXResponse resp = new SmbComNTCreateAndXResponse(sess.getConfig());
                    SmbComNTCreateAndX req = new SmbComNTCreateAndX(sess.getConfig(), uncPath, flags, access, sharing, attrs, options, null);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java

         */
        @Override
        public final SmbComNTCreateAndXResponse getResponse () {
            return (SmbComNTCreateAndXResponse) super.getResponse();
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.Request#initResponse(jcifs.CIFSContext)
         */
        @Override
        public SmbComNTCreateAndXResponse initResponse ( CIFSContext tc ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

                     * signing verification failure.
                     */
                    if ( this.getCommand() == SMB_COM_NT_CREATE_ANDX && ( (SmbComNTCreateAndXResponse) this ).isExtended()
                            && ( (SmbComNTCreateAndXResponse) this ).getFileType() != 1 ) {
                        this.wordCount += 8;
                    }
                }
    
                bufferIndex = start + 1 + ( this.wordCount * 2 );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Nov 28 10:56:27 UTC 2022
    - 14.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbNamedPipe.java

         * {@inheritDoc}
         *
         * @see jcifs.smb.SmbFile#customizeCreate(jcifs.internal.smb1.com.SmbComNTCreateAndX,
         *      jcifs.internal.smb1.com.SmbComNTCreateAndXResponse)
         */
        @Override
        protected void customizeCreate ( SmbComNTCreateAndX request, SmbComNTCreateAndXResponse response ) {
            request.addFlags0(0x16);
            response.setExtended(true);
        }
    
    
        /**
         * {@inheritDoc}
         *
    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/smb1/smb1/AndXServerMessageBlock.java

                     * the correct number of bytes for signing purposes. Otherwise we get a
                     * signing verification failure.
                     */
                    if (command == SMB_COM_NT_CREATE_ANDX && ((SmbComNTCreateAndXResponse)this).isExtended)
                        wordCount += 8;
                }
    
                bufferIndex = start + 1 + (wordCount * 2);
            }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbFile.java

                }
                else if ( h.hasCapability(SmbConstants.CAP_NT_SMBS) ) {
                    SmbComNTCreateAndXResponse resp = new SmbComNTCreateAndXResponse(config);
                    SmbComNTCreateAndX req = new SmbComNTCreateAndX(config, uncPath, flags, access, sharing, attrs, options, null);
                    customizeCreate(req, resp);
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbFile.java

            /*
             * 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 );
    if (this instanceof SmbNamedPipe) {
        request.flags0 |= 0x16;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
Back to top