Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for doSkip (0.14 sec)

  1. src/main/java/jcifs/smb1/util/transport/Transport.java

        /**
         * Skips an unexpected or unrecognized message.
         *
         * @throws IOException if an I/O error occurs
         */
        protected abstract void doSkip() throws IOException;
    
        /**
         * Sends a request and waits for the corresponding response.
         *
         * @param request the request to send
         * @param response the response object to populate
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/transport/Transport.java

        /**
         * Skip a response with the given key
         *
         * @param key the key of the response to skip
         * @throws IOException if an I/O error occurs
         */
        protected abstract void doSkip(Long key) throws IOException;
    
        /**
         * Checks if the transport is disconnected.
         *
         * @return whether the transport is disconnected
         */
        public boolean isDisconnected() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/transport/TransportTest.java

            protected void doRecv(Response response) throws IOException {
                if (recvException != null) {
                    throw recvException;
                }
            }
    
            @Override
            protected void doSkip(Long key) throws IOException {
            }
    
            @Override
            protected int getResponseTimeout(Request request) {
                return 1000;
            }
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                    if (LogStream.level >= 6) {
                        Hexdump.hexdump(log, BUF, 4, size);
                    }
                }
            }
        }
    
        @Override
        protected void doSkip() throws IOException {
            final int size = Encdec.dec_uint16be(sbuf, 2) & 0xFFFF;
            if (size < 33 || 4 + size > rcv_buf_size) {
                /* log message? */
                in.skip(in.available());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTransportImpl.java

                    resp.decode(buffer, 4);
                }
            } finally {
                getContext().getBufferCache().releaseBuffer(buffer);
            }
        }
    
        @Override
        protected void doSkip(final Long key) throws IOException {
            synchronized (this.inLock) {
                final int size = Encdec.dec_uint16be(this.sbuf, 2) & 0xFFFF;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
Back to top