Class _MonitorServerDisp

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String[] __ids  
      static long serialVersionUID  
      • Fields inherited from interface Ice.Object

        ice_staticId
    • Method Summary

      All 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.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.
      protected void ice_copyStateFrom​(Ice.Object __obj)  
      java.lang.String ice_id()  
      java.lang.String ice_id​(Ice.Current __current)  
      java.lang.String[] ice_ids()  
      java.lang.String[] ice_ids​(Ice.Current __current)  
      boolean ice_isA​(java.lang.String s)  
      boolean ice_isA​(java.lang.String s, Ice.Current __current)  
      static java.lang.String ice_staticId()  
      void startMonitor​(java.lang.String id)
      Start an existing monitor.
      void stopMonitor​(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.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface Ice.Object

        __read, __read, __write, __write, clone, ice_dispatch, ice_dispatch, ice_operationAttributes, ice_ping, ice_ping, ice_postUnmarshal, ice_preMarshal
    • Field Detail

      • __ids

        public static final java.lang.String[] __ids
    • Constructor Detail

      • _MonitorServerDisp

        public _MonitorServerDisp()
    • Method Detail

      • ice_copyStateFrom

        protected void ice_copyStateFrom​(Ice.Object __obj)
                                  throws java.lang.CloneNotSupportedException
        Throws:
        java.lang.CloneNotSupportedException
      • ice_isA

        public boolean ice_isA​(java.lang.String s)
        Specified by:
        ice_isA in interface Ice.Object
        Overrides:
        ice_isA in class Ice.ObjectImpl
      • ice_isA

        public boolean ice_isA​(java.lang.String s,
                               Ice.Current __current)
        Specified by:
        ice_isA in interface Ice.Object
        Overrides:
        ice_isA in class Ice.ObjectImpl
      • ice_ids

        public java.lang.String[] ice_ids()
        Specified by:
        ice_ids in interface Ice.Object
        Overrides:
        ice_ids in class Ice.ObjectImpl
      • ice_ids

        public java.lang.String[] ice_ids​(Ice.Current __current)
        Specified by:
        ice_ids in interface Ice.Object
        Overrides:
        ice_ids in class Ice.ObjectImpl
      • ice_id

        public java.lang.String ice_id()
        Specified by:
        ice_id in interface Ice.Object
        Overrides:
        ice_id in class Ice.ObjectImpl
      • ice_id

        public java.lang.String ice_id​(Ice.Current __current)
        Specified by:
        ice_id in interface Ice.Object
        Overrides:
        ice_id in class Ice.ObjectImpl
      • ice_staticId

        public static java.lang.String ice_staticId()
      • createMonitor

        public 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:
        createMonitor in 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
      • destroyMonitor

        public final void destroyMonitor​(java.lang.String id)
                                  throws OmeroFSError
        Destroy 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:
        destroyMonitor in interface _MonitorServerOperationsNC
        Parameters:
        id - monitor id (string).
        Throws:
        OmeroFSError
      • getMonitorState

        public 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:
        getMonitorState in interface _MonitorServerOperationsNC
        Parameters:
        id - monitor id (string).
        Returns:
        the monitor state (MonitorState).
        Throws:
        OmeroFSError
      • startMonitor

        public final void startMonitor​(java.lang.String id)
                                throws OmeroFSError
        Start 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:
        startMonitor in interface _MonitorServerOperationsNC
        Parameters:
        id - monitor id (string).
        Throws:
        OmeroFSError
      • stopMonitor

        public final void stopMonitor​(java.lang.String id)
                               throws OmeroFSError
        Stop 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:
        stopMonitor in interface _MonitorServerOperationsNC
        Parameters:
        id - monitor id (string).
        Throws:
        OmeroFSError
      • ___createMonitor

        public static Ice.DispatchStatus ___createMonitor​(MonitorServer __obj,
                                                          IceInternal.Incoming __inS,
                                                          Ice.Current __current)
      • ___startMonitor

        public static Ice.DispatchStatus ___startMonitor​(MonitorServer __obj,
                                                         IceInternal.Incoming __inS,
                                                         Ice.Current __current)
      • ___stopMonitor

        public static Ice.DispatchStatus ___stopMonitor​(MonitorServer __obj,
                                                        IceInternal.Incoming __inS,
                                                        Ice.Current __current)
      • ___destroyMonitor

        public static Ice.DispatchStatus ___destroyMonitor​(MonitorServer __obj,
                                                           IceInternal.Incoming __inS,
                                                           Ice.Current __current)
      • ___getMonitorState

        public static Ice.DispatchStatus ___getMonitorState​(MonitorServer __obj,
                                                            IceInternal.Incoming __inS,
                                                            Ice.Current __current)
      • __dispatch

        public Ice.DispatchStatus __dispatch​(IceInternal.Incoming in,
                                             Ice.Current __current)
        Specified by:
        __dispatch in interface Ice.Object
        Overrides:
        __dispatch in class Ice.ObjectImpl
      • __writeImpl

        protected void __writeImpl​(IceInternal.BasicStream __os)
        Overrides:
        __writeImpl in class Ice.ObjectImpl
      • __readImpl

        protected void __readImpl​(IceInternal.BasicStream __is)
        Overrides:
        __readImpl in class Ice.ObjectImpl