Class DataBushServerLocal
java.lang.Object
org.scictrl.mp.orbitcorrect.server.DataBushServerLocal
- All Implemented Interfaces:
IDataBushServer
DataBushServerLocal class.
- Author:
- igor@kriznar.com
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.scictrl.remotestate.RemoteStateNotifierProcess watchdog. -
Constructor Summary
ConstructorsConstructorDescriptionConstructor for DataBushServerLocal.DataBushServerLocal(ApplicationEngine engine) Constructor for DataBushServerLocal. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddOrbitCorrectionModelClass(String model, Orientation ori) addOrbitCorrectionModelClass.voidcalculateCorrection(Orientation orientation) calculateCorrection.getDataBush.getDataModel.getDBInitializer.Getter for the fieldengine.org.scictrl.csshell.epics.server.application.EmbeddedApplicationServerGetter for the fieldepicsServer.voidinitDB()initDB.voidinitialize.voidshutdown()shutdown.org.scictrl.csshell.epics.server.application.EmbeddedApplicationServerstartEpicsServer(String name) startEpicsServer.
-
Field Details
-
watchdogRunning
protected org.scictrl.remotestate.RemoteStateNotifier watchdogRunningProcess watchdog.
-
-
Constructor Details
-
DataBushServerLocal
public DataBushServerLocal()Constructor for DataBushServerLocal.
-
DataBushServerLocal
Constructor for DataBushServerLocal.
- Parameters:
engine- aApplicationEngineobject
-
-
Method Details
-
getEngine
Getter for the field
engine.- Returns:
- a
ApplicationEngineobject
-
startEpicsServer
public org.scictrl.csshell.epics.server.application.EmbeddedApplicationServer startEpicsServer(String name) throws IllegalAccessException startEpicsServer.
- Parameters:
name- aStringobject- Returns:
- a
EmbeddedApplicationServerobject - Throws:
IllegalAccessException- if any.
-
getEpicsServer
public org.scictrl.csshell.epics.server.application.EmbeddedApplicationServer getEpicsServer()Getter for the field
epicsServer.- Returns:
- a
EmbeddedApplicationServerobject
-
getDataModel
getDataModel.
- Specified by:
getDataModelin interfaceIDataBushServer- Returns:
- a
ServerDataModelobject
-
getDataBush
getDataBush.
- Specified by:
getDataBushin interfaceIDataBushServer- Returns:
- a
DataBushobject
-
initDB
initDB.
- Throws:
MalformedURLException- if any.DataBushException- if any.IOException- if any.
-
getDBInitializer
getDBInitializer.
- Returns:
- a
DBInitializerobject - Throws:
IOException- if any.DataBushException- if any.
-
shutdown
public void shutdown()shutdown.
- Specified by:
shutdownin interfaceIDataBushServer
-
addOrbitCorrectionModelClass
public void addOrbitCorrectionModelClass(String model, Orientation ori) throws ClassNotFoundException, InstantiationException, IllegalAccessException, IllegalArgumentException, InvocationTargetException, NoSuchMethodException, SecurityException addOrbitCorrectionModelClass.
- Parameters:
model- aStringobjectori- aOrientationobject- Throws:
ClassNotFoundException- if failsIllegalAccessException- if failsInstantiationException- if failsSecurityException- if failsNoSuchMethodException- if failsInvocationTargetException- if failsIllegalArgumentException- if fails
-
initialize
public void initialize() throws org.apache.commons.configuration.ConfigurationException, ClassNotFoundException, InstantiationException, IllegalAccessException, IOException, DataBushExceptioninitialize.
- Specified by:
initializein interfaceIDataBushServer- Throws:
org.apache.commons.configuration.ConfigurationException- if any.ClassNotFoundException- if any.InstantiationException- if any.IllegalAccessException- if any.IOException- if any.DataBushException- if any.
-
calculateCorrection
calculateCorrection.
- Parameters:
orientation- aOrientationobject
-