M - public abstract class AbstractRegistryRemote<M extends com.google.protobuf.GeneratedMessage>
extends org.openbase.jul.extension.rsb.com.RSBRemoteService<M>
implements org.openbase.jul.storage.registry.RegistryRemote<M>
| Constructor and Description |
|---|
AbstractRegistryRemote(Class<? extends org.openbase.jul.extension.rsb.scope.jp.JPScope> jpScopePropery,
Class<M> dataClass) |
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
void |
deactivate() |
protected List<org.openbase.jul.storage.registry.RemoteRegistry> |
getRemoteRegistries() |
void |
init() |
Boolean |
isReady() |
protected void |
postInit() |
protected abstract void |
registerRemoteRegistries() |
protected void |
registerRemoteRegistry(org.openbase.jul.storage.registry.RemoteRegistry<?,?,?> registry)
This method registers this registry remote as a registry proxy for the registry controller where the given remote registry is based on.
|
void |
shutdown() |
void |
waitUntilReady() |
Future<Void> |
waitUntilReadyFuture() |
activate, activate, addConnectionStateObserver, addDataObserver, addHandler, addObserver, applyExternalDataUpdate, callMethod, callMethod, callMethod, callMethod, callMethodAsync, callMethodAsync, deactivate, getConnectionState, getData, getDataClass, getDataField, getIntenalPriorizedDataObservable, getPing, getScope, hasDataField, init, init, init, init, init, isActive, isConnected, isDataAvailable, isLocked, lock, notifyDataUpdate, ping, reinit, reinit, reinit, reinit, removeConnectionStateObserver, removeDataObserver, removeObserver, requestData, reset, setMessageProcessor, toString, unlock, validateActivation, validateData, validateInitialization, validateMiddleware, verifyMaintainability, waitForConnectionState, waitForConnectionState, waitForData, waitForData, waitForMiddlewareclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitactivate, activate, addConnectionStateObserver, getConnectionState, getData, getDataClass, getDataFuture, getPing, isConnected, ping, removeConnectionStateObserver, requestData, waitForData, waitForDataregisterShutdownHook, registerShutdownHookpublic void init()
throws org.openbase.jul.exception.InitializationException,
InterruptedException
init in interface org.openbase.jul.storage.registry.RegistryRemote<M extends com.google.protobuf.GeneratedMessage>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 void activate()
throws InterruptedException,
org.openbase.jul.exception.CouldNotPerformException
activate in interface org.openbase.jul.iface.Activatableactivate in class org.openbase.jul.extension.rsb.com.RSBRemoteService<M extends com.google.protobuf.GeneratedMessage>InterruptedExceptionorg.openbase.jul.exception.CouldNotPerformExceptionpublic void deactivate()
throws InterruptedException,
org.openbase.jul.exception.CouldNotPerformException
deactivate in interface org.openbase.jul.iface.Activatabledeactivate in class org.openbase.jul.extension.rsb.com.RSBRemoteService<M extends com.google.protobuf.GeneratedMessage>InterruptedExceptionorg.openbase.jul.exception.CouldNotPerformExceptionpublic void shutdown()
shutdown in interface org.openbase.jul.iface.Shutdownableshutdown in class org.openbase.jul.extension.rsb.com.RSBRemoteService<M extends com.google.protobuf.GeneratedMessage>public Boolean isReady() throws InterruptedException
isReady in interface org.openbase.jul.storage.registry.RegistryServiceInterruptedExceptionpublic void waitUntilReady()
throws InterruptedException,
org.openbase.jul.exception.CouldNotPerformException
waitUntilReady in interface org.openbase.jul.storage.registry.RegistryServiceInterruptedExceptionorg.openbase.jul.exception.CouldNotPerformExceptionpublic Future<Void> waitUntilReadyFuture()
waitUntilReadyFuture in interface org.openbase.jul.storage.registry.RegistryServiceprotected void registerRemoteRegistry(org.openbase.jul.storage.registry.RemoteRegistry<?,?,?> registry)
registry - a remote registry which must not be compatible with the Message type M declared for this registry remote.protected abstract void registerRemoteRegistries()
throws org.openbase.jul.exception.CouldNotPerformException
org.openbase.jul.exception.CouldNotPerformExceptionprotected List<org.openbase.jul.storage.registry.RemoteRegistry> getRemoteRegistries()
Copyright © 2014–2018 openbase.org. All rights reserved.