anon.infoservice.update
Class AccountUpdater

java.lang.Object
  extended by anon.util.Updater
      extended by anon.infoservice.update.AccountUpdater
All Implemented Interfaces:
java.util.Observer

public class AccountUpdater
extends Updater


Nested Class Summary
 
Nested classes/interfaces inherited from class anon.util.Updater
Updater.ConstantUpdateInterval, Updater.DynamicUpdateInterval, Updater.IUpdateInterval, Updater.ObservableInfo
 
Field Summary
private  boolean m_bFirstUpdateDone
           
private  boolean m_successfulUpdate
           
 
Constructor Summary
AccountUpdater()
           
 
Method Summary
 java.lang.Class getUpdatedClass()
          getUpdatedClass
 boolean isFirstUpdateDone()
           
protected  void updateInternal()
          Does the update and should tell if it was successful or not.
protected  boolean wasUpdateSuccessful()
          wasUpdateSuccessful
 
Methods inherited from class anon.util.Updater
getObservableInfo, getUpdatedClassName, getUpdateInterval, isUpdatePaused, start, stop, update, update, updateAsync
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_successfulUpdate

private boolean m_successfulUpdate

m_bFirstUpdateDone

private boolean m_bFirstUpdateDone
Constructor Detail

AccountUpdater

public AccountUpdater()
Method Detail

getUpdatedClass

public java.lang.Class getUpdatedClass()
getUpdatedClass

Specified by:
getUpdatedClass in class Updater
Returns:
Class

updateInternal

protected void updateInternal()
Does the update and should tell if it was successful or not.

Specified by:
updateInternal in class Updater

isFirstUpdateDone

public boolean isFirstUpdateDone()
Specified by:
isFirstUpdateDone in class Updater

wasUpdateSuccessful

protected boolean wasUpdateSuccessful()
wasUpdateSuccessful

Specified by:
wasUpdateSuccessful in class Updater
Returns:
boolean