org.openmobileis.synchro.openmsp.server.synctarget.SynchroTargerManager Class Reference

List of all members.


Detailed Description

Title: OpenMobileIS project source
Description:.

Author:
Philippe Delrieu
Since:
JDK 1.1
Version:
1.0.

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

Member Function Documentation

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.

Parameters:
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.

Parameters:
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;

Parameters:
listenerName : name of the listener to return.
version : version of the target listener (optional)
terminal : terminal that can use this listener (optional).
Returns:

Definition at line 141 of file SynchroTargerManager.java.


The documentation for this class was generated from the following file:
Generated on Mon Jan 11 21:19:23 2010 for OpenMobileIS by  doxygen 1.5.4