Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for disconnecting (0.07 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbTree.java

    package jcifs.smb1.smb1;
    
    import jcifs.smb1.util.LogStream;
    
    class SmbTree {
    
        private static int tree_conn_counter;
    
        /* 0 - not connected
         * 1 - connecting
         * 2 - connected
         * 3 - disconnecting
         */
        int connectionState;
        int tid;
    
        String share;
        String service = "?????";
        String service0;
        SmbSession session;
        boolean inDfs, inDomainDfs;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbSession.java

                tree.send(req, resp);
            }
        }
    
        /* 0 - not connected
         * 1 - connecting
         * 2 - connected
         * 3 - disconnecting
         */
        int connectionState;
        int uid;
        Vector trees;
        // Transport parameters allows trans to be removed from CONNECTIONS
        private final UniAddress address;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTreeConnection.java

                }
    
                final SmbTransportInternal et = this.exclusiveTransport;
                if (et != null) {
                    synchronized (this) {
                        try {
                            log.debug("Disconnecting exclusive transport");
                            this.exclusiveTransport = null;
                            this.tree = null;
                            this.treeAcquired = false;
                            et.close();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (1)
  4. src/main/java/jcifs/smb/SmbTreeImpl.java

        private static AtomicLong TREE_CONN_COUNTER = new AtomicLong();
    
        /*
         * 0 - not connected
         * 1 - connecting
         * 2 - connected
         * 3 - disconnecting
         */
        private final AtomicInteger connectionState = new AtomicInteger();
    
        private final String share;
        private final String service0;
        private final SmbSessionImpl session;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java

                if (oldTransport != null) {
                    try {
                        oldTransport.close();
                    } catch (Exception e) {
                        log.debug("Error disconnecting old transport", e);
                    }
                }
    
                // Create new transport
                SmbTransport newTransport = manager.createTransport(channel.getLocalInterface(), channel.getRemoteInterface());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/transport/TransportTest.java

            void shouldIdentifyDisconnectedStates() {
                // States: 0=not connected, 1=connecting, 2=run connected, 3=connected,
                // 4=error, 5=disconnecting, 6=disconnected/invalid
                int[] disconnectedStates = { 0, 4, 5, 6 };
                int[] connectedStates = { 1, 2, 3 };
    
                for (int state : disconnectedStates) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/util/transport/Transport.java

    /**
     * This class simplifies communication for protocols that support
     * multiplexing requests. It encapsulates a stream and some protocol
     * knowledge (provided by a concrete subclass) so that connecting,
     * disconnecting, sending, and receiving can be syncronized
     * properly. Apparatus is provided to send and receive requests
     * concurrently.
     */
    
    public abstract class Transport implements Runnable {
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                connectionsRemoved.incrementAndGet();
    
                try {
                    transport.disconnect(true, true);
                } catch (Exception e) {
                    log.debug("Error disconnecting unhealthy transport: {}", e.getMessage());
                }
            }
    
            if (!unhealthy.isEmpty()) {
                log.info("Removed {} unhealthy connections from pool", unhealthy.size());
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/transport/Transport.java

         * this transport.
         */
    
        /**
         * Disconnect the transport connection
         *
         * @param hard if true, force immediate disconnection without waiting for pending requests
         * @param inUse whether the transport is currently in use
         * @return true if the disconnection was successful
         * @throws IOException if an I/O error occurs
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  10. internal/grid/muxserver.go

    	}
    }
    
    // disconnect will disconnect the mux.
    // m.recvMu must be locked when calling this function.
    func (m *muxServer) disconnect(msg string, locked bool) {
    	if debugPrint {
    		fmt.Println("Mux", m.ID, "disconnecting. Reason:", msg)
    	}
    	if msg != "" {
    		m.send(message{Op: OpMuxServerMsg, MuxID: m.ID, Flags: FlagPayloadIsErr | FlagEOF, Payload: []byte(msg)})
    	} else {
    		m.send(message{Op: OpDisconnectClientMux, MuxID: m.ID})
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 9.7K bytes
    - Viewed (0)
Back to top