public class ModbusTcpApiReadWriteImpl extends AbstractModbusTcpApi implements ModbusTcpApiReadWrite, ModbusTcpApi, Controller, OpenemsComponent, JsonApi
ModbusTcpApiReadWrite.ChannelId
ModbusTcpApi.ChannelId
Controller.ChannelId
Modifier and Type | Field and Description |
---|---|
protected org.osgi.service.cm.ConfigurationAdmin |
cm |
protected Meta |
metaComponent |
apiWorker, DEFAULT_MAX_CONCURRENT_CONNECTIONS, DEFAULT_PORT, records, UNIT_ID
Constructor and Description |
---|
ModbusTcpApiReadWriteImpl() |
Modifier and Type | Method and Description |
---|---|
protected void |
addComponent(ModbusSlave component) |
protected void |
deactivate()
Handles @Deactivate of implementations.
|
protected AccessMode |
getAccessMode()
Gets the AccessMode.
|
activate, getComponent, handleJsonrpcRequest, logDebug, logInfo, logWarn, run
_channel, activate, addChannel, addChannels, addChannels, alias, channels, getComponentContext, id, isEnabled, logError, modified, removeChannel
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getApiWorkerLogChannel
_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
handleJsonrpcRequest
protected Meta metaComponent
protected org.osgi.service.cm.ConfigurationAdmin cm
protected void addComponent(ModbusSlave component)
addComponent
in class AbstractModbusTcpApi
protected void deactivate()
AbstractOpenemsComponent
deactivate
in class AbstractModbusTcpApi
protected AccessMode getAccessMode()
AbstractModbusTcpApi
getAccessMode
in class AbstractModbusTcpApi
AccessMode