public class LocationRegistryRemote extends org.openbase.bco.registry.lib.com.AbstractVirtualRegistryRemote<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 |
|---|---|
void |
activate() |
protected void |
bindRegistryRemoteToRemoteRegistries() |
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> |
getLocationConfigsByCoordinate(rst.math.Vec3DDoubleType.Vec3DDouble coordinate,
rst.domotic.unit.location.LocationConfigType.LocationConfig.LocationType locationType) |
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(String locationId,
boolean recursive) |
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 |
isConsistent() |
Boolean |
isLocationConfigRegistryConsistent() |
Boolean |
isLocationConfigRegistryReadOnly() |
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 |
registerRegistryRemotes() |
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) |
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) |
bindRegistryRemoteToRemoteRegistry, deactivate, isDataAvailable, isReady, isVirtualRegistrySynchronized, postInit, registerRegistryRemote, waitForDatagetRemoteRegistries, init, registerRemoteRegistry, shutdown, waitUntilReady, waitUntilReadyFutureactivate, activate, addConnectionStateObserver, addDataObserver, addHandler, addObserver, applyEventUpdate, applyExternalDataUpdate, callMethod, callMethod, callMethod, callMethod, callMethodAsync, callMethodAsync, deactivate, generateHandler, getConnectionState, getData, getDataClass, getDataField, getIntenalPriorizedDataObservable, getPing, getRemoteServer, getScope, hasDataField, init, init, init, init, init, internalRequestStatus, isActive, isConnected, isLocked, lock, notifyDataUpdate, ping, reinit, reinit, reinit, reinit, removeConnectionStateObserver, removeDataObserver, removeObserver, requestData, reset, setMessageProcessor, toString, unlock, validateActivation, validateData, validateInitialization, validateMiddleware, verifyMaintainability, waitForConnectionState, waitForConnectionState, waitForData, waitForMiddlewareclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcontainsUnitConfigById, getLocationConfigsByCoordinate, getLocationConfigsByType, getServiceTypesByLocation, getUnitConfigById, getUnitConfigs, getUnitConfigs, getUnitShape, getUnitTransformationgetRootToUnitTransform3D, getRootToUnitTransformation, getRootToUnitTransformationFuture, getUnitBoundingBoxCenterGlobalPoint3d, getUnitBoundingBoxCenterPoint3d, getUnitPositionGlobal, getUnitPositionGlobalPoint3d, getUnitPositionGlobalVec3DDouble, getUnitPositionGlobalVector3d, getUnitRotationGlobal, getUnitRotationGlobalQuat4d, getUnitShape, getUnitToRootTransform3D, getUnitToRootTransformation, getUnitToRootTransformationFuture, getUnitTransformation, getUnitTransformationFuture, lookupUnitTransformationgetName, init, reinitactivate, activate, addConnectionStateObserver, getConnectionState, getData, getDataClass, getDataFuture, getPing, isConnected, ping, removeConnectionStateObserver, requestData, waitForConnectionState, waitForData, waitForDataregisterShutdownHook, registerShutdownHook, shutdownisLocked, lock, unlock, verifyMaintainabilitypublic LocationRegistryRemote()
throws org.openbase.jul.exception.InstantiationException
org.openbase.jul.exception.InstantiationExceptionpublic void activate()
throws InterruptedException,
org.openbase.jul.exception.CouldNotPerformException
activate in interface org.openbase.jul.iface.Activatableactivate in class org.openbase.bco.registry.lib.com.AbstractVirtualRegistryRemote<rst.domotic.registry.LocationRegistryDataType.LocationRegistryData>InterruptedExceptionorg.openbase.jul.exception.CouldNotPerformExceptionprotected 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.CouldNotPerformExceptionprotected void registerRegistryRemotes()
throws org.openbase.jul.exception.InitializationException,
InterruptedException
registerRegistryRemotes in class org.openbase.bco.registry.lib.com.AbstractVirtualRegistryRemote<rst.domotic.registry.LocationRegistryDataType.LocationRegistryData>org.openbase.jul.exception.InitializationExceptionInterruptedExceptionprotected void bindRegistryRemoteToRemoteRegistries()
bindRegistryRemoteToRemoteRegistries in class org.openbase.bco.registry.lib.com.AbstractVirtualRegistryRemote<rst.domotic.registry.LocationRegistryDataType.LocationRegistryData>public 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> getLocationConfigsByCoordinate(rst.math.Vec3DDoubleType.Vec3DDouble coordinate, rst.domotic.unit.location.LocationConfigType.LocationConfig.LocationType locationType) throws org.openbase.jul.exception.CouldNotPerformException, InterruptedException, ExecutionException
getLocationConfigsByCoordinate in interface LocationRegistryorg.openbase.jul.exception.CouldNotPerformExceptionInterruptedExceptionExecutionExceptionpublic 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
getUnitConfigsByLocation in interface LocationRegistryorg.openbase.jul.exception.CouldNotPerformExceptionpublic List<rst.domotic.unit.UnitConfigType.UnitConfig> getUnitConfigsByLocation(String locationId, boolean recursive) throws org.openbase.jul.exception.CouldNotPerformException
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 org.openbase.bco.registry.lib.provider.RootLocationConfigProvidergetRootLocationConfig in interface org.openbase.bco.registry.unit.lib.provider.UnitTransformationProviderRegistry<rst.domotic.registry.LocationRegistryDataType.LocationRegistryData>org.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.CouldNotPerformExceptionpublic Boolean isConsistent() throws org.openbase.jul.exception.CouldNotPerformException
isConsistent in interface org.openbase.jul.storage.registry.RegistryServiceorg.openbase.jul.exception.CouldNotPerformExceptionCopyright © 2014–2018 openbase.org. All rights reserved.