Definition at line 42 of file SynchroTargerManager.java.
Public Member Functions | |
void | registerProxyTargetForTerminal (ProxySyncroTarget proxy, UserTerminal terminal) |
void | addSynchroTargetListener (OpenMSPSynchroTargetListener listener, String version, UserTerminal terminal) |
Register a new Synchro target listener. | |
OpenMSPSynchroTargetListener | getSynchroTargetListener (String listenerName, String version, UserTerminal terminal) |
return the SynchroTargetListener with specified name, version and terminal. | |
ProxySyncroTarget | getProxySynchroTargetForTerminal (UserTerminal terminal) |
Static Public Member Functions | |
static SynchroTargerManager | getManager () |
Classes | |
class | TargetContainer |
class | TargetVersion |
|
Register a new Synchro target listener. Version and terminal are optional. Several target can be registered depending on their version and/or terminal. Depending on the synchro terminal and synchro request, the right listener will be call. If no listener is found for a version and/or terminal the nearest if return.
Definition at line 108 of file SynchroTargerManager.java. References org.openmobileis.common.util.collection.Array.add(), org.openmobileis.synchro.openmsp.server.synctarget.OpenMSPSynchroTargetListener.getTargetName(), org.openmobileis.synchro.openmsp.server.synctarget.SynchroTargerManager.TargetVersion.target, org.openmobileis.synchro.openmsp.server.synctarget.SynchroTargerManager.TargetContainer.TargetList, org.openmobileis.synchro.openmsp.server.synctarget.SynchroTargerManager.TargetContainer.targetName, org.openmobileis.synchro.openmsp.server.synctarget.SynchroTargerManager.TargetVersion.terminal, and org.openmobileis.synchro.openmsp.server.synctarget.SynchroTargerManager.TargetVersion.version. |
|
return the SynchroTargetListener with specified name, version and terminal. Version and terminal are optional. If no listener is found return null;
Definition at line 132 of file SynchroTargerManager.java. References org.openmobileis.common.context.UserTerminal.equals(), org.openmobileis.common.util.collection.Array.get(), org.openmobileis.common.util.collection.Array.size, org.openmobileis.synchro.openmsp.server.synctarget.SynchroTargerManager.TargetVersion.target, org.openmobileis.synchro.openmsp.server.synctarget.SynchroTargerManager.TargetContainer.TargetList, org.openmobileis.synchro.openmsp.server.synctarget.SynchroTargerManager.TargetVersion.terminal, and org.openmobileis.synchro.openmsp.server.synctarget.SynchroTargerManager.TargetVersion.version. |