jSyncManager

org.jSyncManager.Conduit.Alerter
Class Alerter

java.lang.Object
  |
  +--org.jSyncManager.API.Conduit.AbstractConduit
        |
        +--org.jSyncManager.Conduit.Alerter.Alerter
All Implemented Interfaces:
java.io.Serializable

public class Alerter
extends AbstractConduit

This simple jConduit will alert the user when a newer version of the jSyncManager is available for download from our online website.

Version:
$Revision: 1.4 $
Author:
Brad BARCLAY <bbarclay@jsyncmanager.org>
Last modified by: $Author: yaztromo $.
See Also:
Serialized Form

Field Summary
protected static java.lang.String versionInfoURLString
          The URL for the new version information.
 
Fields inherited from class org.jSyncManager.API.Conduit.AbstractConduit
configurationPanel, HIGH_PRIORITY, LOW_PRIORITY, NORMAL_PRIORITY, resources
 
Constructor Summary
Alerter()
          The constructor used to initialize a new Alerter jConduit.
 
Method Summary
protected  javax.swing.JPanel constructConfigPanel()
          Constructs a configuration panel for this jConduit.
 byte getPriority()
          This method returns the jConduits priority byte.
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
getConduitDescription, getConduitName, getConduitResourceBundle, getConfigurationPanel, getHandler, setHandler, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

versionInfoURLString

protected static final java.lang.String versionInfoURLString
The URL for the new version information.
Constructor Detail

Alerter

public Alerter()
The constructor used to initialize a new Alerter jConduit.
Method Detail

getResourceBundleName

protected java.lang.String getResourceBundleName()
Retrieves the name of the class to use as the Conduits Resource Bundle.
Overrides:
getResourceBundleName in class AbstractConduit
Returns:
the fully-qualified classname of the class to use as this jConduits resource bundle.

getPriority

public byte getPriority()
This method returns the jConduits priority byte. This jConduit is set to the max, so that alerting the user to a new version is the first thing to occur.
Overrides:
getPriority in class AbstractConduit
Returns:
the jConduits priority ordering byte of 127.

startSync

public void startSync(ConduitHandler conduitHandler,
                      DLPUserInfo user)
               throws NotConnectedException
This method is called when this jConduit is given the opportunity to synchronize.
Overrides:
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.
Throws:
NotConnectedException - thrown if the connection to the Palm is lost during sync.

constructConfigPanel

protected javax.swing.JPanel constructConfigPanel()
Constructs a configuration panel for this jConduit.
Overrides:
constructConfigPanel in class AbstractConduit
Returns:
a JPanel containing whatever configuration widgets this jConduit requires.

jSyncManager

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