Class SampleEventService

All Implemented Interfaces:
Configurable, Findable, gda.observable.IObservable, gda.observable.IObserver, ISampleEventService

@ServiceInterface(ISampleEventService.class) public class SampleEventService extends FindableConfigurableBase implements ISampleEventService, gda.observable.IObservable
  • Constructor Details

    • SampleEventService

      public SampleEventService()
  • Method Details

    • setSampleChanger

      public void setSampleChanger(SampleChanger sampleChanger)
    • update

      public void update(Object source, Object arg)
      Specified by:
      update in interface gda.observable.IObserver
    • getState

      public boolean getState(ISampleEventService.EventTypes desiredState)
      Specified by:
      getState in interface ISampleEventService
    • getObject

      public Object getObject(ISampleEventService.EventTypes desiredState)
      Specified by:
      getObject in interface ISampleEventService
    • getHandleCollectRequestController

      public Scriptcontroller getHandleCollectRequestController()
    • setHandleCollectRequestController

      public void setHandleCollectRequestController(Scriptcontroller handleCollectRequestController)
    • getSampleChangerController

      public Scriptcontroller getSampleChangerController()
    • setSampleChangerController

      public void setSampleChangerController(Scriptcontroller sampleChangerController)
    • configure

      public void configure() throws FactoryException
      Description copied from class: ConfigurableBase
      Default implementation for classes that do not have to do any specific configuration.
      Classes that do their own configuration should *not* call this superclass function, as it may cause the object to appear configured before it really is.
      Specified by:
      configure in interface Configurable
      Overrides:
      configure in class ConfigurableBase
      Throws:
      FactoryException - if there is an error in configuration e.g. required variable not set or cannot connect to device
    • addIObserver

      public void addIObserver(gda.observable.IObserver observer)
      Specified by:
      addIObserver in interface gda.observable.IObservable
    • deleteIObserver

      public void deleteIObserver(gda.observable.IObserver observer)
      Specified by:
      deleteIObserver in interface gda.observable.IObservable
    • deleteIObservers

      public void deleteIObservers()
      Specified by:
      deleteIObservers in interface gda.observable.IObservable