Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for SMBProtocolDecodingException (0.29 sec)

  1. src/main/java/jcifs/internal/SMBProtocolDecodingException.java

        public SMBProtocolDecodingException ( String message, Throwable cause ) {
            super(message, cause);
        }
    
    
        /**
         * @param message
         */
        public SMBProtocolDecodingException ( String message ) {
            super(message);
        }
    
    
        /**
         * @param cause
         */
        public SMBProtocolDecodingException ( Throwable cause ) {
            super(cause);
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoResponse.java

            default:
                throw new SMBProtocolDecodingException("Unknwon information type " + infoType);
            }
        }
    
    
        /**
         * @param infoClass
         * @return
         * @throws SMBProtocolDecodingException
         */
        private static Decodable createFilesystemInformation ( byte infoClass ) throws SMBProtocolDecodingException {
            switch ( infoClass ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Nov 13 15:13:49 UTC 2021
    - 6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/info/Smb2SetInfoResponse.java

            return 0;
        }
    
    
        /**
         * {@inheritDoc}
         * 
         * @throws SMBProtocolDecodingException
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int)
         */
        @Override
        protected int readBytesWireFormat ( byte[] buffer, int bufferIndex ) throws SMBProtocolDecodingException {
            int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if ( structureSize != 2 ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/Decodable.java

     */
    package jcifs;
    
    
    import jcifs.internal.SMBProtocolDecodingException;
    
    
    /**
     * @author mbechler
     *
     */
    public interface Decodable {
    
        /**
         * @param buffer
         * @param bufferIndex
         * @param len
         * @return decoded length
         * @throws SMBProtocolDecodingException
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/Smb2EchoResponse.java

         */
        @Override
        protected int readBytesWireFormat ( byte[] buffer, int bufferIndex ) throws SMBProtocolDecodingException {
            int start = bufferIndex;
            int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if ( structureSize != 4 ) {
                throw new SMBProtocolDecodingException("Expected structureSize = 4");
            }
            return bufferIndex - start;
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/io/Smb2FlushResponse.java

         */
        @Override
        protected int readBytesWireFormat ( byte[] buffer, int bufferIndex ) throws SMBProtocolDecodingException {
            int start = bufferIndex;
            int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if ( structureSize != 4 ) {
                throw new SMBProtocolDecodingException("Expected structureSize = 4");
            }
            bufferIndex += 4;
    
            return bufferIndex - start;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponse.java

         *
         * @see jcifs.Decodable#decode(byte[], int, int)
         */
        @Override
        public int decode ( byte[] buffer, int bufferIndex, int len ) throws SMBProtocolDecodingException {
            int start = bufferIndex;
            if ( len < 24 ) {
                throw new SMBProtocolDecodingException("Invalid resume key");
            }
    
            this.resumeKey = new byte[24];
            System.arraycopy(buffer, bufferIndex, this.resumeKey, 0, 24);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/session/Smb2LogoffResponse.java

         */
        @Override
        protected int readBytesWireFormat ( byte[] buffer, int bufferIndex ) throws SMBProtocolDecodingException {
            int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if ( structureSize != 4 ) {
                throw new SMBProtocolDecodingException("Structure size is not 4");
            }
            return 4;
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponse.java

            return 0;
        }
    
    
        /**
         * {@inheritDoc}
         * 
         * @throws SMBProtocolDecodingException
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int)
         */
        @Override
        protected int readBytesWireFormat ( byte[] buffer, int bufferIndex ) throws SMBProtocolDecodingException {
            int start = bufferIndex;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 07:13:17 UTC 2018
    - 3.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponse.java

            int start = bufferIndex;
            int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if ( structureSize == 9 ) {
                return super.readErrorResponse(buffer, bufferIndex);
            }
            else if ( structureSize != 49 ) {
                throw new SMBProtocolDecodingException("Expected structureSize = 49");
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 7.4K bytes
    - Viewed (0)
Back to top