Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 85 for responses (0.29 sec)

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

            else if ( compound && this.nextCommand == 0 && this.readSize > 0 ) {
                // TODO: only apply this for actual compound chains, or is this correct for single responses, too?
                // 3.2.5.1.9 Handling Compounded Responses
                // The final response in the compounded response chain will have NextCommand equal to 0,
                // and it MUST be processed as an individual message of a size equal to the number of bytes
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Sep 30 10:47:31 GMT 2018
    - 19.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/util/transport/Transport.java

                        Response response,
                        long timeout ) throws IOException {
                makeKey( request );
                response.isReceived = false;
                try {
                    response_map.put( request, response );
                    doSend( request );
                    response.expiration = System.currentTimeMillis() + timeout;
                    while (!response.isReceived) {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java

        }
    
    
        /**
         * 
         * {@inheritDoc}
         *
         * @see jcifs.util.transport.Response#verifySignature(byte[], int, int)
         */
        @Override
        public boolean verifySignature ( byte[] buffer, int i, int size ) {
            // observed too that signatures on error responses are sometimes wrong??
            // Looks like the failure case also is just reflecting back the signature we sent
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Aug 05 09:45:59 GMT 2018
    - 7.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

        }
    
    
        /**
         * @param response
         *            the response to set
         */
        @Override
        public final void setResponse ( CommonServerMessageBlockResponse response ) {
            if ( ! ( response instanceof ServerMessageBlock ) ) {
                throw new IllegalArgumentException();
            }
            this.response = (ServerMessageBlock) response;
        }
    
    
        /**
         * {@inheritDoc}
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Aug 05 09:45:59 GMT 2018
    - 32.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

         * and well as their responses for each type however the actuall implementations
         * of the readXxxWireFormat and writeXxxWireFormat methods may not be in
         * place. For example at the time of this writing the readXxxWireFormat
         * for requests and the writeXxxWireFormat for responses are not implemented
         * and simply return 0. These would need to be completed for a server
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 21K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/transport/Transport.java

                                for ( Response response : this.response_map.values() ) {
                                    response.error();
                                }
                            }
                            throw new IOException("end of stream");
                        }
    
                        Response response = this.response_map.get(key);
                        if ( response == null ) {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Nov 01 18:12:21 GMT 2020
    - 24.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/Configuration.java

         * 
         * This does not provide any actual downgrade protection if SMB1 is allowed.
         * 
         * It will also break connections with SMB2 servers that do not properly sign error responses.
         * 
         * @return whether to enforce the use of secure negotiation.
         */
        boolean isRequireSecureNegotiate ();
    
    
        /**
         * Enable port 139 failover
         * 
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 18K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                    ioe2.printStackTrace( log );
                }
                throw ioe;
            }
        }
    
        protected void doRecv( Response response ) throws IOException {
            ServerMessageBlock resp = (ServerMessageBlock)response;
            resp.useUnicode = useUnicode;
            resp.extendedSecurity = (capabilities & CAP_EXTENDED_SECURITY) == CAP_EXTENDED_SECURITY;
    
            synchronized (BUF) {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 31.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/util/transport/Response.java

    package jcifs.smb1.util.transport;
    
    public abstract class Response {
        public long expiration;
        public boolean isReceived;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 130 bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbFile.java

        request.desiredAccess |= 0x20000;
        response.isExtended = true;
    }
                send( request, response );
                f = response.fid;
                attributes = response.extFileAttributes & ATTR_GET_MASK;
                attrExpiration = System.currentTimeMillis() + attrExpirationPeriod;
                isExists = true;
            } else {
                SmbComOpenAndXResponse response = new SmbComOpenAndXResponse();
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
Back to top