Package omero.grid.monitors
Class _MonitorServerDisp
- java.lang.Object
- 
- Ice.ObjectImpl
- 
- omero.grid.monitors._MonitorServerDisp
 
 
- 
- All Implemented Interfaces:
- Ice.Object,- java.io.Serializable,- java.lang.Cloneable,- _MonitorServerOperations,- _MonitorServerOperationsNC,- MonitorServer
 - Direct Known Subclasses:
- _MonitorServerTie
 
 public abstract class _MonitorServerDisp extends Ice.ObjectImpl implements MonitorServer - See Also:
- Serialized Form
 
- 
- 
Field SummaryFields Modifier and Type Field Description static java.lang.String[]__idsstatic longserialVersionUID- 
Fields inherited from interface omero.grid.monitors.MonitorServerice_staticId
 
- 
 - 
Constructor SummaryConstructors Constructor Description _MonitorServerDisp()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Ice.DispatchStatus___createMonitor(MonitorServer __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___destroyMonitor(MonitorServer __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___getMonitorState(MonitorServer __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___startMonitor(MonitorServer __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___stopMonitor(MonitorServer __obj, IceInternal.Incoming __inS, Ice.Current __current)Ice.DispatchStatus__dispatch(IceInternal.Incoming in, Ice.Current __current)protected void__readImpl(IceInternal.BasicStream __is)protected void__writeImpl(IceInternal.BasicStream __os)java.lang.StringcreateMonitor(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.voiddestroyMonitor(java.lang.String id)Destroy an existing monitor.MonitorStategetMonitorState(java.lang.String id)Get the state of an existing monitor.protected voidice_copyStateFrom(Ice.Object __obj)java.lang.Stringice_id()java.lang.Stringice_id(Ice.Current __current)java.lang.String[]ice_ids()java.lang.String[]ice_ids(Ice.Current __current)booleanice_isA(java.lang.String s)booleanice_isA(java.lang.String s, Ice.Current __current)static java.lang.Stringice_staticId()voidstartMonitor(java.lang.String id)Start an existing monitor.voidstopMonitor(java.lang.String id)Stop an existing monitor.- 
Methods inherited from class Ice.ObjectImpl___ice_id, ___ice_ids, ___ice_isA, ___ice_ping, __checkMode, __read, __read, __readImpl, __write, __write, __writeImpl, clone, ice_dispatch, ice_dispatch, ice_operationAttributes, ice_ping, ice_ping, ice_postUnmarshal, ice_preMarshal
 - 
Methods inherited from class java.lang.Objectequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface omero.grid.monitors._MonitorServerOperationscreateMonitor, destroyMonitor, getMonitorState, startMonitor, stopMonitor
 
- 
 
- 
- 
- 
Field Detail- 
__idspublic static final java.lang.String[] __ids 
 - 
serialVersionUIDpublic static final long serialVersionUID - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
ice_copyStateFromprotected void ice_copyStateFrom(Ice.Object __obj) throws java.lang.CloneNotSupportedException- Throws:
- java.lang.CloneNotSupportedException
 
 - 
ice_isApublic boolean ice_isA(java.lang.String s) - Specified by:
- ice_isAin interface- Ice.Object
- Overrides:
- ice_isAin class- Ice.ObjectImpl
 
 - 
ice_isApublic boolean ice_isA(java.lang.String s, Ice.Current __current)- Specified by:
- ice_isAin interface- Ice.Object
- Overrides:
- ice_isAin class- Ice.ObjectImpl
 
 - 
ice_idspublic java.lang.String[] ice_ids() - Specified by:
- ice_idsin interface- Ice.Object
- Overrides:
- ice_idsin class- Ice.ObjectImpl
 
 - 
ice_idspublic java.lang.String[] ice_ids(Ice.Current __current) - Specified by:
- ice_idsin interface- Ice.Object
- Overrides:
- ice_idsin class- Ice.ObjectImpl
 
 - 
ice_idpublic java.lang.String ice_id() - Specified by:
- ice_idin interface- Ice.Object
- Overrides:
- ice_idin class- Ice.ObjectImpl
 
 - 
ice_idpublic java.lang.String ice_id(Ice.Current __current) - Specified by:
- ice_idin interface- Ice.Object
- Overrides:
- ice_idin class- Ice.ObjectImpl
 
 - 
ice_staticIdpublic static java.lang.String ice_staticId() 
 - 
createMonitorpublic final 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 Create a monitor of events. A exception will be raised if the event type or path mode is not supported by the Monitor implementation for a given OS. An exception will be raised if the path does not exist or is inaccessible to the monitor. An exception will be raised if a monitor cannot be created for any other reason.- Specified by:
- createMonitorin interface- _MonitorServerOperationsNC
- Parameters:
- 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).
- Returns:
- monitorId, a uuid1 (string).
- Throws:
- OmeroFSError
 
 - 
destroyMonitorpublic final void destroyMonitor(java.lang.String id) throws OmeroFSErrorDestroy an existing monitor. Attempting to destroy a monitor that is running will try to first stop the monitor and then destroy it. An exception will be raised if the id does not correspond to an existing monitor. An exception will be raised if a monitor cannot be destroyed (or stopped and destroyed) for any other reason, in this case the monitor's state cannot be assumed.- Specified by:
- destroyMonitorin interface- _MonitorServerOperationsNC
- Parameters:
- id- monitor id (string).
- Throws:
- OmeroFSError
 
 - 
getMonitorStatepublic final MonitorState getMonitorState(java.lang.String id) throws OmeroFSError Get the state of an existing monitor. An exception will be raised if the id does not correspond to an existing monitor.- Specified by:
- getMonitorStatein interface- _MonitorServerOperationsNC
- Parameters:
- id- monitor id (string).
- Returns:
- the monitor state (MonitorState).
- Throws:
- OmeroFSError
 
 - 
startMonitorpublic final void startMonitor(java.lang.String id) throws OmeroFSErrorStart an existing monitor. An exception will be raised if the id does not correspond to an existing monitor. An exception will be raised if a monitor cannot be started for any other reason, in this case the monitor's state cannot be assumed.- Specified by:
- startMonitorin interface- _MonitorServerOperationsNC
- Parameters:
- id- monitor id (string).
- Throws:
- OmeroFSError
 
 - 
stopMonitorpublic final void stopMonitor(java.lang.String id) throws OmeroFSErrorStop an existing monitor. Attempting to stop a monitor that is not running raises no exception. An exception will be raised if the id does not correspond to an existing monitor. An exception will be raised if a monitor cannot be stopped for any other reason, in this case the monitor's state cannot be assumed.- Specified by:
- stopMonitorin interface- _MonitorServerOperationsNC
- Parameters:
- id- monitor id (string).
- Throws:
- OmeroFSError
 
 - 
___createMonitorpublic static Ice.DispatchStatus ___createMonitor(MonitorServer __obj, IceInternal.Incoming __inS, Ice.Current __current) 
 - 
___startMonitorpublic static Ice.DispatchStatus ___startMonitor(MonitorServer __obj, IceInternal.Incoming __inS, Ice.Current __current) 
 - 
___stopMonitorpublic static Ice.DispatchStatus ___stopMonitor(MonitorServer __obj, IceInternal.Incoming __inS, Ice.Current __current) 
 - 
___destroyMonitorpublic static Ice.DispatchStatus ___destroyMonitor(MonitorServer __obj, IceInternal.Incoming __inS, Ice.Current __current) 
 - 
___getMonitorStatepublic static Ice.DispatchStatus ___getMonitorState(MonitorServer __obj, IceInternal.Incoming __inS, Ice.Current __current) 
 - 
__dispatchpublic Ice.DispatchStatus __dispatch(IceInternal.Incoming in, Ice.Current __current)- Specified by:
- __dispatchin interface- Ice.Object
- Overrides:
- __dispatchin class- Ice.ObjectImpl
 
 - 
__writeImplprotected void __writeImpl(IceInternal.BasicStream __os) - Overrides:
- __writeImplin class- Ice.ObjectImpl
 
 - 
__readImplprotected void __readImpl(IceInternal.BasicStream __is) - Overrides:
- __readImplin class- Ice.ObjectImpl
 
 
- 
 
-