net.java.trueupdate.manager.spec
Class UpdateMessageListener
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UpdateMessageListener
public UpdateMessageListener()
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
Copyright © 2013 Stimulus Software. All rights reserved.