public interface _MonitorServerOperationsNC
Modifier and Type | Method and Description |
---|---|
java.lang.String |
createMonitor(MonitorType mType,
WatchEventType[] eTypes,
PathMode pMode,
java.lang.String pathString,
java.lang.String[] whitelist,
java.lang.String[] blacklist,
float timeout,
int blockSize,
boolean ignoreSysFiles,
boolean ignoreDirEvents,
boolean platformCheck,
MonitorClientPrx proxy)
Create a monitor of events.
|
void |
destroyMonitor(java.lang.String id)
Destroy an existing monitor.
|
MonitorState |
getMonitorState(java.lang.String id)
Get the state of an existing monitor.
|
void |
startMonitor(java.lang.String id)
Start an existing monitor.
|
void |
stopMonitor(java.lang.String id)
Stop an existing monitor.
|
java.lang.String createMonitor(MonitorType mType, WatchEventType[] eTypes, PathMode pMode, java.lang.String pathString, java.lang.String[] whitelist, java.lang.String[] blacklist, float timeout, int blockSize, boolean ignoreSysFiles, boolean ignoreDirEvents, boolean platformCheck, MonitorClientPrx proxy) throws OmeroFSError
mType
- type of monitor to create (MonitorType).eTypes
- a sequence of watch event type to monitor (WatchEventTypeList).pathString
- full path of directory of interest (string).whitelist
- list of files or extensions of interest (Ice::StringSeq).blacklist
- list of directories, files or extensions that are not of interest (Ice::StringSeq).pMode
- path mode of monitor (PathMode).proxy
- a proxy of the client to which notifications will be sent (MonitorClient*).timeout
- time in seconds fo monitor to time out (float).blockSize
- the number of events to pack into each notification (int).ignoreSysFiles
- ignore system files or not (bool).ignoreDirEvents
- ignore directory events (bool).platformCheck
- if true strictly check platform (bool).omero::OmeroFSError
OmeroFSError
void startMonitor(java.lang.String id) throws OmeroFSError
id
- monitor id (string).omero::OmeroFSError
OmeroFSError
void stopMonitor(java.lang.String id) throws OmeroFSError
id
- monitor id (string).omero::OmeroFSError
OmeroFSError
void destroyMonitor(java.lang.String id) throws OmeroFSError
id
- monitor id (string).omero::OmeroFSError
OmeroFSError
MonitorState getMonitorState(java.lang.String id) throws OmeroFSError
id
- monitor id (string).omero::OmeroFSError
OmeroFSError