- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for disconnecting (0.07 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java
try { if (channel.getTransport() != null) { channel.getTransport().close(); } } catch (Exception e) { log.debug("Error disconnecting removed channel", e); } } /** * Establish a replacement channel */ public void establishReplacementChannel() { if (!multiChannelEnabled) return;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 20K bytes - Viewed (0) -
internal/grid/manager.go
} m.IncomingConn(ctx, conn) } } // IncomingConn will handle an incoming connection. // This should be called with the incoming connection after accept. // Auth is handled internally, as well as disconnecting any connections from the same host. func (m *Manager) IncomingConn(ctx context.Context, conn net.Conn) { // We manage our own deadlines. conn = deadlineconn.Unwrap(conn) remoteAddr := conn.RemoteAddr().String()
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Nov 12 20:41:41 UTC 2024 - 10.8K bytes - Viewed (0) -
internal/grid/muxclient.go
// Only check ping when not closed. if got := time.Since(time.Unix(0, atomic.LoadInt64(&m.LastPong))); got > m.clientPingInterval*2 { m.respMu.Unlock() if debugPrint { fmt.Printf("Mux %d: last pong %v ago, disconnecting\n", m.MuxID, got) } m.addErrorNonBlockingClose(respHandler, ErrDisconnected) return false } // Send new ping err := m.sendLocked(message{Op: OpPing, MuxID: m.MuxID}) m.respMu.Unlock()
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 15.9K bytes - Viewed (0)