net.java.trueupdate.manager.core
Class BasicUpdateManager
java.lang.Object
net.java.trueupdate.manager.spec.UpdateMessageListener
net.java.trueupdate.manager.core.BasicUpdateManager
@NotThreadSafe
public abstract class BasicUpdateManager
- extends UpdateMessageListener
A basic update manager.
- Author:
- Christian Schlichtherle
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicUpdateManager
public BasicUpdateManager()
checkUpdates
protected void checkUpdates()
throws Exception
- Throws:
Exception
onInstallationRequest
protected void onInstallationRequest(UpdateMessage message)
throws Exception
- Overrides:
onInstallationRequest in class UpdateMessageListener
- Throws:
Exception
onSubscriptionNotice
protected void onSubscriptionNotice(UpdateMessage message)
throws Exception
- Overrides:
onSubscriptionNotice in class UpdateMessageListener
- Throws:
Exception
onSubscriptionRequest
protected void onSubscriptionRequest(UpdateMessage message)
throws Exception
- Overrides:
onSubscriptionRequest in class UpdateMessageListener
- Throws:
Exception
onUnsubscriptionNotice
protected void onUnsubscriptionNotice(UpdateMessage message)
throws Exception
- Overrides:
onUnsubscriptionNotice in class UpdateMessageListener
- Throws:
Exception
onUnsubscriptionRequest
protected void onUnsubscriptionRequest(UpdateMessage message)
throws Exception
- Overrides:
onUnsubscriptionRequest in class UpdateMessageListener
- Throws:
Exception
send
protected abstract UpdateMessage send(UpdateMessage message)
throws Exception
- Sends the given update message.
- Throws:
Exception
shutdown
protected void shutdown()
throws Exception
- Throws:
Exception
updateClient
protected abstract UpdateClient updateClient()
- Returns the update client.
updateInstaller
protected abstract UpdateInstaller updateInstaller()
- Returns the update installer.
Copyright © 2013 Stimulus Software. All rights reserved.