Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for disconnect (0.17 sec)

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

            }
        }
    
    
        /**
         * Disconnect the transport
         * 
         * @param hard
         * @return whether conenction was in use
         * @throws IOException
         */
        public synchronized boolean disconnect ( boolean hard ) throws IOException {
            return disconnect(hard, true);
        }
    
    
        /**
         * Disconnect the transport
         * 
         * @param hard
         * @param inUse
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 01 18:12:21 GMT 2020
    - 24.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/util/transport/Transport.java

                    switch (state) {
                        case 1: /* doConnect never returned */
                            state = 0;
                            thread = null;
                            throw new TransportException( "Connection timeout" );
                        case 2:
                            if (te != null) { /* doConnect throw Exception */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

            try {
                handshake();
            } catch (IOException ex) { }
            return connection.getResponseMessage();
        }
    
        public void disconnect() {
            connection.disconnect();
            handshakeComplete = false;
            connected = false;
        }
    
        public boolean usingProxy() {
            return connection.usingProxy();
        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 20.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbSession.java

                                     * sent. Unfortunately calling disconnect() doesn't always
                                     * actually shutdown the connection before other threads
                                     * have committed themselves (e.g. InterruptTest example).
                                     */
                                    try { transport.disconnect(true); } catch (Exception e) {}
                                }
        
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 18.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComTreeDisconnect.java

     */
    public class SmbComTreeDisconnect extends ServerMessageBlock {
    
        /**
         * 
         * @param config
         */
        public SmbComTreeDisconnect ( Configuration config ) {
            super(config, SMB_COM_TREE_DISCONNECT);
        }
    
    
        @Override
        protected int writeParameterWordsWireFormat ( byte[] dst, int dstIndex ) {
            return 0;
        }
    
    
        @Override
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequest.java

        /**
         * @param config
         */
        public Smb2TreeDisconnectRequest ( Configuration config ) {
            super(config, SMB2_TREE_DISCONNECT);
        }
    
    
        @Override
        protected Smb2TreeDisconnectResponse createResponse ( CIFSContext tc, ServerMessageBlock2Request<Smb2TreeDisconnectResponse> req ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbComTreeDisconnect.java

     */
    
    package jcifs.smb1.smb1;
    
    class SmbComTreeDisconnect extends ServerMessageBlock {
    
        SmbComTreeDisconnect() {
            command = SMB_COM_TREE_DISCONNECT;
        }
    
        int writeParameterWordsWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
        int writeBytesWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 1.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTransportInternal.java

    
        /**
         * @return whether the transport has been disconnected
         */
        boolean isDisconnected ();
    
    
        /**
         * @param hard
         * @param inuse
         * @return whether the connection was in use
         * @throws IOException
         */
        boolean disconnect ( boolean hard, boolean inuse ) throws IOException;
    
    
        /**
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTreeImpl.java

                         * Someone removed the share while we were
                         * connected. Bastards! Disconnect this tree
                         * so that it reconnects cleanly should the share
                         * reappear in this client's lifetime.
                         */
                        log.debug("Disconnect tree on NT_STATUS_NETWORK_NAME_DELETED");
                        treeDisconnect(true, true);
                    }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 29.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbTreeConnection.java

                // Disconnect and try again from scratch.
    
                if ( log.isDebugEnabled() ) {
                    log.debug(String.format("Retrying (%d/%d) request %s", retries, maxRetries, request));
                }
    
                // should we disconnect the transport here? otherwise we make an additional attempt to detect that if the
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:50:16 GMT 2020
    - 31K bytes
    - Viewed (0)
Back to top