public abstract class BeckhoffBridgeHandler<T extends org.apache.plc4x.java.ads.connection.AdsAbstractPlcConnection,C extends BeckhoffBridgeConfiguration>
extends org.connectorio.binding.plc4x.shared.handler.SharedPlc4xBridgeHandler<T,C>
| Constructor and Description |
|---|
BeckhoffBridgeHandler(org.eclipse.smarthome.core.thing.Bridge thing) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Runnable |
createInitializer(CompletableFuture<T> initializer) |
T |
getConnection() |
protected Long |
getDefaultPollingInterval() |
CompletableFuture<T> |
getInitializer() |
void |
handleCommand(org.eclipse.smarthome.core.thing.ChannelUID channelUID,
org.eclipse.smarthome.core.types.Command command) |
void |
initialize() |
hostWithPortgetRefreshIntervalgetBridgeConfigchildHandlerDisposed, childHandlerInitialized, editThing, getThing, getThingByUIDbridgeStatusChanged, changeThingType, channelLinked, channelUnlinked, dispose, editConfiguration, editProperties, getBridge, getCallback, getConfig, getConfigAs, handleConfigurationUpdate, handleRemoval, handleUpdate, isInitialized, isLinked, isLinked, isModifyingCurrentConfig, postCommand, postCommand, setCallback, thingUpdated, triggerChannel, triggerChannel, triggerChannel, triggerChannel, updateConfiguration, updateProperties, updateProperty, updateState, updateState, updateStatus, updateStatus, updateStatus, updateThing, validateConfigurationParametersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchildHandlerDisposed, childHandlerInitializedpublic BeckhoffBridgeHandler(org.eclipse.smarthome.core.thing.Bridge thing)
public void handleCommand(org.eclipse.smarthome.core.thing.ChannelUID channelUID,
org.eclipse.smarthome.core.types.Command command)
public void initialize()
initialize in interface org.eclipse.smarthome.core.thing.binding.ThingHandlerinitialize in class org.eclipse.smarthome.core.thing.binding.BaseThingHandlerpublic CompletableFuture<T> getInitializer()
getInitializer in class org.connectorio.binding.plc4x.shared.handler.SharedPlc4xBridgeHandler<T extends org.apache.plc4x.java.ads.connection.AdsAbstractPlcConnection,C extends BeckhoffBridgeConfiguration>protected abstract Runnable createInitializer(CompletableFuture<T> initializer)
public T getConnection()
getConnection in class org.connectorio.binding.plc4x.shared.handler.SharedPlc4xBridgeHandler<T extends org.apache.plc4x.java.ads.connection.AdsAbstractPlcConnection,C extends BeckhoffBridgeConfiguration>protected Long getDefaultPollingInterval()
getDefaultPollingInterval in class org.connectorio.binding.base.handler.polling.common.BasePollingBridgeHandler<C extends BeckhoffBridgeConfiguration>Copyright © 2018–2020 ConnectorIO Sp. z o.o.. All rights reserved.