TrueUpdate Manager Specification 0.1.6

net.java.trueupdate.manager.spec
Class UpdateMessageListener

java.lang.Object
  extended by net.java.trueupdate.manager.spec.UpdateMessageListener

@Immutable
public class UpdateMessageListener
extends Object

An update message listener which filters and dispatches the update messages to its protected stub methods.

Author:
Christian Schlichtherle

Constructor Summary
UpdateMessageListener()
           
 
Method Summary
protected  UpdateMessageFilter filter()
          Returns the filter to use before dispatching an update message.
protected  void onInstallationFailureResponse(UpdateMessage message)
           
protected  void onInstallationRequest(UpdateMessage message)
           
protected  void onInstallationSuccessResponse(UpdateMessage message)
           
protected  void onSubscriptionFailureResponse(UpdateMessage message)
           
protected  void onSubscriptionNotice(UpdateMessage message)
           
protected  void onSubscriptionRequest(UpdateMessage message)
           
protected  void onSubscriptionSuccessResponse(UpdateMessage message)
           
protected  void onUnsubscriptionFailureResponse(UpdateMessage message)
           
protected  void onUnsubscriptionNotice(UpdateMessage message)
           
protected  void onUnsubscriptionRequest(UpdateMessage message)
           
protected  void onUnsubscriptionSuccessResponse(UpdateMessage message)
           
 void onUpdateMessage(UpdateMessage message)
          Filters the given update message and dispatches the call to the corresponding visit<Type>(UpdateMessage) method, where <Type> is the UpdateMessage.Type obtained from calling the UpdateMessage.type() method.
protected  void onUpdateNotice(UpdateMessage message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateMessageListener

public UpdateMessageListener()
Method Detail

filter

protected UpdateMessageFilter filter()
Returns the filter to use before dispatching an update message.


onInstallationFailureResponse

protected void onInstallationFailureResponse(UpdateMessage message)
                                      throws Exception
Throws:
Exception

onInstallationRequest

protected void onInstallationRequest(UpdateMessage message)
                              throws Exception
Throws:
Exception

onInstallationSuccessResponse

protected void onInstallationSuccessResponse(UpdateMessage message)
                                      throws Exception
Throws:
Exception

onSubscriptionFailureResponse

protected void onSubscriptionFailureResponse(UpdateMessage message)
                                      throws Exception
Throws:
Exception

onSubscriptionNotice

protected void onSubscriptionNotice(UpdateMessage message)
                             throws Exception
Throws:
Exception

onSubscriptionRequest

protected void onSubscriptionRequest(UpdateMessage message)
                              throws Exception
Throws:
Exception

onSubscriptionSuccessResponse

protected void onSubscriptionSuccessResponse(UpdateMessage message)
                                      throws Exception
Throws:
Exception

onUnsubscriptionFailureResponse

protected void onUnsubscriptionFailureResponse(UpdateMessage message)
                                        throws Exception
Throws:
Exception

onUnsubscriptionNotice

protected void onUnsubscriptionNotice(UpdateMessage message)
                               throws Exception
Throws:
Exception

onUnsubscriptionRequest

protected void onUnsubscriptionRequest(UpdateMessage message)
                                throws Exception
Throws:
Exception

onUnsubscriptionSuccessResponse

protected void onUnsubscriptionSuccessResponse(UpdateMessage message)
                                        throws Exception
Throws:
Exception

onUpdateMessage

public void onUpdateMessage(UpdateMessage message)
                     throws Exception
Filters the given update message and dispatches the call to the corresponding visit<Type>(UpdateMessage) method, where <Type> is the UpdateMessage.Type obtained from calling the UpdateMessage.type() method.

Throws:
Exception

onUpdateNotice

protected void onUpdateNotice(UpdateMessage message)
                       throws Exception
Throws:
Exception

TrueUpdate Manager Specification 0.1.6

Copyright © 2013 Stimulus Software. All rights reserved.