- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for isDisconnected (0.07 sec)
-
src/test/java/jcifs/tests/OplockTests.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:09:03 UTC 2023 - 6.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportInternal.java
* @throws SmbException */ boolean hasCapability ( int cap ) throws SmbException; /** * @return whether the transport has been disconnected */ boolean isDisconnected (); /** * @param hard * @param inuse * @return whether the connection was in use * @throws IOException */
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3K bytes - Viewed (0) -
src/main/java/jcifs/util/transport/Transport.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Nov 01 18:12:21 UTC 2020 - 24.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
&& ( tc.getConfig().getSessionLimit() == 0 || conn.getNumSessions() < tc.getConfig().getSessionLimit() ) ) { try { if ( conn.isFailed() || ( connectedOnly && conn.isDisconnected() ) ) { continue; } if ( forceSigning && !conn.isSigningEnforced() ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Dec 20 14:09:34 UTC 2020 - 12.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
} @Override public int getInflightRequests () { return this.response_map.size(); } @Override public boolean isDisconnected () { Socket s = this.socket; return super.isDisconnected() || s == null || s.isClosed(); } @Override public boolean isFailed () { Socket s = this.socket;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Wed Jan 18 23:47:00 UTC 2023 - 67K bytes - Viewed (0) -
src/test/java/jcifs/tests/TimeoutTest.java
} f.close(); Thread.sleep(2 * soTimeout); // connection should be closed by now assertTrue("Transport is still connected", t.isDisconnected()); assertFalse("Connection is still in the pool", ( (SmbTransportPoolImpl) ctx.getTransportPool() ).contains(t)); } finally { f.delete(); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 12.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
if ( response.isReceived() && !response.isError() && response.getErrorCode() == NtStatus.NT_STATUS_OK ) { if ( !transport.isDisconnected() ) { treeConnected(transport, sess, response); } throw se; } }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:06:39 UTC 2023 - 29.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
try ( SmbSessionImpl session = getSession() ) { if ( isConnected() ) { try ( SmbTransportImpl transport = session.getTransport() ) { if ( transport.isDisconnected() || transport.getRemoteHostName() == null ) { /* * Tree/session thinks it is connected but transport disconnected
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Tue Jul 07 10:50:16 UTC 2020 - 31K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
return this.credentials; } /** * @return whether the session is connected */ public boolean isConnected () { return !this.transport.isDisconnected() && this.connectionState.get() == 2; } /** * @return whether the session has been lost */ public boolean isFailed () { return this.transport.isFailed();
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Nov 14 17:41:04 UTC 2021 - 49K bytes - Viewed (0)