- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for doDisconnect (0.48 sec)
-
src/main/java/jcifs/util/transport/Transport.java
} } /** * Disconnect the transport * * @param hard if true, disconnect immediately without waiting for outstanding requests * @return whether connection was in use * @throws IOException if an I/O error occurs during disconnection */ public synchronized boolean disconnect(final boolean hard) throws IOException { return disconnect(hard, true); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 27.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
nonPooledConnections.offer(nonPooledSpy); // Mock disconnect behavior when(pooledSpy.disconnect(false, false)).thenReturn(true); // In use when(nonPooledSpy.disconnect(false, false)).thenReturn(false); // Not in use // When: Close the pool boolean inUse = pool.close(); // Then: Should report in-use and call disconnect on all assertTrue(inUse, "Should report connections in use");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 19.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
* Someone removed the share while we were * connected. Bastards! Disconnect this tree * so that it reconnects cleanly should the share * reappear in this client's lifetime. */ log.debug("Disconnect tree on NT_STATUS_NETWORK_NAME_DELETED"); treeDisconnect(true, true); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 33.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 68.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/MultiChannelManager.java
for (ChannelInfo channel : channelGroup.getChannels()) { try { if (channel.getTransport() != null) { channel.getTransport().disconnect(true); } } catch (Exception e) { log.warn("Error closing channel {}: {}", channel.getChannelId(), e.getMessage()); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 20.5K bytes - Viewed (0) -
docs/en/docs/how-to/custom-docs-ui-assets.md
Now, to be able to test that everything works, create a *path operation*: {* ../../docs_src/custom_docs_ui/tutorial002.py hl[39:41] *} ### Test Static Files UI { #test-static-files-ui } Now, you should be able to disconnect your WiFi, go to your docs at <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a>, and reload the page.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 7.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java
/** SMB2 logoff command */ protected static final short SMB2_LOGOFF = 0x02; /** SMB2 tree connect command */ protected static final short SMB2_TREE_CONNECT = 0x0003; /** SMB2 tree disconnect command */ protected static final short SMB2_TREE_DISCONNECT = 0x0004; /** SMB2 create/open file command */ protected static final short SMB2_CREATE = 0x0005; /** SMB2 close file command */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24K bytes - Viewed (0)