com.ibm.manplato.Conduit
Class AboutConduit

java.lang.Object
  |
  +--com.ibm.manplato.Conduit.Conduit
        |
        +--com.ibm.manplato.Conduit.AboutConduit
All Implemented Interfaces:
java.io.Serializable

public class AboutConduit
extends Conduit

Version:
$Rev$-$Date: 2001/07/20 15:49:50 $$State: Exp $
Author:
File Created By: David Schmidt <schmidtd@us.ibm.com>, Last Modified By: $Author: Yaztromo $
See Also:
Serialized Form

Constructor Summary
AboutConduit()
           
 
Method Summary
 javax.swing.JPanel getConfigPanel()
          Gets a handle to this Conduits configuration panel.
protected  java.lang.String getResourceBundleClassName()
          Gets the fully-qualified classname for this conduits ResourceBundle class.
 byte getSyncPriorityLevel()
          Returns this conduits desired sync priority level.
 void startSync(ConduitHandler conduitHndlr, DLPUserInfo userInfo)
          This method is called when this Conduit is given the opportunity to synchronize.
 
Methods inherited from class com.ibm.manplato.Conduit.Conduit
getConduitName, getDescriptiveText, getResourceBundle, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AboutConduit

public AboutConduit()
Method Detail

getConfigPanel

public javax.swing.JPanel getConfigPanel()
Gets a handle to this Conduits configuration panel. In the GUI ManplatoSync applications, this method will be called at Conduit initialization to get a handle to a Conduit-supplied configuration JPanel, which will be added to the ManplatoSync Tabbed viewpane. This method is not used in non-GUI ManplatoSync applications. By default, this method returns null. When thi GUI client receives a null handle, it will put together a basic page with information on this Conduit. Override and implement this method to create a JPanel with any configuration widgets you wish to use. It is up to you to provide your own event handlers to manage the widgets inside the JPanel.
Overrides:
getConfigPanel in class Conduit
Returns:
a handle to a fully initialized JPanel.

getResourceBundleClassName

protected java.lang.String getResourceBundleClassName()
Gets the fully-qualified classname for this conduits ResourceBundle class. This method is used by the getResourceBundle() class. Note that if you provide a null implementation for this method, you should override the default implementations for getConduitName and getDescriptiveText, to prevent them from returning null.
Overrides:
getResourceBundleClassName in class Conduit
Returns:
a String containing the package and classname for this Conduits resources.
See Also:
getConduitName, getDescriptiveText

getSyncPriorityLevel

public byte getSyncPriorityLevel()
Returns this conduits desired sync priority level. The value returned by this method may be used by some ManplatoSync clients to determine the order in which conduits are given the opportunity to sync with the handheld unit. The return value is as a signed byte. Conduits that return +127 will sync first, while conduits that return -128 will sync last. The default priority level is 0. This method should only be overridden if a conduit must absolutely run first, last, or if a set of conduits should always run in a specific order.
Overrides:
getSyncPriorityLevel in class Conduit
Returns:
the priority level this conduit wishes to employ.

startSync

public void startSync(ConduitHandler conduitHndlr,
                      DLPUserInfo userInfo)
               throws NotConnectedException
This method is called when this Conduit is given the opportunity to synchronize.
Overrides:
startSync in class Conduit
Parameters:
conduitHndlr - he handle to the active ConduitHandler to use for synchronization.
userInfo - the DLPUserInfo object for the user currently being synchronized.
Throws:
NotConnectedException - thrown if the connection to the Palm is lost.
See Also:
ConduitHandler, DLPUserInfo