Package gda.px.gridscan
Class LiveGridScanService
java.lang.Object
gda.factory.ConfigurableBase
gda.factory.FindableConfigurableBase
gda.px.gridscan.GridScanServiceBase
gda.px.gridscan.LiveGridScanService
- All Implemented Interfaces:
Configurable,Findable,gda.observable.IObservable,IGridScanService
- Direct Known Subclasses:
DirectLiveGridScanService
@ServiceInterface(IGridScanService.class)
public class LiveGridScanService
extends GridScanServiceBase
-
Field Summary
Fields inherited from class gda.px.gridscan.GridScanServiceBase
dataCollectionIds, knownGridScans -
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.protected static FolderPrefixRunNumberconvertDataCollectionToFolderPrefixRunNumber(dna.xml.DataCollection dataCollection) protected voidprocessMessage(String message) voidsetExternalRecordChangeScannable(Scannable externalRecordChangeScannable) Methods inherited from class gda.px.gridscan.GridScanServiceBase
addIObserver, associateDataCollectionId, deleteIObserver, deleteIObservers, sendImageQualityIndicators, startingGridScanMethods inherited from class gda.factory.FindableConfigurableBase
getName, setNameMethods inherited from class gda.factory.ConfigurableBase
isConfigureAtStartup, isConfigured, reconfigure, setConfigured
-
Constructor Details
-
LiveGridScanService
public LiveGridScanService()
-
-
Method Details
-
setExternalRecordChangeScannable
- Parameters:
externalRecordChangeScannable- A Scannable that sends a ScannablePositionChangeEvent with position being a String of format TableName,RecordID that indicates that a process on the network has changed a record in a table in ISPyB
-
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
-
processMessage
-
convertDataCollectionToFolderPrefixRunNumber
protected static FolderPrefixRunNumber convertDataCollectionToFolderPrefixRunNumber(dna.xml.DataCollection dataCollection)
-