- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 58 for Disconnect (0.08 sec)
-
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(); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 22.1K bytes - Viewed (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 {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 13K bytes - Viewed (0) -
docs/smb3-features/03-multi-channel-design.md
executor.submit(() -> { try { log.info("Attempting to recover channel {}", channel.getChannelId()); // Disconnect existing transport channel.getTransport().disconnect(); // Create new transport SmbTransport newTransport = manager.createTransport( channel.getLocalInterface(),
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 39.6K bytes - Viewed (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 {
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Sat May 10 01:44:04 UTC 2025 - 3.4K bytes - Viewed (0) -
docs/smb3-features/06-witness-protocol-design.md
try { // Create new transport to new address SmbTransport newTransport = new SmbTransport(context, newAddress, transport.getPort()); // Disconnect old transport transport.disconnect(); // Replace with new transport this.transport = newTransport; newTransport.connect();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 42K bytes - Viewed (0) -
docs/smb3-features/05-rdma-smb-direct-design.md
throw new IOException("Timeout waiting for RDMA send credit"); } } @Override public void disconnect() throws IOException { try { rdmaConnection.close(); } finally { bufferManager.cleanup(); super.disconnect(); } } public RdmaProvider getProvider() { return provider; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 35.9K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmHttpURLConnection.java
@Override public String getResponseMessage() throws IOException { handshake(); return this.connection.getResponseMessage(); } @Override public void disconnect() { this.connection.disconnect(); this.handshakeComplete = false; this.connected = false; } @Override public boolean usingProxy() { return this.connection.usingProxy(); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 25.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbTreeTest.java
assertEquals(2, tree.connectionState); assertEquals(456, tree.tid); assertEquals("testService", tree.service); assertTrue(tree.inDfs); // Test tree disconnect tree.treeDisconnect(false); assertEquals(0, tree.connectionState); } @Test void testTreeConnectFailure() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbWatchHandleImplTest.java
SmbException ex = assertThrows(SmbException.class, sut::watch, "Expected SmbException when handle invalid"); assertTrue(ex.getMessage().contains("Watch was broken by tree disconnect")); } // Happy path for SMB2: a response is received and the list is returned; tree is closed @Test @DisplayName("watch() SMB2 happy path returns notifications and closes tree")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java
Smb2TreeDisconnectRequest request = new Smb2TreeDisconnectRequest(mockConfig); // When int size = request.size(); // Then // SMB2_HEADER_LENGTH + 4 bytes for tree disconnect structure int expectedSize = Smb2Constants.SMB2_HEADER_LENGTH + 4; // size8 method aligns to 8-byte boundary int alignedSize = (expectedSize + 7) & ~7; assertEquals(alignedSize, size); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0)