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
|
java.lang.String |
toString()
Return the request as a string
|
equals, getId, getName, hasAutoReset, hasCompleted, hashCode, setAutoReset, setCompleted, setId, setNameprotected 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 AsynchRequestsess - Sessionpkt - SMBPacketprotected final boolean resubmitRequest(Session sess, SMBPacket pkt)
resubmitRequest in class AsynchRequestsess - Sessionpkt - SMBPacketpublic java.lang.String toString()
toString in class AsynchRequestCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.