- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 46 for IsConnected (0.04 sec)
-
src/test/java/jcifs/smb/SmbTreeConnectionTest.java
} @Test @DisplayName("isConnected reflects underlying tree state") void isConnected_usesTree() { SmbTreeConnection c = newConn(); // No tree -> false assertFalse(c.isConnected()); SmbTreeImpl tree = mock(SmbTreeImpl.class); when(tree.isConnected()).thenReturn(true); setTree(c, tree); assertTrue(c.isConnected()); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 13K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocket.kt
override fun getRemoteSocketAddress(): SocketAddress = delegate!!.remoteSocketAddress override fun isBound(): Boolean = delegate!!.isBound override fun isConnected(): Boolean = delegate!!.isConnected override fun isClosed(): Boolean = delegate!!.isClosed @Throws(IOException::class) override fun bind(localAddr: SocketAddress) { delegate!!.bind(localAddr) }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 7.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
/** * @return whether we have a valid tree connection */ @SuppressWarnings("resource") public synchronized boolean isConnected() { final SmbTreeImpl t = getTreeInternal(); return t != null && t.isConnected(); } /** * * @param loc * @param host * @return tree handle * @throws IOException */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 30.4K bytes - Viewed (1) -
android/guava/src/com/google/common/collect/TreeRangeMap.java
} @Override public void remove(Range<K> range) { if (range.isConnected(subRange)) { TreeRangeMap.this.remove(range.intersection(subRange)); } } @Override public RangeMap<K, V> subRangeMap(Range<K> range) { if (!range.isConnected(subRange)) { return emptySubRangeMap(); } else {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 22.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RangeMap.java
* with the range (if any) that contains a specified key. * * <p>In contrast to {@link RangeSet}, no "coalescing" is done of {@linkplain * Range#isConnected(Range) connected} ranges, even if they are mapped to the same value. * * @author Louis Wasserman * @since 14.0 */ @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 6.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeHandleImpl.java
return this.treeConnection.hasCapability(cap); } /** * {@inheritDoc} * * @see jcifs.SmbTreeHandle#isConnected() */ @Override public boolean isConnected() { return this.treeConnection.isConnected(); } /** * {@inheritDoc} * * @see jcifs.SmbTreeHandle#getConfig() */ @Override
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Range.java
* * <p>The intersection exists if and only if the two ranges are {@linkplain #isConnected * connected}. * * <p>The intersection operation is commutative, associative and idempotent, and its identity * element is {@link Range#all}). * * @throws IllegalArgumentException if {@code isConnected(connectedRange)} is {@code false} */ public Range<C> intersection(Range<C> connectedRange) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 28K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java
NetworkInterfaceInfo localNic = new NetworkInterfaceInfo(localAddr, 1); NetworkInterfaceInfo remoteNic = new NetworkInterfaceInfo(remoteAddr, 445); // Mock transport doesn't have isConnected, but we can work around it ChannelInfo channel = new ChannelInfo("test-channel", mockTransport, localNic, remoteNic); channel.setState(ChannelState.ESTABLISHED); // Verify channel propertiesRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 8.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
} } /** * * @return whether the tree is connected */ public boolean isConnected() { return this.tid != -1 && this.session.isConnected() && this.connectionState.get() == 2; } /** * @return the type of this tree */ public int getTreeType() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaTransport.java
* * @throws IOException if connection fails */ public void connectRdma() throws IOException { synchronized (connectionLock) { if (rdmaConnection != null && rdmaConnection.isConnected()) { return; } try { rdmaConnection =Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 8.9K bytes - Viewed (0)