- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 148 for Watch (0.16 sec)
-
src/main/java/jcifs/smb/SmbWatchHandleImpl.java
this.recursive = recursive; } /** * {@inheritDoc} * * @see jcifs.SmbWatchHandle#watch() */ @Override public List<FileNotifyInformation> watch () throws CIFSException { if ( !this.handle.isValid() ) { throw new SmbException("Watch was broken by tree disconnect"); } try ( SmbTreeHandleImpl th = this.handle.getTree() ) {
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/tests/WatchTest.java
try ( SmbWatchHandle w = this.base.watch(FileNotifyInformation.FILE_NOTIFY_CHANGE_FILE_NAME, false) ) { setupWatch(w); try ( SmbResource cr = new SmbFile(this.base, "created") ) { cr.createNewFile(); assertNotified(w, FileNotifyInformation.FILE_ACTION_ADDED, "created", null); } } catch ( TimeoutException e ) {
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 8.4K bytes - Viewed (0) -
src/main/java/jcifs/SmbWatchHandle.java
* */ public interface SmbWatchHandle extends AutoCloseable, Callable<List<FileNotifyInformation>> { /** * Get the next set of changes * * Will block until the server returns a set of changes that match the given filter. The file will be automatically * opened if it is not and should be closed with {@link #close()} when no longer * needed. *
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 2.3K bytes - Viewed (0) -
src/main/java/jcifs/SmbResource.java
/** * Creates a directory watch * * The server will notify the client when there are changes to the directories contents * * @param filter * see constants in {@link FileNotifyInformation} * @param recursive * whether to also watch subdirectories * @return watch context, needs to be closed when finished * @throws CIFSException
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Dec 20 14:09:34 GMT 2020 - 26K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequest.java
/** * @author mbechler * */ public class Smb2ChangeNotifyRequest extends ServerMessageBlock2Request<Smb2ChangeNotifyResponse> { /** * */ public static final int SMB2_WATCH_TREE = 0x1; /** * */ public static final int FILE_NOTIFY_CHANGE_FILE_NAME = 0x1; /** * */ public static final int FILE_NOTIFY_CHANGE_DIR_NAME = 0x2; /**
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 4.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
* If any of the above fail, isExists will not be set true */ this.isExists = true; } catch ( UnknownHostException uhe ) { log.debug("Unknown host", uhe); } catch ( SmbException se ) { log.trace("exists:", se); switch ( se.getNtStatus() ) { case NtStatus.NT_STATUS_NO_SUCH_FILE:
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Mon Mar 13 12:00:57 GMT 2023 - 81.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/DfsImpl.java
if ( log.isTraceEnabled() ) { log.trace("No match for domain based root, checking standalone " + domain); } /* * We did not match a domain based root. Now try to match the * longest path in the list of stand-alone referrals. */ CacheEntry<DfsReferralDataInternal> refs;
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Thu Jan 05 13:07:29 GMT 2023 - 29.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java
* 4 = SMB_COM_DELETE_DIRECTORY * 5 = SMB_COM_OPEN_ANDX * 6 = SMB_COM_RENAME * 7 = SMB_COM_TRANSACTION * 8 = SMB_COM_QUERY_INFORMATION */ /* All batch limits are single batch only until further notice */ private static byte[] batchLimits = { 1, 1, 1, 1, 1, 1, 1, 1, 0 }; static { String s;
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 6.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java
handshake(); } catch (IOException ex) { } return connection.getContentEncoding(); } public long getExpiration() { try { handshake(); } catch (IOException ex) { } return connection.getExpiration(); } public long getDate() { try { handshake(); } catch (IOException ex) { }
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Fri Mar 22 20:39:42 GMT 2019 - 20.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/transport/Transport.java
} } } catch( IOException ioe ) { if (log.level > 2) ioe.printStackTrace( log ); try { disconnect( true ); } catch( IOException ioe2 ) { ioe2.printStackTrace( log ); } throw ioe; } catch( InterruptedException ie ) {
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Fri Mar 22 20:39:42 GMT 2019 - 9K bytes - Viewed (0)