Package uk.ac.gda.stage.hutch
Class HutchServiceProxy
java.lang.Object
gda.factory.ConfigurableBase
gda.factory.FindableConfigurableBase
uk.ac.gda.stage.hutch.HutchServiceProxy
- All Implemented Interfaces:
Stoppable,Configurable,Findable,HutchService
@ServiceInterface(HutchService.class)
public class HutchServiceProxy
extends FindableConfigurableBase
implements HutchService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDefault 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.voidexecute(HutchServiceMessage request) getHutch()booleanvoidvoidvoidvoidvoidvoidvoidvoidpublish(HutchServiceMessage event) voidreportMessage(HutchServiceMessage event) voidvoidvoidvoidvoidsetEnabled(boolean doEnable) voidsetHutch(HutchService hutch) voidstop()Stops the current operation.Methods inherited from class gda.factory.FindableConfigurableBase
getName, setNameMethods inherited from class gda.factory.ConfigurableBase
isConfigureAtStartup, isConfigured, reconfigure, setConfigured
-
Constructor Details
-
HutchServiceProxy
public HutchServiceProxy()
-
-
Method Details
-
configure
Description copied from class:ConfigurableBaseDefault 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:
configurein interfaceConfigurable- Overrides:
configurein classConfigurableBase- Throws:
FactoryException- if there is an error in configuration e.g. required variable not set or cannot connect to device
-
execute
-
getHutch
-
isEnabled
public boolean isEnabled() -
moveScintillorIn
public void moveScintillorIn()- Specified by:
moveScintillorInin interfaceHutchService
-
moveScintillorOut
public void moveScintillorOut()- Specified by:
moveScintillorOutin interfaceHutchService
-
moveDetectorIn
public void moveDetectorIn()- Specified by:
moveDetectorInin interfaceHutchService
-
prepareHutchAccess
public void prepareHutchAccess()- Specified by:
prepareHutchAccessin interfaceHutchService
-
prepareHutchActivate
public void prepareHutchActivate()- Specified by:
prepareHutchActivatein interfaceHutchService
-
prepareSampleMount
public void prepareSampleMount()- Specified by:
prepareSampleMountin interfaceHutchService
-
prepareScan
public void prepareScan()- Specified by:
prepareScanin interfaceHutchService
-
publish
-
reportMessage
-
requestShutterState
public void requestShutterState()- Specified by:
requestShutterStatein interfaceHutchService
-
requestHutchState
public void requestHutchState()- Specified by:
requestHutchStatein interfaceHutchService
-
resetControllers
public void resetControllers()- Specified by:
resetControllersin interfaceHutchService
-
resetHutch
public void resetHutch()- Specified by:
resetHutchin interfaceHutchService
-
setEnabled
public void setEnabled(boolean doEnable) -
setHutch
-
stop
Description copied from interface:StoppableStops the current operation.- Specified by:
stopin interfaceStoppable- Throws:
DeviceException
-