- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 65 for Disconnect (0.18 seconds)
-
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);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 20.7K bytes - Click Count (0) -
cmd/perf-tests.go
// the last peer to connect and the first peer to disconnect. // This is to improve the RX throughput accuracy. type netPerfRX struct { RX uint64 // RX bytes lastToConnect time.Time // time at which last peer to connect to us firstToDisconnect time.Time // time at which the first peer disconnects from us RXSample uint64 // RX bytes between lastToConnect and firstToDisconnectCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 11.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java
} private void attemptRecovery(ChannelInfo channel, FailoverState state) { try { log.info("Attempting to recover channel {}", channel.getChannelId()); // Disconnect existing transport SmbTransport oldTransport = channel.getTransport(); if (oldTransport != null) { try { oldTransport.close();Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 11.6K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTransportInternal.java
*/ boolean isDisconnected(); /** * Disconnects the transport from the remote server. * * @param hard if true, force immediate disconnection * @param inuse whether the connection is currently in use * @return whether the connection was in use * @throws IOException if an I/O error occurs during disconnection */ boolean disconnect(boolean hard, boolean inuse) throws IOException; /**Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTreeConnectionTest.java
} // Request/response reset should happen on retry verify(req, atLeastOnce()).reset(); verify(resp, atLeastOnce()).reset(); // Verify disconnect was called on retry verify(c, atLeastOnce()).disconnect(eq(true)); } @Test @DisplayName("send honors NO_RETRY and propagates error immediately") void send_noRetry_param() throws Exception {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 13K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbWatchHandleImpl.java
*/ @Override public List<FileNotifyInformation> watch() throws CIFSException { if (!this.handle.isValid()) { throw new SmbException("Watch was broken by tree disconnect"); } try (SmbTreeHandleImpl th = this.handle.getTree()) { CommonServerMessageBlockRequest req; NotifyResponse resp = null; if (th.isSMB2()) {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 4.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbTransport.java
default: disconnect(true); throw new NbtException(NbtException.ERR_SSN_SRVC, errorCode); } break; case -1: disconnect(true); throw new NbtException(NbtException.ERR_SSN_SRVC, NbtException.CONNECTION_REFUSED); default: disconnect(true);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 31.8K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/io/IOIntegrationTest.java
} } class MockHttpURLConnection extends HttpURLConnection { MockHttpURLConnection(URL u) { super(u); } @Override public void disconnect() { // Do Nothing } @Override public boolean usingProxy() { return false; } @Override public void connect() throws IOException {Created: Sat Dec 20 09:13:53 GMT 2025 - Last Modified: Sat May 10 01:44:04 GMT 2025 - 3.4K bytes - Click Count (0) -
src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java
try { handshake(); } catch (final IOException ex) {} return connection.getResponseMessage(); } @Override public void disconnect() { connection.disconnect(); handshakeComplete = false; connected = false; } @Override public boolean usingProxy() { return connection.usingProxy(); }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 22.1K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
default: disconnect(true); throw new NbtException(NbtException.ERR_SSN_SRVC, errorCode); } break; case -1: disconnect(true); throw new NbtException(NbtException.ERR_SSN_SRVC, NbtException.CONNECTION_REFUSED); default: disconnect(true);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 69.8K bytes - Click Count (0)