Interface IWatchService

All Superinterfaces:
IComponent, IInitializable, IMetaComponent

public interface IWatchService extends IMetaComponent
  • Method Details

    • initThingWatch

      void initThingWatch() throws MetaException
      Using TLS, keep a watch on all things that are accessed via getThingFromID
      Throws:
      MetaException - if watch already running
    • getThingWatch

      IThingIDList getThingWatch()
      returns an array of things that were watched. also turns the watch off
    • addThingWatch

      void addThingWatch(IThingID thingID)
      if a thing is accessed by another class, enter the access here used mainly for folder views
      Parameters:
      thingID - thingID to add
    • clearWatch

      void clearWatch()
      clears current watch