Class DataBushServerLocal
java.lang.Object
org.scictrl.mp.orbitcorrect.server.DataBushServerLocal
- All Implemented Interfaces:
IDataBushServer
DataBushServerLocal class.
- Author:
- igor@kriznar.com
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.scictrl.remotestate.RemoteStateNotifier
Process watchdog. -
Constructor Summary
ConstructorDescriptionConstructor for DataBushServerLocal.DataBushServerLocal
(ApplicationEngine engine) Constructor for DataBushServerLocal. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addOrbitCorrectionModelClass
(String model, Orientation ori) addOrbitCorrectionModelClass.void
calculateCorrection
(Orientation orientation) calculateCorrection.getDataBush.getDataModel.getDBInitializer.Getter for the fieldengine
.org.scictrl.csshell.epics.server.application.EmbeddedApplicationServer
Getter for the fieldepicsServer
.void
initDB()
initDB.void
initialize.void
shutdown()
shutdown.org.scictrl.csshell.epics.server.application.EmbeddedApplicationServer
startEpicsServer
(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
- aApplicationEngine
object
-
-
Method Details
-
getEngine
Getter for the field
engine
.- Returns:
- a
ApplicationEngine
object
-
startEpicsServer
public org.scictrl.csshell.epics.server.application.EmbeddedApplicationServer startEpicsServer(String name) throws IllegalAccessException startEpicsServer.
- Parameters:
name
- aString
object- Returns:
- a
EmbeddedApplicationServer
object - Throws:
IllegalAccessException
- if any.
-
getEpicsServer
public org.scictrl.csshell.epics.server.application.EmbeddedApplicationServer getEpicsServer()Getter for the field
epicsServer
.- Returns:
- a
EmbeddedApplicationServer
object
-
getDataModel
getDataModel.
- Specified by:
getDataModel
in interfaceIDataBushServer
- Returns:
- a
ServerDataModel
object
-
getDataBush
getDataBush.
- Specified by:
getDataBush
in interfaceIDataBushServer
- Returns:
- a
DataBush
object
-
initDB
initDB.
- Throws:
MalformedURLException
- if any.DataBushException
- if any.IOException
- if any.
-
getDBInitializer
getDBInitializer.
- Returns:
- a
DBInitializer
object - Throws:
IOException
- if any.DataBushException
- if any.
-
shutdown
public void shutdown()shutdown.
- Specified by:
shutdown
in interfaceIDataBushServer
-
addOrbitCorrectionModelClass
public void addOrbitCorrectionModelClass(String model, Orientation ori) throws ClassNotFoundException, InstantiationException, IllegalAccessException, IllegalArgumentException, InvocationTargetException, NoSuchMethodException, SecurityException addOrbitCorrectionModelClass.
- Parameters:
model
- aString
objectori
- aOrientation
object- 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:
initialize
in 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
- aOrientation
object
-