- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for isConnected (0.26 sec)
-
src/main/java/jcifs/SmbTreeHandle.java
* * @see java.lang.AutoCloseable#close() */ @Override void close () throws CIFSException; /** * @return the tree is connected */ boolean isConnected (); /** * @return server timezone offset * @throws CIFSException */ long getServerTimeZoneOffset () throws CIFSException; /** * @return server reported domain name
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 2K bytes - Viewed (0) -
src/main/java/jcifs/smb/DirFileEntryEnumIterator2.java
protected void doCloseInternal () throws CIFSException { try { @SuppressWarnings ( "resource" ) SmbTreeHandleImpl th = getTreeHandle(); if ( this.fileId != null && th.isConnected() ) { th.send(new Smb2CloseRequest(th.getConfig(), this.fileId)); } } finally { this.fileId = null; } }
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Dec 20 16:15:08 GMT 2020 - 5.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
protected void finalize () throws Throwable { if ( isConnected() && this.usageCount.get() != 0 ) { log.warn("Tree was not properly released"); } } /** * * @return whether the tree is connected */ public boolean isConnected () { return this.tid != -1 && this.session.isConnected() && this.connectionState.get() == 2; } /**
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Thu Jan 05 13:06:39 GMT 2023 - 29.6K 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
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 8.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
/** * @return whether we have a valid tree connection */ @SuppressWarnings ( "resource" ) public synchronized boolean isConnected () { SmbTreeImpl t = getTreeInternal(); return t != null && t.isConnected(); } /** * * @param loc * @param host * @return tree handle * @throws IOException */
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Tue Jul 07 10:50:16 GMT 2020 - 31K bytes - Viewed (0) -
src/main/java/jcifs/util/transport/Transport.java
return i; } /* * state values * 0 - not connected * 1 - connecting * 2 - run connected * 3 - connected * 4 - error * 5 - disconnecting * 6 - disconnected/invalid */ protected volatile int state = 0; protected String name = "Transport" + id++; private volatile Thread thread; private volatile TransportException te;
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Nov 01 18:12:21 GMT 2020 - 24.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileHandleImpl.java
* {@inheritDoc} * * @see jcifs.SmbFileHandle#isValid() */ @Override public boolean isValid () { return this.open && this.tree_num == this.tree.getTreeId() && this.tree.isConnected(); } /** * {@inheritDoc} * * @see jcifs.SmbFileHandle#close(long) */ @Override public synchronized void close ( long lastWriteTime ) throws CIFSException {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 8.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/TransPeekNamedPipeResponse.java
*/ package jcifs.smb1.smb1; class TransPeekNamedPipeResponse extends SmbComTransactionResponse { private SmbNamedPipe pipe; private int head; static final int STATUS_DISCONNECTED = 1; static final int STATUS_LISTENING = 2; static final int STATUS_CONNECTION_OK = 3; static final int STATUS_SERVER_END_CLOSED = 4; int status, available;
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 2.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java
resp = new TransPeekNamedPipeResponse( pipe ); pipe.send( req, resp ); if( resp.status == TransPeekNamedPipeResponse.STATUS_DISCONNECTED || resp.status == TransPeekNamedPipeResponse.STATUS_SERVER_END_CLOSED ) { file.opened = false; return 0; } return resp.available;
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 7.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Nov 14 17:41:04 GMT 2021 - 49K bytes - Viewed (0)