- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 373 for connected (0.21 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinderTest.kt
assertEvents( "plan 1 TCP connected", "plan 0 cancel", "plan 1 TLS connecting...", "plan 1 TLS connect failed", "plan 2 TCP connecting...", "plan 2 TCP connected", "plan 2 TLS connecting...", "plan 2 TLS connected", ) taskFaker.advanceUntil(270.ms) assertEvents( "plan 0 TCP connect canceled", )
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 20.9K bytes - Click Count (0) -
src/test/java/jcifs/util/transport/TransportTest.java
class ConnectionLifecycleTests { @Test @DisplayName("connect should return true if already connected") void shouldReturnTrueIfAlreadyConnected() throws TransportException { transport.setState(3); // Connected assertTrue(transport.connect(1000)); } @Test @DisplayName("connect should throw TransportException on connection failure")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/witness/WitnessRpcClient.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 12.1K bytes - Click Count (0) -
src/main/java/jcifs/SmbTreeHandle.java
* * @see java.lang.AutoCloseable#close() */ @Override void close() throws CIFSException; /** * Checks whether the tree is currently connected * @return the tree is connected */ boolean isConnected(); /** * Gets the server timezone offset in milliseconds * @return server timezone offset * @throws CIFSException if an error occurs retrieving the timezone offsetCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.6K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbTree.java
*/ package jcifs.smb1.smb1; import jcifs.smb1.util.LogStream; class SmbTree { private static int tree_conn_counter; /* 0 - not connected * 1 - connecting * 2 - connected * 3 - disconnecting */ int connectionState; int tid; String share; String service = "?????"; String service0; SmbSession session;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 8.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/TreeConnectResponse.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.internal; /** * Interface for SMB Tree Connect response messages. * Handles the server's response to a tree connect request, providing tree ID, * service type, and DFS information for the connected share. * * @author mbechler */ public interface TreeConnectResponse extends CommonServerMessageBlockResponse { /**
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.8K bytes - Click Count (0) -
src/main/java/jcifs/smb1/util/transport/Transport.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 11.3K bytes - Click Count (0) -
internal/rest/client.go
func (c *Client) Close() { atomic.StoreInt32(&c.connected, closed) } // NewClient - returns new REST client. func NewClient(uu *url.URL, tr http.RoundTripper, auth func() string) *Client { connected := int32(online) urlStr := uu.String() u, err := url.Parse(urlStr) if err != nil { // Mark offline, with no reconnection attempts. connected = int32(offline) err = &url.Error{URL: urlStr, Err: err} }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 14.7K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbTreeTest.java
void testTreeConnectAndDisconnect() throws Exception { SmbTree tree = new SmbTree(session, "testShare", "testService"); // Mock transport.connect() to succeed doNothing().when(transport).connect(); // Setup response for tree connect doAnswer(invocation -> { ServerMessageBlock request = invocation.getArgument(0); ServerMessageBlock response = invocation.getArgument(1);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 10.2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinder.kt
} // Wait for an in-flight connect to complete or fail. if (connectResult == null) { connectResult = awaitTcpConnect(awaitTimeoutNanos, TimeUnit.NANOSECONDS) ?: continue } if (connectResult.isSuccess) { // We have a connected TCP connection. Cancel and defer the racing connects that all lost. cancelInFlightConnects()Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 5.8K bytes - Click Count (0)