public class RestApiReadOnlyImpl extends AbstractRestApi implements RestApiReadOnly, RestApi, Controller, OpenemsComponent
RestApiReadOnly.ChannelId
RestApi.ChannelId
Controller.ChannelId
Modifier and Type | Field and Description |
---|---|
protected ComponentManager |
componentManager |
protected UserService |
userService |
apiWorker, DEFAULT_DEBUG_MODE
Constructor and Description |
---|
RestApiReadOnlyImpl() |
Modifier and Type | Method and Description |
---|---|
protected void |
deactivate()
Handles @Deactivate of implementations.
|
protected AccessMode |
getAccessMode()
Gets the AccessMode.
|
protected ComponentManager |
getComponentManager()
Gets the ComponentManager.
|
protected Timedata |
getTimedata()
Gets the Timedata service.
|
protected UserService |
getUserService()
Gets the UserService.
|
activate, isDebugModeEnabled, logError, logInfo, logWarn, run
_channel, activate, addChannel, addChannels, addChannels, alias, channels, getComponentContext, id, isEnabled, logDebug, modified, removeChannel
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
_setUnableToStart, getUnableToStart, getUnableToStartChannel
_setRunFailed, getModbusSlaveNatureTable, getRunFailed, getRunFailedChannel, run
_channel, _getChannelAs, alias, channel, channel, channels, debugLog, getComponentContext, getState, getStateChannel, hasFaults, id, isEnabled, logDebug, logError, logInfo, logWarn, serviceFactoryPid, servicePid, updateConfigurationProperty, updateReferenceFilter
protected ComponentManager componentManager
protected UserService userService
protected void deactivate()
AbstractOpenemsComponent
deactivate
in class AbstractRestApi
protected Timedata getTimedata() throws OpenemsException
AbstractRestApi
getTimedata
in class AbstractRestApi
OpenemsException
- if the timeservice is not availableprotected UserService getUserService()
AbstractRestApi
getUserService
in class AbstractRestApi
protected ComponentManager getComponentManager()
AbstractRestApi
getComponentManager
in class AbstractRestApi
protected AccessMode getAccessMode()
AbstractRestApi
getAccessMode
in class AbstractRestApi
AccessMode