|
TrueUpdate Agent Specification 0.7 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectnet.java.trueupdate.agent.spec.UpdateAgentListener
public class UpdateAgentListener
Listens to events from the update agent.
| Constructor Summary | |
|---|---|
UpdateAgentListener()
|
|
| Method Summary | |
|---|---|
protected void |
log(LogRecord record)
Logs the given record. |
protected void |
log(UpdateAgentEvent event)
Logs the enclosed log records in the given event. |
void |
onInstallationFailureResponse(UpdateAgentEvent event)
Processes an installation failure response. |
void |
onInstallationSuccessResponse(UpdateAgentEvent event)
Processes an installation success response. |
void |
onProgressNotice(UpdateAgentEvent event)
Processes a progress notice. |
void |
onRedeploymentRequest(UpdateAgentEvent event)
Responds to a redeployment request. |
void |
onSubscriptionResponse(UpdateAgentEvent event)
Processes a subscription response. |
void |
onUpdateNotice(UpdateAgentEvent event)
Responds to an update available notice. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UpdateAgentListener()
| Method Detail |
|---|
protected void log(LogRecord record)
UpdateAgentListener does nothing.
Override this method in order to notify the user about the update
progress.
This method must return quickly or otherwise a timeout may occur which would cause the update transaction to roll back!
protected void log(UpdateAgentEvent event)
log(LogRecord) for each
enclosed log record.
This method must return quickly or otherwise a timeout may occur which would cause the update transaction to roll back!
public void onInstallationFailureResponse(UpdateAgentEvent event)
throws Exception
UpdateAgentListener just logs
any enclosed messages.
Exceptionlog(UpdateAgentEvent)
public void onInstallationSuccessResponse(UpdateAgentEvent event)
throws Exception
The implementation in the class UpdateAgentListener just logs
any enclosed messages.
Exceptionlog(UpdateAgentEvent)
public void onProgressNotice(UpdateAgentEvent event)
throws Exception
The implementation in the class UpdateAgentListener just logs
any enclosed messages.
Exceptionlog(UpdateAgentEvent)
public void onRedeploymentRequest(UpdateAgentEvent event)
throws Exception
The implementation in the class UpdateAgentListener logs any
enclosed messages and sends a
positive response.
Exceptionlog(UpdateAgentEvent)
public void onSubscriptionResponse(UpdateAgentEvent event)
throws Exception
The implementation in the class UpdateAgentListener just logs
any enclosed messages.
Exceptionlog(UpdateAgentEvent)
public void onUpdateNotice(UpdateAgentEvent event)
throws Exception
The implementation in the class UpdateAgentListener logs any
enclosed messages and sends an
installation request.
Exceptionlog(UpdateAgentEvent)
|
TrueUpdate Agent Specification 0.7 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||