Definition at line 42 of file SynchroTargerManager.java.
Public Member Functions | |
void | registerProxyTargetForTerminal (ProxySyncroTarget proxy, UserTerminal terminal) |
Register a Synchro Proxy target for a specified 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. | |
Classes | |
class | TargetContainer |
class | TargetVersion |
void org.openmobileis.synchro.openmsp.server.synctarget.SynchroTargerManager.registerProxyTargetForTerminal | ( | ProxySyncroTarget | proxy, | |
UserTerminal | terminal | |||
) |
Register a Synchro Proxy target for a specified terminal.
If the terminal is null, the specified proxy is use as default is no proxy is found for a synchro.
proxy | :the proxy to register | |
terminal | : the specified proxy will be use when the terminal do a synchro. Null to define the default proxy. |
Definition at line 100 of file SynchroTargerManager.java.
void org.openmobileis.synchro.openmsp.server.synctarget.SynchroTargerManager.addSynchroTargetListener | ( | OpenMSPSynchroTargetListener | listener, | |
String | version, | |||
UserTerminal | terminal | |||
) |
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.
listener | : target listener to be registered | |
version | : version of the target listener (optional) | |
terminal | : terminal that can use this listener (optional). |
Definition at line 117 of file SynchroTargerManager.java.
References org.openmobileis.synchro.openmsp.server.synctarget.OpenMSPSynchroTargetListener.getTargetName().
OpenMSPSynchroTargetListener org.openmobileis.synchro.openmsp.server.synctarget.SynchroTargerManager.getSynchroTargetListener | ( | String | listenerName, | |
String | version, | |||
UserTerminal | terminal | |||
) |
return the SynchroTargetListener with specified name, version and terminal.
Version and terminal are optional. If no listener is found return null;
listenerName | : name of the listener to return. | |
version | : version of the target listener (optional) | |
terminal | : terminal that can use this listener (optional). |
Definition at line 141 of file SynchroTargerManager.java.