public class LocationRegistryRemote extends org.openbase.bco.registry.lib.com.AbstractRegistryRemote<rst.domotic.registry.LocationRegistryDataType.LocationRegistryData> implements LocationRegistry, org.openbase.jul.storage.registry.RegistryRemote<rst.domotic.registry.LocationRegistryDataType.LocationRegistryData>
| Constructor and Description |
|---|
LocationRegistryRemote() |
| Modifier and Type | Method and Description |
|---|---|
Future<rst.domotic.unit.UnitProbabilityCollectionType.UnitProbabilityCollection> |
computeUnitIntersection(rst.tracking.PointingRay3DFloatCollectionType.PointingRay3DFloatCollection pointingRay3DFloatCollection) |
Future<rst.domotic.unit.UnitProbabilityCollectionType.UnitProbabilityCollection> |
computeUnitIntersection(rst.tracking.PointingRay3DFloatType.PointingRay3DFloat pointingRay3DFloat) |
Boolean |
containsConnectionConfig(rst.domotic.unit.UnitConfigType.UnitConfig connectionConfig) |
Boolean |
containsConnectionConfigById(String connectionId) |
Boolean |
containsLocationConfig(rst.domotic.unit.UnitConfigType.UnitConfig locationConfig) |
Boolean |
containsLocationConfigById(String locationId) |
rst.domotic.unit.UnitConfigType.UnitConfig |
getConnectionConfigById(String connectionId) |
org.openbase.bco.registry.lib.com.SynchronizedRemoteRegistry<String,rst.domotic.unit.UnitConfigType.UnitConfig,rst.domotic.unit.UnitConfigType.UnitConfig.Builder> |
getConnectionConfigRemoteRegistry() |
List<rst.domotic.unit.UnitConfigType.UnitConfig> |
getConnectionConfigs() |
List<rst.domotic.unit.UnitConfigType.UnitConfig> |
getConnectionConfigsByLabel(String connectionLabel) |
rst.domotic.unit.UnitConfigType.UnitConfig |
getLocationConfigById(String locationId) |
org.openbase.bco.registry.lib.com.SynchronizedRemoteRegistry<String,rst.domotic.unit.UnitConfigType.UnitConfig,rst.domotic.unit.UnitConfigType.UnitConfig.Builder> |
getLocationConfigRemoteRegistry() |
List<rst.domotic.unit.UnitConfigType.UnitConfig> |
getLocationConfigs() |
List<rst.domotic.unit.UnitConfigType.UnitConfig> |
getLocationConfigsByLabel(String locationLabel) |
List<rst.domotic.unit.UnitConfigType.UnitConfig> |
getNeighborLocations(String locationId) |
rst.domotic.unit.UnitConfigType.UnitConfig |
getRootLocationConfig() |
List<rst.domotic.service.ServiceConfigType.ServiceConfig> |
getServiceConfigsByConnection(String connectionConfigId) |
List<rst.domotic.service.ServiceConfigType.ServiceConfig> |
getServiceConfigsByLocation(String locationId) |
List<rst.domotic.unit.UnitConfigType.UnitConfig> |
getUnitConfigsByConnection(rst.domotic.service.ServiceTemplateType.ServiceTemplate.ServiceType type,
String connectionConfigId) |
List<rst.domotic.unit.UnitConfigType.UnitConfig> |
getUnitConfigsByConnection(String connectionConfigId) |
List<rst.domotic.unit.UnitConfigType.UnitConfig> |
getUnitConfigsByConnection(rst.domotic.unit.UnitTemplateType.UnitTemplate.UnitType type,
String connectionConfigId) |
List<rst.domotic.unit.UnitConfigType.UnitConfig> |
getUnitConfigsByLabelAndLocation(String unitLabel,
String locationId) |
List<rst.domotic.unit.UnitConfigType.UnitConfig> |
getUnitConfigsByLocation(rst.domotic.service.ServiceTemplateType.ServiceTemplate.ServiceType type,
String locationConfigId) |
List<rst.domotic.unit.UnitConfigType.UnitConfig> |
getUnitConfigsByLocation(String locationId) |
List<rst.domotic.unit.UnitConfigType.UnitConfig> |
getUnitConfigsByLocation(rst.domotic.unit.UnitTemplateType.UnitTemplate.UnitType type,
String locationConfigId) |
List<rst.domotic.unit.UnitConfigType.UnitConfig> |
getUnitConfigsByLocationLabel(String locationLabel) |
List<rst.domotic.unit.UnitConfigType.UnitConfig> |
getUnitConfigsByLocationLabel(rst.domotic.unit.UnitTemplateType.UnitTemplate.UnitType unitType,
String locationLabel) |
Boolean |
isConnectionConfigRegistryConsistent() |
Boolean |
isConnectionConfigRegistryReadOnly() |
Boolean |
isLocationConfigRegistryConsistent() |
Boolean |
isLocationConfigRegistryReadOnly() |
protected void |
postInit() |
Future<rst.domotic.unit.UnitConfigType.UnitConfig> |
registerConnectionConfig(rst.domotic.unit.UnitConfigType.UnitConfig connectionConfig) |
Future<rst.domotic.unit.UnitConfigType.UnitConfig> |
registerLocationConfig(rst.domotic.unit.UnitConfigType.UnitConfig locationConfig) |
protected void |
registerRemoteRegistries() |
Future<rst.domotic.unit.UnitConfigType.UnitConfig> |
removeConnectionConfig(rst.domotic.unit.UnitConfigType.UnitConfig connectionConfig) |
Future<rst.domotic.unit.UnitConfigType.UnitConfig> |
removeLocationConfig(rst.domotic.unit.UnitConfigType.UnitConfig locationConfig) |
void |
shutdown() |
Future<rst.domotic.unit.UnitConfigType.UnitConfig> |
updateConnectionConfig(rst.domotic.unit.UnitConfigType.UnitConfig connectionConfig) |
Future<rst.domotic.unit.UnitConfigType.UnitConfig> |
updateLocationConfig(rst.domotic.unit.UnitConfigType.UnitConfig locationConfig) |
activate, deactivate, init, registerRemoteRegistryactivate, addConnectionStateObserver, addDataObserver, addHandler, addObserver, callMethod, callMethod, callMethod, callMethod, callMethodAsync, callMethodAsync, getConnectionState, getData, getDataClass, getDataField, getDataFuture, getPing, getScope, hasDataField, init, init, init, 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, waitactivate, addConnectionStateObserver, callMethod, callMethod, callMethod, callMethod, callMethodAsync, callMethodAsync, getConnectionState, getData, getDataClass, getDataFuture, init, isConnected, removeConnectionStateObserver, requestData, waitForData, waitForDatapublic LocationRegistryRemote()
throws org.openbase.jul.exception.InstantiationException
org.openbase.jul.exception.InstantiationExceptionprotected void postInit()
throws org.openbase.jul.exception.InitializationException,
InterruptedException
postInit in class org.openbase.bco.registry.lib.com.AbstractRegistryRemote<rst.domotic.registry.LocationRegistryDataType.LocationRegistryData>org.openbase.jul.exception.InitializationExceptionInterruptedExceptionpublic void shutdown()
shutdown in interface LocationRegistryshutdown in interface org.openbase.jul.iface.Shutdownableshutdown in class org.openbase.bco.registry.lib.com.AbstractRegistryRemote<rst.domotic.registry.LocationRegistryDataType.LocationRegistryData>protected void registerRemoteRegistries()
throws org.openbase.jul.exception.CouldNotPerformException
registerRemoteRegistries in class org.openbase.bco.registry.lib.com.AbstractRegistryRemote<rst.domotic.registry.LocationRegistryDataType.LocationRegistryData>org.openbase.jul.exception.CouldNotPerformExceptionpublic org.openbase.bco.registry.lib.com.SynchronizedRemoteRegistry<String,rst.domotic.unit.UnitConfigType.UnitConfig,rst.domotic.unit.UnitConfigType.UnitConfig.Builder> getLocationConfigRemoteRegistry()
public org.openbase.bco.registry.lib.com.SynchronizedRemoteRegistry<String,rst.domotic.unit.UnitConfigType.UnitConfig,rst.domotic.unit.UnitConfigType.UnitConfig.Builder> getConnectionConfigRemoteRegistry()
public Future<rst.domotic.unit.UnitConfigType.UnitConfig> registerLocationConfig(rst.domotic.unit.UnitConfigType.UnitConfig locationConfig) throws org.openbase.jul.exception.CouldNotPerformException
registerLocationConfig in interface LocationRegistryorg.openbase.jul.exception.CouldNotPerformExceptionpublic rst.domotic.unit.UnitConfigType.UnitConfig getLocationConfigById(String locationId) throws org.openbase.jul.exception.CouldNotPerformException
getLocationConfigById in interface LocationRegistryorg.openbase.jul.exception.CouldNotPerformExceptionpublic List<rst.domotic.unit.UnitConfigType.UnitConfig> getLocationConfigsByLabel(String locationLabel) throws org.openbase.jul.exception.CouldNotPerformException
getLocationConfigsByLabel in interface LocationRegistryorg.openbase.jul.exception.CouldNotPerformExceptionpublic List<rst.domotic.unit.UnitConfigType.UnitConfig> getUnitConfigsByLabelAndLocation(String unitLabel, String locationId) throws org.openbase.jul.exception.CouldNotPerformException
getUnitConfigsByLabelAndLocation in interface LocationRegistryorg.openbase.jul.exception.CouldNotPerformExceptionpublic Boolean containsLocationConfig(rst.domotic.unit.UnitConfigType.UnitConfig locationConfig) throws org.openbase.jul.exception.CouldNotPerformException
containsLocationConfig in interface LocationRegistryorg.openbase.jul.exception.CouldNotPerformExceptionpublic Boolean containsLocationConfigById(String locationId) throws org.openbase.jul.exception.CouldNotPerformException
containsLocationConfigById in interface LocationRegistryorg.openbase.jul.exception.CouldNotPerformExceptionpublic Future<rst.domotic.unit.UnitConfigType.UnitConfig> updateLocationConfig(rst.domotic.unit.UnitConfigType.UnitConfig locationConfig) throws org.openbase.jul.exception.CouldNotPerformException
updateLocationConfig in interface LocationRegistryorg.openbase.jul.exception.CouldNotPerformExceptionpublic Future<rst.domotic.unit.UnitConfigType.UnitConfig> removeLocationConfig(rst.domotic.unit.UnitConfigType.UnitConfig locationConfig) throws org.openbase.jul.exception.CouldNotPerformException
removeLocationConfig in interface LocationRegistryorg.openbase.jul.exception.CouldNotPerformExceptionpublic List<rst.domotic.unit.UnitConfigType.UnitConfig> getLocationConfigs() throws org.openbase.jul.exception.CouldNotPerformException, org.openbase.jul.exception.NotAvailableException
getLocationConfigs in interface LocationRegistryorg.openbase.jul.exception.CouldNotPerformExceptionorg.openbase.jul.exception.NotAvailableExceptionpublic List<rst.domotic.unit.UnitConfigType.UnitConfig> getUnitConfigsByLocation(String locationId) throws org.openbase.jul.exception.CouldNotPerformException, org.openbase.jul.exception.NotAvailableException
getUnitConfigsByLocation in interface LocationRegistryorg.openbase.jul.exception.NotAvailableExceptionorg.openbase.jul.exception.CouldNotPerformExceptionpublic List<rst.domotic.unit.UnitConfigType.UnitConfig> getUnitConfigsByLocationLabel(String locationLabel) throws org.openbase.jul.exception.CouldNotPerformException
getUnitConfigsByLocationLabel in interface LocationRegistryorg.openbase.jul.exception.CouldNotPerformExceptionpublic List<rst.domotic.unit.UnitConfigType.UnitConfig> getUnitConfigsByLocation(rst.domotic.unit.UnitTemplateType.UnitTemplate.UnitType type, String locationConfigId) throws org.openbase.jul.exception.CouldNotPerformException, org.openbase.jul.exception.NotAvailableException
getUnitConfigsByLocation in interface LocationRegistryorg.openbase.jul.exception.CouldNotPerformExceptionorg.openbase.jul.exception.NotAvailableExceptionpublic List<rst.domotic.unit.UnitConfigType.UnitConfig> getUnitConfigsByLocationLabel(rst.domotic.unit.UnitTemplateType.UnitTemplate.UnitType unitType, String locationLabel) throws org.openbase.jul.exception.CouldNotPerformException
getUnitConfigsByLocationLabel in interface LocationRegistryorg.openbase.jul.exception.CouldNotPerformExceptionorg.openbase.jul.exception.NotAvailableExceptionpublic List<rst.domotic.unit.UnitConfigType.UnitConfig> getUnitConfigsByLocation(rst.domotic.service.ServiceTemplateType.ServiceTemplate.ServiceType type, String locationConfigId) throws org.openbase.jul.exception.CouldNotPerformException, org.openbase.jul.exception.NotAvailableException
getUnitConfigsByLocation in interface LocationRegistryorg.openbase.jul.exception.CouldNotPerformExceptionorg.openbase.jul.exception.NotAvailableExceptionpublic List<rst.domotic.service.ServiceConfigType.ServiceConfig> getServiceConfigsByLocation(String locationId) throws org.openbase.jul.exception.CouldNotPerformException, org.openbase.jul.exception.NotAvailableException
getServiceConfigsByLocation in interface LocationRegistryorg.openbase.jul.exception.CouldNotPerformExceptionorg.openbase.jul.exception.NotAvailableExceptionpublic rst.domotic.unit.UnitConfigType.UnitConfig getRootLocationConfig()
throws org.openbase.jul.exception.CouldNotPerformException,
org.openbase.jul.exception.NotAvailableException
getRootLocationConfig in interface LocationRegistryorg.openbase.jul.exception.CouldNotPerformExceptionorg.openbase.jul.exception.NotAvailableExceptionpublic Boolean isLocationConfigRegistryReadOnly() throws org.openbase.jul.exception.CouldNotPerformException
isLocationConfigRegistryReadOnly in interface LocationRegistryorg.openbase.jul.exception.CouldNotPerformExceptionpublic Future<rst.domotic.unit.UnitConfigType.UnitConfig> registerConnectionConfig(rst.domotic.unit.UnitConfigType.UnitConfig connectionConfig) throws org.openbase.jul.exception.CouldNotPerformException
registerConnectionConfig in interface LocationRegistryorg.openbase.jul.exception.CouldNotPerformExceptionpublic rst.domotic.unit.UnitConfigType.UnitConfig getConnectionConfigById(String connectionId) throws org.openbase.jul.exception.CouldNotPerformException
getConnectionConfigById in interface LocationRegistryorg.openbase.jul.exception.CouldNotPerformExceptionpublic List<rst.domotic.unit.UnitConfigType.UnitConfig> getConnectionConfigsByLabel(String connectionLabel) throws org.openbase.jul.exception.CouldNotPerformException
getConnectionConfigsByLabel in interface LocationRegistryorg.openbase.jul.exception.CouldNotPerformExceptionpublic Boolean containsConnectionConfig(rst.domotic.unit.UnitConfigType.UnitConfig connectionConfig) throws org.openbase.jul.exception.CouldNotPerformException
containsConnectionConfig in interface LocationRegistryorg.openbase.jul.exception.CouldNotPerformExceptionpublic Boolean containsConnectionConfigById(String connectionId) throws org.openbase.jul.exception.CouldNotPerformException
containsConnectionConfigById in interface LocationRegistryorg.openbase.jul.exception.CouldNotPerformExceptionpublic Future<rst.domotic.unit.UnitConfigType.UnitConfig> updateConnectionConfig(rst.domotic.unit.UnitConfigType.UnitConfig connectionConfig) throws org.openbase.jul.exception.CouldNotPerformException
updateConnectionConfig in interface LocationRegistryorg.openbase.jul.exception.CouldNotPerformExceptionpublic Future<rst.domotic.unit.UnitConfigType.UnitConfig> removeConnectionConfig(rst.domotic.unit.UnitConfigType.UnitConfig connectionConfig) throws org.openbase.jul.exception.CouldNotPerformException
removeConnectionConfig in interface LocationRegistryorg.openbase.jul.exception.CouldNotPerformExceptionpublic List<rst.domotic.unit.UnitConfigType.UnitConfig> getConnectionConfigs() throws org.openbase.jul.exception.CouldNotPerformException
getConnectionConfigs in interface LocationRegistryorg.openbase.jul.exception.CouldNotPerformExceptionorg.openbase.jul.exception.NotAvailableExceptionpublic List<rst.domotic.unit.UnitConfigType.UnitConfig> getUnitConfigsByConnection(String connectionConfigId) throws org.openbase.jul.exception.CouldNotPerformException
getUnitConfigsByConnection in interface LocationRegistryorg.openbase.jul.exception.NotAvailableExceptionorg.openbase.jul.exception.CouldNotPerformExceptionpublic List<rst.domotic.unit.UnitConfigType.UnitConfig> getUnitConfigsByConnection(rst.domotic.unit.UnitTemplateType.UnitTemplate.UnitType type, String connectionConfigId) throws org.openbase.jul.exception.CouldNotPerformException, org.openbase.jul.exception.NotAvailableException
getUnitConfigsByConnection in interface LocationRegistryorg.openbase.jul.exception.CouldNotPerformExceptionorg.openbase.jul.exception.NotAvailableExceptionpublic List<rst.domotic.unit.UnitConfigType.UnitConfig> getUnitConfigsByConnection(rst.domotic.service.ServiceTemplateType.ServiceTemplate.ServiceType type, String connectionConfigId) throws org.openbase.jul.exception.CouldNotPerformException, org.openbase.jul.exception.NotAvailableException
getUnitConfigsByConnection in interface LocationRegistryorg.openbase.jul.exception.CouldNotPerformExceptionorg.openbase.jul.exception.NotAvailableExceptionpublic List<rst.domotic.service.ServiceConfigType.ServiceConfig> getServiceConfigsByConnection(String connectionConfigId) throws org.openbase.jul.exception.CouldNotPerformException
getServiceConfigsByConnection in interface LocationRegistryorg.openbase.jul.exception.CouldNotPerformExceptionorg.openbase.jul.exception.NotAvailableExceptionpublic Boolean isConnectionConfigRegistryReadOnly() throws org.openbase.jul.exception.CouldNotPerformException
isConnectionConfigRegistryReadOnly in interface LocationRegistryorg.openbase.jul.exception.CouldNotPerformExceptionpublic List<rst.domotic.unit.UnitConfigType.UnitConfig> getNeighborLocations(String locationId) throws org.openbase.jul.exception.CouldNotPerformException
getNeighborLocations in interface LocationRegistryorg.openbase.jul.exception.CouldNotPerformExceptionpublic Boolean isLocationConfigRegistryConsistent() throws org.openbase.jul.exception.CouldNotPerformException
isLocationConfigRegistryConsistent in interface LocationRegistryorg.openbase.jul.exception.CouldNotPerformExceptionpublic Boolean isConnectionConfigRegistryConsistent() throws org.openbase.jul.exception.CouldNotPerformException
isConnectionConfigRegistryConsistent in interface LocationRegistryorg.openbase.jul.exception.CouldNotPerformExceptionpublic Future<rst.domotic.unit.UnitProbabilityCollectionType.UnitProbabilityCollection> computeUnitIntersection(rst.tracking.PointingRay3DFloatType.PointingRay3DFloat pointingRay3DFloat) throws org.openbase.jul.exception.CouldNotPerformException
computeUnitIntersection in interface LocationRegistrypointingRay3DFloat - org.openbase.jul.exception.CouldNotPerformExceptionpublic Future<rst.domotic.unit.UnitProbabilityCollectionType.UnitProbabilityCollection> computeUnitIntersection(rst.tracking.PointingRay3DFloatCollectionType.PointingRay3DFloatCollection pointingRay3DFloatCollection) throws org.openbase.jul.exception.CouldNotPerformException
computeUnitIntersection in interface LocationRegistrypointingRay3DFloatCollection - org.openbase.jul.exception.CouldNotPerformExceptionCopyright © 2014–2017 openbase.org. All rights reserved.