- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 46 for doDisconnect (0.06 sec)
-
src/main/java/jcifs/smb/SmbTransportInternal.java
* @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; /** * Ensures the transport is connected to the remote server. * * @return whether the transport was connected
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComTreeDisconnect.java
* It releases the tree ID and terminates access to the share. */ public class SmbComTreeDisconnect extends ServerMessageBlock { /** * Constructs a tree disconnect request to close a connection to a shared resource. * * @param config the configuration to use */ public SmbComTreeDisconnect(final Configuration config) { super(config, SMB_COM_TREE_DISCONNECT);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.1K 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/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) -
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) -
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) -
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)