jSyncManager

org.jSyncManager.Conduit.TestConduit
Class TestConduit

java.lang.Object
  extended byorg.jSyncManager.API.Conduit.AbstractConduit
      extended byorg.jSyncManager.Conduit.TestConduit.TestConduit
All Implemented Interfaces:
java.io.Serializable

public class TestConduit
extends AbstractConduit

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jSyncManager.API.Conduit.AbstractConduit
CANCEL_BUTTON_PRESSED, configurationPanel, HELP_BUTTON_PRESSED, HIGH_PRIORITY, LOW_PRIORITY, NORMAL_PRIORITY, OK_BUTTON_PRESSED, resources
 
Constructor Summary
TestConduit()
           
 
Method Summary
protected  javax.swing.JPanel constructConfigPanel()
          Constructs a configuration panel for this jConduit.
protected  java.lang.String getResourceBundleName()
          Retrieves the name of the class to use as the Conduits Resource Bundle.
 void startSync(ConduitHandler conduitHandler, DLPUserInfo user)
          This method is called when this jConduit is given the opportunity to synchronize.
 
Methods inherited from class org.jSyncManager.API.Conduit.AbstractConduit
doInitialization, getConduitDescription, getConduitName, getConduitResourceBundle, getConfigurationPanel, getPriority, initialize, jConduitDialogActionPerformed, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestConduit

public TestConduit()
Method Detail

constructConfigPanel

protected javax.swing.JPanel constructConfigPanel()
Description copied from class: AbstractConduit
Constructs a configuration panel for this jConduit. If your jConduit requires user supplied configuration information, you may construct a JPanel here to be associated with your jConduit, which GUI applications can use to display to the user prior to synchronization. How this panel is accessed will be application specific. You may return null here to signify that no setting panel is required.

Specified by:
constructConfigPanel in class AbstractConduit
Returns:
a JPanel containing whatever configuration widgets your jConduit requires.

getResourceBundleName

protected java.lang.String getResourceBundleName()
Description copied from class: AbstractConduit
Retrieves the name of the class to use as the Conduits Resource Bundle. This method should return a String containing the fully-qualified classname of the class to use for this jConduits textual resources. You may return null from this method, however if you do so you're expected to override the getConduitName and getConduitDescription methods to return suitable data. We suggest using Resource Bundles to ensure that your jConduits can be translated to other languages.

Specified by:
getResourceBundleName in class AbstractConduit
Returns:
the fully-qualified classname of the class to use as this jConduits resource bundle.

startSync

public void startSync(ConduitHandler conduitHandler,
                      DLPUserInfo user)
Description copied from class: AbstractConduit
This method is called when this jConduit is given the opportunity to synchronize. The contents of this method should use the provided ConduitHandler object to perform any necessary data IO between the host and the handheld. If necessary, you may use the passed DLPUserInfo object to distinguish between users.

Specified by:
startSync in class AbstractConduit
Parameters:
conduitHandler - the handle to the active ConduitHandler to use for synchronization.
user - the user information object for the handhelds owner.

jSyncManager

Copyright (c) 1999 - 2004 Brad BARCLAY and others. All Rights Reserved.