- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for doDisconnect (0.05 sec)
-
src/test/java/jcifs/util/transport/TransportTest.java
@Test @DisplayName("disconnect should succeed when connected") void shouldDisconnectWhenConnected() throws IOException { transport.setState(3); // Connected assertFalse(transport.disconnect(false)); assertEquals(6, transport.state); // Should be disconnected } @Test @DisplayName("disconnect should force hard disconnect from run connected state")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequest.java
import jcifs.internal.util.SMBUtil; /** * SMB2 Tree Disconnect request message. * * This command is used to disconnect from a previously * connected tree (shared resource). * * @author mbechler */ public class Smb2TreeDisconnectRequest extends ServerMessageBlock2Request<Smb2TreeDisconnectResponse> { /** * Creates a new SMB2 tree disconnect request to close a tree connection. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponse.java
import jcifs.internal.util.SMBUtil; /** * SMB2 Tree Disconnect response message. * * This response confirms that the tree connection * has been successfully disconnected. * * @author mbechler */ public class Smb2TreeDisconnectResponse extends ServerMessageBlock2Response { /** * Creates a new SMB2 tree disconnect response. * * @param config the CIFS configuration */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaTransport.java
return delegate.hasCapability(cap); } @Override public boolean isDisconnected() { return delegate.isDisconnected(); } @Override public boolean disconnect(boolean hard, boolean inuse) throws IOException { synchronized (connectionLock) { if (rdmaConnection != null) { try { rdmaConnection.close();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 8.9K bytes - Viewed (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()) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.5K bytes - Viewed (0) -
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) -
src/main/java/jcifs/smb1/smb1/SmbTree.java
if (se.getNtStatus() == NtStatus.NT_STATUS_NETWORK_NAME_DELETED) { /* 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. */ treeDisconnect(true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 8.1K 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)