public class NotifyChangeAsynchRequest extends AsynchRequest
Holds the details of a change notification asynchronous request that is used to receive details of changes to files and/or folders on a remote file server.
Modifier | Constructor and Description |
---|---|
protected |
NotifyChangeAsynchRequest(int mid,
int fid,
int filter,
boolean watchTree,
DirectoryWatcher handler)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
int |
getFileId()
Return the file id being watched
|
int |
getFilter()
Return the watch filter
|
boolean |
hasWatchTree()
Return the watch tree flag
|
protected void |
processResponse(Session sess,
SMBPacket pkt)
Process the notify change response
|
protected boolean |
resubmitRequest(Session sess,
SMBPacket pkt)
Resubmit the request to the server
|
String |
toString()
Return the request as a string
|
equals, getId, getName, hasAutoReset, hasCompleted, hashCode, setAutoReset, setCompleted, setId, setName
protected NotifyChangeAsynchRequest(int mid, int fid, int filter, boolean watchTree, DirectoryWatcher handler)
mid
- intfid
- intfilter
- intwatchTree
- booleanhandler
- DirectoryWatcherpublic final int getFileId()
public final int getFilter()
public final boolean hasWatchTree()
protected final void processResponse(Session sess, SMBPacket pkt)
processResponse
in class AsynchRequest
sess
- Sessionpkt
- SMBPacketprotected final boolean resubmitRequest(Session sess, SMBPacket pkt)
resubmitRequest
in class AsynchRequest
sess
- Sessionpkt
- SMBPacketpublic String toString()
toString
in class AsynchRequest
Copyright © 2005–2018 Alfresco Software. All rights reserved.