- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for DISCONNECTED (0.23 sec)
-
src/test/java/jcifs/smb/SmbPipeInputStreamTest.java
@DisplayName("available() on SMB1 returns 0 and marks closed on disconnected statuses") void available_smb1_disconnectedStatuses(int status) throws Exception { // Verify SMB1 path: disconnected/server-closed statuses yield 0 and mark fd closed SmbPipeInputStream stream = newStreamWithInit(false);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportInternalTest.java
verify(transport).hasCapability(42); } // Edge: disconnected status toggles @ParameterizedTest @DisplayName("isDisconnected reflects current mocked state") @ValueSource(booleans = { true, false }) void isDisconnected_states(boolean disconnected) { when(transport.isDisconnected()).thenReturn(disconnected); assertEquals(disconnected, transport.isDisconnected());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.1K bytes - Viewed (0) -
src/main/java/jcifs/util/transport/Transport.java
* @throws IOException if an I/O error occurs */ protected abstract void doSkip(Long key) throws IOException; /** * Checks if the transport is disconnected. * * @return whether the transport is disconnected */ public boolean isDisconnected() { return this.state == 4 || this.state == 5 || this.state == 6 || this.state == 0; } /**
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/internal/smb2/rdma/RdmaIntegrationTest.java
assertTrue( initialState == RdmaConnection.RdmaConnectionState.DISCONNECTED || initialState == RdmaConnection.RdmaConnectionState.CONNECTING, "Initial state should be DISCONNECTED or CONNECTING"); // Test connection properties // Note: Local address may be null for TCP fallback provider
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 13.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
if ((inUse ? l != 1 : l > 0)) { log.warn("Disconnected tree while still in use " + this); dumpResource(); wasInUse = true; if (sess.getConfig().isTraceResourceUsage()) { throw new RuntimeCIFSException("Disconnected tree while still in use"); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
// Note: Real SmbTransportImpl will report as disconnected without actual socket SmbTransportImpl second = testPool.getSmbTransport(ctx, address, 445, false); // Then: Will create new connection since real transport has no socket assertNotSame(first, second, "Should create new connection when first is disconnected"); } @Test
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/test/java/jcifs/smb1/smb1/SmbTreeTest.java
assertThrows(SmbException.class, () -> tree.treeConnect(null, null)); // After failure, state should be reset to disconnected assertEquals(0, tree.connectionState); } @Test void testSend() throws SmbException { SmbTree tree = new SmbTree(session, "testShare", "A:");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
import jcifs.util.transport.TransportException; /** * This class encapsulates the logic for switching tree connections * * Switching trees can occur either when the tree has been disconnected by failure or idle-timeout - as well as on * DFS referrals. * * @author mbechler * */ class SmbTreeConnection implements AutoCloseable {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 30.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelInfo.java
this.channelId = channelId; this.transport = transport; this.localInterface = localInterface; this.remoteInterface = remoteInterface; this.state = ChannelState.DISCONNECTED; this.establishedTime = System.currentTimeMillis(); this.lastActivityTime = establishedTime; this.bytesSent = new AtomicLong(); this.bytesReceived = new AtomicLong();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 10.6K bytes - Viewed (0) -
docs/smb3-features/05-rdma-smb-direct-design.md
protected volatile RdmaConnectionState state; protected RdmaCredits credits; protected int maxFragmentedSize; protected int maxReadWriteSize; public enum RdmaConnectionState { DISCONNECTED, CONNECTING, CONNECTED, ESTABLISHED, ERROR, CLOSING, CLOSED } public RdmaConnection(InetSocketAddress remote, InetSocketAddress local) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 35.9K bytes - Viewed (0)