Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for isReceived (0.1 sec)

  1. src/main/java/jcifs/smb/SmbTreeImpl.java

                    chainedResponse = treeConnect(request, response);
                }
                if ( request == null || ( chainedResponse != null && chainedResponse.isReceived() ) ) {
                    return chainedResponse;
                }
    
                // fall trough if the tree connection is already established
                // and send it as a separate request instead
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 29.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/util/transport/Transport.java

                makeKey( request );
                response.isReceived = false;
                try {
                    response_map.put( request, response );
                    doSend( request );
                    response.expiration = System.currentTimeMillis() + timeout;
                    while (!response.isReceived) {
                        wait( timeout );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/transport/Response.java

     */
    package jcifs.util.transport;
    
    
    /**
     *
     */
    public interface Response extends Message {
    
        /**
         * 
         * @return whether the response is received
         */
        boolean isReceived ();
    
    
        /**
         * Set received status
         */
        void received ();
    
    
        /**
         * Unset received status
         */
        void clearReceived ();
    
    
        /**
         * 
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/util/transport/Response.java

    package jcifs.smb1.util.transport;
    
    public abstract class Response {
        public long expiration;
        public boolean isReceived;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 130 bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/DirFileEntryEnumIterator2.java

            try {
                createResp = th.send(create);
            }
            catch ( SmbException e ) {
                Smb2CreateResponse cr = create.getResponse();
                if ( cr != null && cr.isReceived() && cr.getStatus() == NtStatus.NT_STATUS_OK ) {
                    try {
                        th.send(new Smb2CloseRequest(th.getConfig(), cr.getFileId()));
                    }
                    catch ( SmbException e2 ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 20 16:15:08 UTC 2020
    - 5.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java

         * @see jcifs.internal.smb2.ServerMessageBlock2Response#prepare(jcifs.internal.CommonServerMessageBlockRequest)
         */
        @Override
        public void prepare ( CommonServerMessageBlockRequest next ) {
            if ( isReceived() ) {
                ( (ServerMessageBlock2) next ).setTreeId(getTreeId());
            }
            super.prepare(next);
        }
    
    
        /**
         * @return the shareType
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon May 23 14:35:20 UTC 2022
    - 6.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java

        public final void clearReceived () {
            this.received = false;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.util.transport.Response#isReceived()
         */
        @Override
        public final boolean isReceived () {
            return this.received;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.util.transport.Response#isError()
         */
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 7.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbSessionImpl.java

                    catch ( GeneralSecurityException e ) {
                        throw new SmbException("Session setup failed", e);
                    }
    
                    if ( chainedResponse != null && chainedResponse.isReceived() ) {
                        return chainedResponse;
                    }
    
                    if ( request instanceof SmbComTreeConnectAndX ) {
                        SmbComTreeConnectAndX tcax = (SmbComTreeConnectAndX) request;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 17:41:04 UTC 2021
    - 49K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupResponse.java

         *
         * @see jcifs.internal.smb2.ServerMessageBlock2Response#prepare(jcifs.internal.CommonServerMessageBlockRequest)
         */
        @Override
        public void prepare ( CommonServerMessageBlockRequest next ) {
            if ( isReceived() ) {
                next.setSessionId(getSessionId());
            }
            super.prepare(next);
        }
    
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbWatchHandleImpl.java

                    throw e;
                }
                if ( log.isTraceEnabled() ) {
                    log.trace("Returned from NtTransNotifyChange " + resp.getErrorCode());
                }
    
                if ( !resp.isReceived() ) {
                    throw new CIFSException("Did not receive response");
                }
    
                if ( resp.getErrorCode() == 0x10B ) {
                    this.handle.markClosed();
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.5K bytes
    - Viewed (0)
Back to top