M - public abstract class AbstractUnitRemote<M extends com.google.protobuf.GeneratedMessage> extends org.openbase.jul.extension.rsb.com.AbstractConfigurableRemote<M,rst.domotic.unit.UnitConfigType.UnitConfig> implements UnitRemote<M,rst.domotic.unit.UnitConfigType.UnitConfig>
CONNECTION_TIMEOUT, DATA_WAIT_TIMEOUT, logger, LOGGING_TIMEOUT, METHOD_CALL_MAX_TIMEOUT, METHOD_CALL_START_TIMEOUT, METHOD_CALL_TIMEOUT_MULTIPLIER, PING_TIMEOUT, REQUEST_TIMEOUT, scopeSERVICE_LABEL| Constructor and Description |
|---|
AbstractUnitRemote(Class<M> dataClass) |
| Modifier and Type | Method and Description |
|---|---|
Future<Void> |
applyAction(rst.domotic.action.ActionConfigType.ActionConfig actionConfig) |
rst.domotic.unit.UnitConfigType.UnitConfig |
applyConfigUpdate(rst.domotic.unit.UnitConfigType.UnitConfig config) |
String |
getLabel() |
rst.domotic.unit.UnitConfigType.UnitConfig |
getLocationConfig() |
rst.rsb.ScopeType.Scope |
getScope() |
rst.domotic.unit.UnitTemplateType.UnitTemplate |
getTemplate() |
rst.domotic.unit.UnitTemplateType.UnitTemplate.UnitType |
getType() |
protected org.openbase.bco.registry.unit.lib.UnitRegistry |
getUnitRegistry() |
void |
init(rsb.Scope scope)
Method initializes this unit remote instance via it's remote controller scope.
|
void |
init(rst.rsb.ScopeType.Scope scope)
Method initializes this unit remote instance via it's remote controller scope.
|
void |
init(String scope) |
void |
init(String label,
org.openbase.jul.extension.rst.iface.ScopeProvider location) |
void |
initById(String id)
Method initializes this unit remote instance via the given id.
|
void |
initByLabel(String label)
Method initializes this unit remote instance via the given label.
|
protected void |
postInit() |
Future<rst.domotic.action.SnapshotType.Snapshot> |
recordSnapshot() |
addConfigObserver, getConfig, getConfigClass, getConfigField, getConfigField, getId, hasConfigField, init, notifyConfigUpdate, removeConfigObserver, shutdown, supportsConfigFieldactivate, activate, addConnectionStateObserver, addDataObserver, addHandler, addObserver, callMethod, callMethod, callMethod, callMethod, callMethodAsync, callMethodAsync, deactivate, getConnectionState, getData, getDataClass, getDataField, getDataFuture, getPing, hasDataField, init, init, isActive, isConnected, isDataAvailable, notifyDataUpdate, ping, removeConnectionStateObserver, removeDataObserver, removeObserver, requestData, reset, toString, validateActivation, validateData, validateInitialization, waitForConnectionState, waitForConnectionState, waitForData, waitForDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitrestoreSnapshotdetectServiceMethod, getArgumentClasses, getServiceBaseName, getServicePrefix, getServiceStateName, invokeServiceMethodaddConfigObserver, getConfig, getConfigClass, removeConfigObserveractivate, addConnectionStateObserver, callMethod, callMethod, callMethod, callMethod, callMethodAsync, callMethodAsync, getConnectionState, getData, getDataClass, getDataFuture, isConnected, removeConnectionStateObserver, requestData, waitForData, waitForDataprotected org.openbase.bco.registry.unit.lib.UnitRegistry getUnitRegistry()
throws InterruptedException,
org.openbase.jul.exception.CouldNotPerformException
InterruptedExceptionorg.openbase.jul.exception.CouldNotPerformExceptionpublic void initById(String id) throws org.openbase.jul.exception.InitializationException, InterruptedException
initById in interface UnitRemote<M extends com.google.protobuf.GeneratedMessage,rst.domotic.unit.UnitConfigType.UnitConfig>id - org.openbase.jul.exception.InitializationExceptionInterruptedExceptionpublic void initByLabel(String label) throws org.openbase.jul.exception.InitializationException, InterruptedException
initByLabel in interface UnitRemote<M extends com.google.protobuf.GeneratedMessage,rst.domotic.unit.UnitConfigType.UnitConfig>label - org.openbase.jul.exception.InitializationExceptionInterruptedExceptionpublic void init(rst.rsb.ScopeType.Scope scope)
throws org.openbase.jul.exception.InitializationException,
InterruptedException
init in interface UnitRemote<M extends com.google.protobuf.GeneratedMessage,rst.domotic.unit.UnitConfigType.UnitConfig>init in interface org.openbase.jul.extension.rsb.com.RSBRemote<M extends com.google.protobuf.GeneratedMessage>init in class org.openbase.jul.extension.rsb.com.RSBRemoteService<M extends com.google.protobuf.GeneratedMessage>scope - org.openbase.jul.exception.InitializationExceptionInterruptedExceptionpublic void init(rsb.Scope scope)
throws org.openbase.jul.exception.InitializationException,
InterruptedException
init in interface UnitRemote<M extends com.google.protobuf.GeneratedMessage,rst.domotic.unit.UnitConfigType.UnitConfig>init in interface org.openbase.jul.extension.rsb.com.RSBRemote<M extends com.google.protobuf.GeneratedMessage>init in class org.openbase.jul.extension.rsb.com.RSBRemoteService<M extends com.google.protobuf.GeneratedMessage>scope - org.openbase.jul.exception.InitializationExceptionInterruptedExceptionpublic void init(String scope) throws org.openbase.jul.exception.InitializationException, InterruptedException
init in interface org.openbase.jul.pattern.Remote<M extends com.google.protobuf.GeneratedMessage>init in class org.openbase.jul.extension.rsb.com.RSBRemoteService<M extends com.google.protobuf.GeneratedMessage>scope - org.openbase.jul.exception.InitializationExceptionInterruptedExceptionpublic void init(String label, org.openbase.jul.extension.rst.iface.ScopeProvider location) throws org.openbase.jul.exception.InitializationException, InterruptedException
org.openbase.jul.exception.InitializationExceptionInterruptedExceptionprotected void postInit()
throws org.openbase.jul.exception.InitializationException,
InterruptedException
postInit in class org.openbase.jul.extension.rsb.com.RSBRemoteService<M extends com.google.protobuf.GeneratedMessage>org.openbase.jul.exception.InitializationExceptionInterruptedExceptionpublic rst.domotic.unit.UnitConfigType.UnitConfig applyConfigUpdate(rst.domotic.unit.UnitConfigType.UnitConfig config)
throws org.openbase.jul.exception.CouldNotPerformException,
InterruptedException
applyConfigUpdate in interface org.openbase.jul.iface.Configurable<String,rst.domotic.unit.UnitConfigType.UnitConfig>applyConfigUpdate in class org.openbase.jul.extension.rsb.com.AbstractConfigurableRemote<M extends com.google.protobuf.GeneratedMessage,rst.domotic.unit.UnitConfigType.UnitConfig>config - org.openbase.jul.exception.CouldNotPerformExceptionInterruptedExceptionpublic rst.domotic.unit.UnitTemplateType.UnitTemplate.UnitType getType()
throws org.openbase.jul.exception.NotAvailableException
public rst.domotic.unit.UnitTemplateType.UnitTemplate getTemplate()
throws org.openbase.jul.exception.NotAvailableException
getTemplate in interface Unitorg.openbase.jul.exception.NotAvailableExceptionpublic String getLabel() throws org.openbase.jul.exception.NotAvailableException
getLabel in interface org.openbase.jul.iface.provider.LabelProviderorg.openbase.jul.exception.NotAvailableExceptionpublic rst.rsb.ScopeType.Scope getScope()
throws org.openbase.jul.exception.NotAvailableException
getScope in interface org.openbase.jul.extension.rsb.com.RSBRemote<M extends com.google.protobuf.GeneratedMessage>getScope in interface org.openbase.jul.extension.rst.iface.ScopeProvidergetScope in class org.openbase.jul.extension.rsb.com.RSBRemoteService<M extends com.google.protobuf.GeneratedMessage>org.openbase.jul.exception.NotAvailableExceptionpublic rst.domotic.unit.UnitConfigType.UnitConfig getLocationConfig()
throws org.openbase.jul.exception.NotAvailableException
org.openbase.jul.exception.NotAvailableExceptionpublic Future<Void> applyAction(rst.domotic.action.ActionConfigType.ActionConfig actionConfig) throws org.openbase.jul.exception.CouldNotPerformException, InterruptedException
applyAction in interface ServiceactionConfig - org.openbase.jul.exception.CouldNotPerformExceptionInterruptedExceptionpublic Future<rst.domotic.action.SnapshotType.Snapshot> recordSnapshot() throws org.openbase.jul.exception.CouldNotPerformException, InterruptedException
recordSnapshot in interface UnitrecordSnapshot in interface org.openbase.jul.iface.Snapshotable<rst.domotic.action.SnapshotType.Snapshot>org.openbase.jul.exception.CouldNotPerformExceptionInterruptedExceptionCopyright © 2014–2017 openbase.org. All rights reserved.