
public class CoordinatedRegistrationManagement extends CoordinatedStrategy
Matchable information that is tied to an
 Id. Map of keys Resources
 and values ids. This way Resources can be iterated to do match
 making, then retrieve their associated ID.  
 CoordinatedStrategy.CoordinatorAlreadyExistsExceptionThread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description | 
|---|---|
| static String | PROP_REGISTRATIONProperty to Hold the Registration | 
| static String | PROP_REGISTRATION_IDProperty to Hold the RegistrationID | 
TYPE_UI_BUS_COORDINATOR_BROADCAST, TYPE_UI_BUS_COORDINATOR_REQUEST, TYPE_UI_BUS_COORDINATOR_RESIGNbus, busModule, commModuleMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description | 
|---|
| CoordinatedRegistrationManagement(CommunicationModule commModule) | 
| CoordinatedRegistrationManagement(CommunicationModule commModule,
                                 String name) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addRegistration(String id,
               Matchable registration) | 
| void | close() | 
| protected String | getRegistryID(Resource res) | 
| protected boolean | isIdRegistered(String id) | 
| protected Iterator<String> | registryIdIterator() | 
| protected Iterator<Matchable> | registryIterator() | 
| void | removeAllRegistries(String id) | 
| void | removeMatchingRegistries(String id,
                        Matchable filter) | 
| void | start() | 
getCoordinator, iAmCoordinator, lostCoordinator, peerJoined, peerLost, requestBecomeACoordinator, resignFromCoordinator, sharedObjectAdded, sharedObjectRemoved, spaceJoined, spaceLost, spaceStatusChangedabortAll, abortCall, handle, placeAsynchronousRequest, placeAsynchronousRequest, placeSynchronousRequest, placeSynchronousRequest, sendAsynchronousResponse, sendAsynchronousResponse, sendSynchronousResponsesendEventToRemoteBusMember, sendEventToRemoteBusMember, sendEventToRemoteBusMember, sendEventToRemoteBusMember, sendEventToRemoteBusMemberbuildChannelMessage, getBusMember, getLocalBusByName, handleMessage, run, send, setBus, stopThreadactiveCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, stop, stop, suspend, toString, yieldpublic static final String PROP_REGISTRATION_ID
public static final String PROP_REGISTRATION
public CoordinatedRegistrationManagement(CommunicationModule commModule, String name)
commModule - name - public CoordinatedRegistrationManagement(CommunicationModule commModule)
commModule - public void start()
start in class CoordinatedStrategypublic final void removeAllRegistries(String id)
protected final boolean isIdRegistered(String id)
public void close()
close in class CoordinatedStrategyCopyright © 2018 universAAL Consortium. All rights reserved.