com.octo.android.robospice.request.listener
Interface SpiceServiceListener

All Known Implementing Classes:
SpiceServiceAdapter, SpiceServiceListenerNotificationService.NotificationSpiceServiceListener

public interface SpiceServiceListener

Defines the behavior of a listener that will be notified of request processing by the SpiceService.

Author:
sni

Nested Class Summary
static class SpiceServiceListener.RequestProcessingContext
           
 
Method Summary
 void onRequestAdded(CachedSpiceRequest<?> request, SpiceServiceListener.RequestProcessingContext requestProcessingContext)
           
 void onRequestAggregated(CachedSpiceRequest<?> request, SpiceServiceListener.RequestProcessingContext requestProcessingContext)
           
 void onRequestCancelled(CachedSpiceRequest<?> request, SpiceServiceListener.RequestProcessingContext requestProcessingContext)
           
 void onRequestFailed(CachedSpiceRequest<?> request, SpiceServiceListener.RequestProcessingContext requestProcessingContext)
           
 void onRequestNotFound(CachedSpiceRequest<?> request, SpiceServiceListener.RequestProcessingContext requestProcessingContext)
           
 void onRequestProcessed(CachedSpiceRequest<?> cachedSpiceRequest, SpiceServiceListener.RequestProcessingContext requestProcessingContext)
           
 void onRequestProgressUpdated(CachedSpiceRequest<?> request, SpiceServiceListener.RequestProcessingContext requestProcessingContext)
           
 void onRequestSucceeded(CachedSpiceRequest<?> request, SpiceServiceListener.RequestProcessingContext requestProcessingContext)
           
 void onServiceStopped()
           
 

Method Detail

onRequestSucceeded

void onRequestSucceeded(CachedSpiceRequest<?> request,
                        SpiceServiceListener.RequestProcessingContext requestProcessingContext)

onRequestFailed

void onRequestFailed(CachedSpiceRequest<?> request,
                     SpiceServiceListener.RequestProcessingContext requestProcessingContext)

onRequestCancelled

void onRequestCancelled(CachedSpiceRequest<?> request,
                        SpiceServiceListener.RequestProcessingContext requestProcessingContext)

onRequestProgressUpdated

void onRequestProgressUpdated(CachedSpiceRequest<?> request,
                              SpiceServiceListener.RequestProcessingContext requestProcessingContext)

onRequestAdded

void onRequestAdded(CachedSpiceRequest<?> request,
                    SpiceServiceListener.RequestProcessingContext requestProcessingContext)

onRequestAggregated

void onRequestAggregated(CachedSpiceRequest<?> request,
                         SpiceServiceListener.RequestProcessingContext requestProcessingContext)

onRequestNotFound

void onRequestNotFound(CachedSpiceRequest<?> request,
                       SpiceServiceListener.RequestProcessingContext requestProcessingContext)

onRequestProcessed

void onRequestProcessed(CachedSpiceRequest<?> cachedSpiceRequest,
                        SpiceServiceListener.RequestProcessingContext requestProcessingContext)

onServiceStopped

void onServiceStopped()


Copyright © 2012-2014. All Rights Reserved.