public abstract class AbstractOpenHABRemote extends RSBRemoteService<rst.domotic.binding.openhab.OpenhabStateType.OpenhabState> implements OpenHABRemote
| Modifier and Type | Field and Description |
|---|---|
static String |
ITEM_SEGMENT_DELIMITER |
static String |
ITEM_SUBSEGMENT_DELIMITER |
static String |
RPC_METHODE_POST_COMMAND |
static String |
RPC_METHODE_POST_UPDATE |
static String |
RPC_METHODE_SEND_COMMAND |
static rsb.Scope |
SCOPE_OPENHAB |
static rsb.Scope |
SCOPE_OPENHAB_COMMAND |
static rsb.Scope |
SCOPE_OPENHAB_UPDATE |
CONNECTION_TIMEOUT, DATA_WAIT_TIMEOUT, logger, LOGGING_TIMEOUT, maintainer, METHOD_CALL_MAX_TIMEOUT, METHOD_CALL_START_TIMEOUT, METHOD_CALL_TIMEOUT_MULTIPLIER, PING_TIMEOUT, REQUEST_TIMEOUT, scope| Constructor and Description |
|---|
AbstractOpenHABRemote(boolean hardwareSimulationMode) |
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
void |
deactivate() |
void |
init(String itemFilter) |
Future<Void> |
postCommand(rst.domotic.binding.openhab.OpenhabCommandType.OpenhabCommand command) |
protected void |
postInit() |
Future<Void> |
postUpdate(rst.domotic.binding.openhab.OpenhabCommandType.OpenhabCommand command) |
Future<Void> |
sendCommand(rst.domotic.binding.openhab.OpenhabCommandType.OpenhabCommand command) |
String |
toString() |
activate, addConnectionStateObserver, addDataObserver, addHandler, addObserver, applyExternalDataUpdate, callMethod, callMethod, callMethod, callMethod, callMethodAsync, callMethodAsync, getConnectionState, getData, getDataClass, getDataField, getPing, getScope, hasDataField, init, init, init, init, isActive, isConnected, isDataAvailable, isLocked, lock, notifyDataUpdate, ping, reinit, reinit, removeConnectionStateObserver, removeDataObserver, removeObserver, requestData, reset, setMessageProcessor, shutdown, unlock, validateActivation, validateData, validateInitialization, verifyMaintainability, waitForConnectionState, waitForConnectionState, waitForData, waitForDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitinternalReceiveCommand, internalReceiveUpdatepublic static final String ITEM_SUBSEGMENT_DELIMITER
public static final String ITEM_SEGMENT_DELIMITER
public static final String RPC_METHODE_SEND_COMMAND
public static final String RPC_METHODE_POST_COMMAND
public static final String RPC_METHODE_POST_UPDATE
public static final rsb.Scope SCOPE_OPENHAB
public static final rsb.Scope SCOPE_OPENHAB_UPDATE
public static final rsb.Scope SCOPE_OPENHAB_COMMAND
public AbstractOpenHABRemote(boolean hardwareSimulationMode)
public void init(String itemFilter) throws InitializationException, InterruptedException
init in interface OpenHABRemoteinit in interface RSBRemote<rst.domotic.binding.openhab.OpenhabStateType.OpenhabState>init in interface org.openbase.jul.iface.Initializable<String>init in class RSBRemoteService<rst.domotic.binding.openhab.OpenhabStateType.OpenhabState>InitializationExceptionInterruptedExceptionprotected void postInit()
throws InitializationException,
InterruptedException
postInit in class RSBRemoteService<rst.domotic.binding.openhab.OpenhabStateType.OpenhabState>InitializationExceptionInterruptedExceptionpublic void activate()
throws CouldNotPerformException,
InterruptedException
activate in interface org.openbase.jul.iface.Activatableactivate in class RSBRemoteService<rst.domotic.binding.openhab.OpenhabStateType.OpenhabState>CouldNotPerformExceptionInterruptedExceptionpublic void deactivate()
throws CouldNotPerformException,
InterruptedException
deactivate in interface org.openbase.jul.iface.Activatabledeactivate in class RSBRemoteService<rst.domotic.binding.openhab.OpenhabStateType.OpenhabState>CouldNotPerformExceptionInterruptedExceptionpublic Future<Void> postCommand(rst.domotic.binding.openhab.OpenhabCommandType.OpenhabCommand command) throws CouldNotPerformException
postCommand in interface OpenHABRemoteCouldNotPerformExceptionpublic Future<Void> sendCommand(rst.domotic.binding.openhab.OpenhabCommandType.OpenhabCommand command) throws CouldNotPerformException
sendCommand in interface OpenHABRemoteCouldNotPerformExceptionpublic Future<Void> postUpdate(rst.domotic.binding.openhab.OpenhabCommandType.OpenhabCommand command) throws CouldNotPerformException
postUpdate in interface OpenHABRemoteCouldNotPerformExceptionpublic String toString()
toString in class RSBRemoteService<rst.domotic.binding.openhab.OpenhabStateType.OpenhabState>Copyright © 2015–2017 openbase.org. All rights reserved.