
public class UIStrategyCaller extends UIStrategyHandler
UICallers and the IDialogManager.
UICaller notifies the IDialogManager there
is a new UIRequest it whants to display to a user. When ready a
UIResponse will be delivered.
UICaller notifies the
IDialogManager a dialog should be suspendend for later resume.
UICaller calls
for its removal, the data inputed until cancelation will be delibered. Aborts
may also be instructed by the IDialogManager in representation of the
user.
| Modifier and Type | Class and Description |
|---|---|
class |
UIStrategyCaller.UIRequestCall |
CoordinatedStrategy.CoordinatorAlreadyExistsExceptionThread.State, Thread.UncaughtExceptionHandlerLAST_USED_HANDLER_MATCH_LEVEL_ADDITION, lastUsedHandler, runningDialogsdialogManagerPROP_REGISTRATION, PROP_REGISTRATION_IDTYPE_UI_BUS_COORDINATOR_BROADCAST, TYPE_UI_BUS_COORDINATOR_REQUEST, TYPE_UI_BUS_COORDINATOR_RESIGNbus, busModule, commModuleMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
UIStrategyCaller(CommunicationModule commModule) |
UIStrategyCaller(CommunicationModule commModule,
String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
abortAllPendingRequestsFor(UICaller caller)
A caller is unregistering, and it will be no more reachable, all of its
pending requests must be aborted.
|
void |
close() |
protected void |
lostCoordinator()
Peer will notify that communication channel is broken and then notify an
abort on all pending requests, for all local
UICallers |
protected void |
notifyCallerDialogSubmitted(UIResponse response) |
void |
peerLost(PeerCard peer)
Coordinator will abort all pending request of the lost peer
|
void |
start() |
cutDialogaddRegistration, getRegistryID, isIdRegistered, registryIdIterator, registryIterator, removeAllRegistries, removeMatchingRegistriesgetCoordinator, iAmCoordinator, peerJoined, 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 UIStrategyCaller(CommunicationModule commModule, String name)
commModule - name - public UIStrategyCaller(CommunicationModule commModule)
commModule - public void start()
start in class UIStrategyHandlerprotected void notifyCallerDialogSubmitted(UIResponse response)
notifyCallerDialogSubmitted in class UIStrategyHandlerpublic void close()
close in class UIStrategyHandlerpublic void abortAllPendingRequestsFor(UICaller caller)
caller - public void peerLost(PeerCard peer)
peerLost in interface SpaceListenerpeerLost in class UIStrategyHandlerprotected void lostCoordinator()
UICallerslostCoordinator in class UIStrategyHandlerCopyright © 2018 universAAL Consortium. All rights reserved.