|
jSyncManager | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.jSyncManager.Server.Server
Insert the type's description here.
Inner Class Summary | |
---|---|
(package private) class |
Server.ExitThread
|
(package private) class |
Server.LogPrintStream
|
Field Summary | |
---|---|
static int |
NETSYNC_DEFAULT_NUMLISTENERS
|
static int |
NETSYNC_DEFAULT_PORT
|
Constructor Summary | |
---|---|
Server()
JSyncManagerServer constructor comment. |
Method Summary | |
---|---|
void |
endOfSync(Synchronizer s)
endOfSync method comment. |
protected void |
finalize()
|
java.util.Vector |
getConduits(Synchronizer s)
getConduits method comment. |
AbstractConduit |
getDefaultConduit(Synchronizer s)
Retrieves the DefaultConduit object to be used at the end of a standard sync. |
DLPUserInfo |
getNewUserInfo(Synchronizer s)
getNewUserInfo method comment. |
java.io.File |
getRestoreDatabasePath()
Gets the database set to be used for the restore operation. |
int |
getSyncType(Synchronizer s)
getSyncType method comment. |
static void |
main(java.lang.String[] args)
Starts the application. |
void |
midSync(Synchronizer s)
midSync method comment. |
void |
processUser(DLPUserInfo userInfo,
Synchronizer s)
processUser method comment. |
void |
startOfSync(Synchronizer s)
startOfSync method comment. |
void |
startServer()
|
java.lang.Boolean |
stopServer(java.lang.String password)
Informs the server to shutdown all operations. |
boolean |
useTimeSync(Synchronizer s)
useTimeSync method comment. |
boolean |
validateUser(int userID,
Synchronizer s)
validateUser method comment. |
Methods inherited from class java.lang.Object |
---|
|
Field Detail |
public static final int NETSYNC_DEFAULT_PORT
public static final int NETSYNC_DEFAULT_NUMLISTENERS
Constructor Detail |
public Server()
Method Detail |
public void endOfSync(Synchronizer s)
endOfSync
in interface SynchronizerListener
org.jSyncManager.API.Threads.SynchronizerListener
s
- a reference to the Synchronizer that has completed a sync job.protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
public java.util.Vector getConduits(Synchronizer s)
getConduits
in interface SynchronizerListener
org.jSyncManager.API.Threads.SynchronizerListener
s
- a reference to the Synchronizer that has completed a sync job.public AbstractConduit getDefaultConduit(Synchronizer s)
SynchronizerListener
getDefaultConduit
in interface SynchronizerListener
public DLPUserInfo getNewUserInfo(Synchronizer s)
getNewUserInfo
in interface SynchronizerListener
org.jSyncManager.API.Threads.SynchronizerListener
s
- a reference to the Synchronizer that has completed a sync job.public int getSyncType(Synchronizer s)
getSyncType
in interface SynchronizerListener
org.jSyncManager.API.Threads.SynchronizerListener
s
- a reference to the Synchronizer that has completed a sync job.public static void main(java.lang.String[] args)
args
- an array of command-line argumentspublic void midSync(Synchronizer s)
midSync
in interface SynchronizerListener
org.jSyncManager.API.Threads.SynchronizerListener
s
- a reference to the Synchronizer that has reached the mid-point of a sync job.public void processUser(DLPUserInfo userInfo, Synchronizer s)
processUser
in interface SynchronizerListener
org.jSyncManager.API.Threads.SynchronizerListener
userInfo
- the DLPUserInfo object for the currently synchronizing handheld.s
- a reference to the Synchronizer that has completed a sync job.public void startOfSync(Synchronizer s)
startOfSync
in interface SynchronizerListener
org.jSyncManager.API.Threads.SynchronizerListener
s
- a reference to the Synchronizer that has started a sync job.public void startServer()
public java.lang.Boolean stopServer(java.lang.String password) throws java.lang.Exception
the
- remote administration password.java.rmi.RemoteException
- Any exception thrown while processing the request.public boolean useTimeSync(Synchronizer s)
useTimeSync
in interface SynchronizerListener
org.jSyncManager.API.Threads.SynchronizerListener
s
- a reference to the Synchronizer that has completed a sync job.public boolean validateUser(int userID, Synchronizer s)
validateUser
in interface SynchronizerListener
org.jSyncManager.API.Threads.SynchronizerListener
userID
- ints
- a reference to the Synchronizer that has completed a sync job.public java.io.File getRestoreDatabasePath()
SynchronizerListener
getRestoreDatabasePath
in interface SynchronizerListener
org.jSyncManager.API.Threads.SynchronizerListener
|
jSyncManager | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |