Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for setRequestCredits (0.08 sec)

  1. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Request.java

        @Override
        public int getCreditCost () {
            return 1;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.util.transport.Request#setRequestCredits(int)
         */
        @Override
        public void setRequestCredits ( int credits ) {
            setCredit(credits);
        }
    
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/Smb2CancelRequest.java

            return null;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.util.transport.Request#setRequestCredits(int)
         */
        @Override
        public void setRequestCredits ( int credits ) {
            setCredit(credits);
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.CommonServerMessageBlockRequest#setTid(int)
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/transport/Request.java

    public interface Request extends Message {
    
        /**
         * @return number of credits this request requires
         */
        int getCreditCost ();
    
    
        /**
         * @param credits
         */
        void setRequestCredits ( int credits );
    
    
        /**
         * @return whether this is a cancel request
         */
        boolean isCancel ();
    
    
        /**
         * @return chained request
         */
        Request getNext ();
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

        @Override
        public int getGrantedCredits () {
            return 1;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.util.transport.Request#setRequestCredits(int)
         */
        @Override
        public void setRequestCredits ( int credits ) {
    
        }
    
    
        /**
         * @return the command
         */
        @Override
        public final int getCommand () {
            return this.command;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 32.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTransportImpl.java

            Smb2NegotiateResponse r = null;
            byte[] negoReqBuffer = null;
            byte[] negoRespBuffer = null;
            try {
                smb2neg.setRequestCredits(Math.max(1, this.desiredCredits - this.credits.availablePermits()));
    
                int reqLen = negotiateWrite(smb2neg, first != null);
    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