- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 51 for Disconnect (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/jcifs/smb1/util/transport/Transport.java
thread = null; } } } /** * Disconnects from the remote endpoint. * * @param hard if true, disconnect immediately without waiting for outstanding requests * @throws IOException if an I/O error occurs during disconnection */ public synchronized void disconnect(boolean hard) throws IOException { IOException ioe = null; switch (state) {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 11.3K bytes - Click Count (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. *
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.5K bytes - Click Count (0) -
docs_src/websockets/tutorial003_py39.py
self.active_connections: list[WebSocket] = [] async def connect(self, websocket: WebSocket): await websocket.accept() self.active_connections.append(websocket) def disconnect(self, websocket: WebSocket): self.active_connections.remove(websocket) async def send_personal_message(self, message: str, websocket: WebSocket): await websocket.send_text(message)
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 2.5K bytes - Click Count (0) -
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); } /**Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 27.8K bytes - Click Count (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 */Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.2K bytes - Click Count (0) -
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")Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.5K bytes - Click Count (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();
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 8.9K bytes - Click Count (0) -
src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java
} /** * Test that disconnect() calls disconnect() on the underlying connection and resets state. */ @Test void testDisconnect() throws Exception { // Act ntlmConnection.disconnect(); // Assert verify(mockConnection).disconnect(); // Connection should be closed after disconnect } /**Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.6K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java
return responseData; } /** * Disconnects the internal FTP client and logs any errors. * This method is used to clean up failed connections. * * @param client The FTP client to disconnect */ protected void disconnectInternalClient(final FTPClient client) { try { client.disconnect(); } catch (final IOException e) {Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Mon Nov 24 03:59:47 GMT 2025 - 40K bytes - Click Count (0) -
internal/grid/muxclient.go
} if debugPrint { fmt.Println("Connecting Mux", m.MuxID, ",to", m.parent.Remote) } // Space for one message and an error. responseCh := make(chan Response, 1) // Spawn simple disconnect if requests == nil { go m.handleOneWayStream(responseCh, responses) return &Stream{responses: responseCh, Requests: nil, ctx: m.ctx, cancel: m.cancelFn, muxID: m.MuxID}, nil }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 15.9K bytes - Click Count (0)